Commit Graph
53 Commits
Author SHA1 Message Date
Stephen Zhou c5edc761bc fix: auto view source content fail, close #4119 2025-07-09 16:32:38 +08:00
Stephen Zhou 796171de0e refactor: useWhoami from user store (#4061)
* refactor: useWhoami from user store

* update

* update

* update

* update

* return all
2025-07-02 21:57:53 +08:00
Innei 35c713a82a fix: update EntryCommandShortcutRegister to include view parameter
- Modified the EntryCommandShortcutRegister component to accept a view parameter of type FeedViewType.
- Updated the EntryContent component to pass the view prop to EntryCommandShortcutRegister.
- Adjusted the StarCommand type definition to require the view parameter.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-26 00:28:53 +08:00
Innei 24113f7f6d fix: entry command shortcut registry, fixed #3970
- Removed the deprecated `components.tsx` file and its associated code.
- Updated imports in `EntryContent.tsx` to reflect new component structure.
- Simplified command binding logic in `EntryHeaderActions` by removing unused hooks.
- Adjusted shortcut handling for command buttons to disable trigger shortcuts globally.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-26 00:12:54 +08:00
Innei f663d06650 chore!: remove web mobile adapter (#3998)
* backup

Signed-off-by: Innei <tukon479@gmail.com>

* remove and cleanup

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: remove unused mobile download page and update layout component to use responsive loading

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-25 02:40:09 +08:00
DIYgod 592769758d chore: format 2025-06-23 18:36:50 +08:00
Innei 6d76d6b558 chore: update dependencies and improve type safety
- Updated various package dependencies across the project, including @sentry/react, @tanstack/react-query, and others to their latest versions for improved performance and security.
- Enhanced type safety in several components by refining type definitions, particularly in motion-related imports.
- Adjusted transition configurations to utilize new presets for smoother animations.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-20 23:32:42 +08:00
lawvs 71dc626996 fix: simplify NoContent component usage in EntryContent 2025-06-18 13:31:22 +08:00
Innei ed752c51e7 refactor(ui): extract shared ui components
- Added `HeaderActionButton` and `HeaderActionGroup` components for improved action handling in the UI.
- Introduced `Media`, `MediaContainerWidthProvider`, and related context components to manage media dimensions and rendering.
- Enhanced markdown rendering components (`BlockImage`, `InlineImage`, `MarkdownLink`) to utilize the new media structure, improving image handling and layout.
- Updated various components to import from the new media structure, ensuring consistency and better organization.

These changes aim to enhance the media handling capabilities and improve the overall user experience in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-17 00:55:53 +08:00
Innei 423f1298c3 refactor(entry-content): handle entry actions, fixed #3841
- Introduced `ApplyEntryActions` component to manage entry actions more effectively.
- Updated `NoContent` component to utilize `useShowSourceContent` for better state management.
- Refactored `EntryContent` to remove unnecessary readability and source content effects, enhancing performance.
- Enhanced `RuleCardToolbar` to include confirmation dialog for rule deletion, improving user experience and preventing accidental deletions.

These changes aim to improve the modularity and usability of the entry content features across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-17 00:38:42 +08:00
Stephen Zhou 53957468c9 refactor(desktop): use summary from store package (#3944) 2025-06-16 16:14:58 +08:00
Innei d6bdcee6a9 fix: hide entry navigation button in no timeline view
- Updated import statement for FeedViewType to use a named import.
- Introduced a new constant, isInHasTimelineView, to determine if the current view supports timeline features.
- Modified rendering logic to conditionally display elements based on the new timeline view check.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 21:55:47 +08:00
Stephen Zhou d3f889a42d refactor(desktop): use translation and readability from shared store (#3902) 2025-06-11 12:36:26 +08:00
Stephen Zhou 784a95cff1 refactor(desktop): use database and store from shared package (#3897) 2025-06-11 11:36:25 +08:00
Stephen Zhou 7235a6d354 fix(desktop): correct content length for readability content 2025-06-06 16:29:34 +08:00
Stephen Zhou 98ef84b8fa fix(desktop): use entry text content length for summary 2025-06-06 16:17:42 +08:00
Innei 397365c508 feat(desktop): implement popover for sharing entries with social media options
- Added a new Popover component to display sharing options for entries.
- Created SharePanel component to handle different sharing actions, including native sharing and copying links.
- Integrated mouse position tracking to position the popover correctly.
- Updated entry action commands to utilize the new sharing functionality.
- Added new icons for social media platforms and updated localization files for share-related texts.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-04 18:57:00 +08:00
Stephen Zhou 80b36b5408 fix(desktop): auto enable readability 2025-06-04 16:41:51 +08:00
Stephen Zhou 939562d678 refactor: force selector for useEntry (#3859) 2025-06-03 17:33:31 +08:00
Stephen Zhou 852fb1d8fa fix(desktop): do not summary for short content 2025-05-29 10:38:34 +08:00
Innei c20350f165 feat: enhance focus management and context menu shortcuts
- Added new focusable presets for timeline and entry render states.
- Introduced a custom hook `useContextMenuActionShortCutTrigger` to manage context menu shortcuts based on focusable states.
- Updated various components to utilize the new focusable presets and context menu shortcuts for improved user interaction.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-27 17:59:21 +08:00
Innei 19479f50a6 feat(desktop): integrate useSmoothScroll hook for enhanced scrolling
- Introduced a new `useSmoothScroll` hook to encapsulate smooth scrolling logic, improving code reusability.
- Updated `EntryScrollArea` to utilize the new hook, replacing the previous inline smooth scroll implementation.
- Exported the `useSmoothScroll` hook from the hooks index for broader accessibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-26 17:10:03 +08:00
Innei 6c73ae53a1 feat(desktop): implement smooth scrolling functionality
- Added a smooth scrolling feature to enhance user experience when navigating through content.
- Replaced the previous spring scroll implementation with a custom smooth scroll function that adapts duration based on scroll distance.
- Updated scroll event handlers to utilize the new smooth scrolling method for both upward and downward scrolling actions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-26 17:04:38 +08:00
DIYgod f2f65545fb feat(desktop): speed up some animations 2025-05-24 11:21:46 +08:00
Innei 62fc0a0cb1 feat: customize shortcuts (#3786)
* refactor: update command categories and labels for consistency

- Replaced existing command categories with more descriptive names such as "Entry Render", "Global", "Integration", "Layout", "List", "Settings", "Timeline", and "Subscription".
- Updated command labels to remove unnecessary prefixes, enhancing clarity and uniformity across the application.
- Adjusted imports to include the new CommandCategory type for better type safety.

This refactor improves the organization and readability of command definitions, contributing to a more intuitive user experience.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* feat: enhance command shortcut customization and recording functionality

- Added a new hotkey scope for recording commands.
- Introduced a mechanism to override command shortcuts using local storage.
- Implemented a key recorder for capturing user-defined shortcuts with validation rules.
- Updated the UI for editing command shortcuts, allowing users to customize their key bindings more intuitively.

This enhancement improves user experience by providing more flexibility in managing command shortcuts.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: enhance command shortcut customization by adding new commands

- Updated the default command shortcut for toggling the timeline column.
- Expanded the set of customizable commands to include various subscription and entry actions, improving user flexibility in managing shortcuts.

This update enhances the customization capabilities for command shortcuts, allowing users to tailor their experience more effectively.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: scope

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add global commands for quick add and toggle corner play

- Introduced new global commands: "Quick Add" and "Toggle Corner Play" with associated keyboard shortcuts.
- Updated command IDs and types to accommodate the new functionalities.
- Enhanced the event bus integration for better command handling.

This update improves user interaction by providing quick access to essential features through keyboard shortcuts.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: remove unused hotkey scope and streamline command bindings

- Deleted the `useSwitchHotkeyScope` hook and its references to simplify the hotkey management.
- Updated command bindings to ensure they function correctly without the removed scope.
- Enhanced the logic for determining when commands should be active based on the current focus and active scopes.

This refactor improves the clarity and efficiency of the command handling system, reducing unnecessary complexity.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add shortcut conflict detection and enhance shortcut customization UI

- Introduced a new hook `useIsShortcutConflict` to check for conflicts between user-defined shortcuts and existing ones.
- Updated the `EditableCommandShortcutItem` component to visually indicate when a shortcut is customized by the user.
- Enhanced the `ShortcutInputWrapper` to display conflict warnings and improve user interaction when editing shortcuts.

This update improves the user experience by allowing users to easily identify and resolve shortcut conflicts, enhancing the overall customization capabilities of command shortcuts.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: update command structure and enhance shortcut descriptions

- Changed the command ID for toggling the timeline column to toggle the subscription column for better clarity.
- Updated command labels to include descriptions for various commands, improving user understanding of their functionalities.
- Enhanced localization files to reflect the new command descriptions, ensuring a consistent user experience across different languages.

This update improves the usability of command shortcuts by providing clearer descriptions and a more intuitive command structure.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: introduce new keyboard shortcuts system

- Added a comprehensive command shortcut system that supports multiple categories including global operations, layout controls, timeline navigation, content rendering, subscription management, and entry actions.
- Users can access and customize key bindings through `Settings` -> `Shortcuts`.

This enhancement improves user efficiency by providing a structured way to manage keyboard shortcuts.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor

Signed-off-by: Innei <tukon479@gmail.com>

* feat: enhance focusable component with presets for improved command handling

- Introduced `FocusablePresets` to encapsulate common focus-related logic, improving code reusability.
- Updated command bindings in various components to utilize the new presets, streamlining the focus management process.
- Enhanced the `Focusable` component to support additional scopes, improving the overall functionality and user experience.

This update simplifies the management of focusable elements and enhances the command handling system.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: enhance Focusable component with asChild prop for improved flexibility

- Updated the Focusable component to support an `asChild` prop, allowing it to render a child element with focusable properties.
- Modified the BizFocusableProps interface to align with the new FocusableProps structure.
- Adjusted usage in the FeedColumn component to utilize the new `asChild` feature, enhancing the component's flexibility.

This change improves the usability of the Focusable component by allowing it to wrap existing elements while maintaining focus management capabilities.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update WindowUnderBlur and FeedColumn components for improved structure and functionality

- Refactored the WindowUnderBlur component to accept a customizable `as` prop, enhancing its flexibility in rendering.
- Updated the FeedColumn component to utilize the new `WindowUnderBlur` structure, allowing it to wrap the Focusable component directly.
- Enhanced the Focusable component's logic to include additional conditions for the SubscriptionList scope, improving focus management.

These changes streamline the component architecture and improve the overall user experience by allowing for more versatile component usage.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update command bindings in SubscriptionList for improved focus management

- Replaced the `isFocus` variable with `inSubscriptionScope` to streamline focus handling in the SubscriptionList component.
- Updated command bindings and hotkey conditions to utilize the new `inSubscriptionScope` logic, enhancing the clarity and functionality of focus management.

These changes improve the overall structure and usability of the SubscriptionList component, ensuring better focus handling within the subscription context.

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-23 21:26:55 +08:00
Innei 15b9813820 fix: toc item overflow and speed up entry transition
- Added EllipsisHorizontalTextWithTooltip for better title display in the Table of Contents.
- Updated scroll handling to dispatch layout focus command.
- Adjusted initial and exit motion variants for smoother animations in entry content.
- Changed transition to a bouncy effect for improved visual feedback.

These changes improve user experience and visual consistency across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-23 12:57:30 +08:00
Innei 70da1ab94b fix(desktop): improve scroll animation handling in EntryContent
- Introduced a reference for scroll animations to manage their lifecycle more effectively.
- Updated the cleanup logic to stop ongoing animations when scrolling actions are triggered.
- Enhanced the scroll behavior by ensuring animations are properly halted before new scroll actions are initiated.

These changes aim to provide a smoother user experience during content transitions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-22 14:16:47 +08:00
Innei 26c64bf040 fix(ux): remove highlight boundary when using mouse
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-22 13:53:43 +08:00
Innei bc0a9358b5 feat: title transform follow the english title case rules
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-21 22:34:37 +08:00
Stephen Zhou 04583a3003 fix(desktop): hide more when limit is not exceeded for entry read history 2025-05-21 09:26:54 +08:00
Innei c4c1b35670 fix: improve scroll behavior and update styles in entry content
- Added a new event listener to handle scroll events, ensuring the "Keep Scrolling" panel visibility is managed correctly.
- Refactored the `FloatPanel` component styles for better visual consistency and alignment with the design system.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 21:58:54 +08:00
Innei b996ef3a22 refactor: update Tailwind configuration and enhance entry navigation
- Removed the conditional hover support in Tailwind configuration.
- Added a safelist for line-clamp classes to improve styling options.
- Refactored navigation logic in `useNavigateEntry` to optimize route handling.
- Enhanced `EntryItemWrapper` to dispatch focus events after navigation.
- Updated `EntryContent` to implement motion animations and improve entry transitions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 16:38:56 +08:00
Innei 81a5186fd0 fix: disable fetch reading history in inbox entry
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 01:00:30 +08:00
Innei a6c9b20d92 refactor: update hotkey registration and enhance entry content structure
- Changed special key mappings from an array to an object for improved clarity.
- Integrated `RootPortal` for `RegisterCommands` to enhance rendering logic.
- Added scroll detection and user interaction feedback in `RegisterCommands`.
- Introduced a floating panel to notify users when scrolled to the bottom.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 00:58:40 +08:00
Innei 243cd37a88 feat: enhance hotkey functionality and command structure
- Added new hotkey scope for sub-layer functionality.
- Introduced `useCommandBinding` hook to streamline command binding.
- Updated command IDs to include focus to entry render functionality.
- Refactored hotkey registration to improve clarity and maintainability.
- Adjusted event handling for better focus management in the global hotkeys provider.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-19 23:11:23 +08:00
Stephen Zhou a9172317b7 fix(desktop): hide actions on header for social media 2025-05-15 17:53:34 +08:00
Innei 13120c7b0d feat(desktop): enhance subscription navigation and shortcuts
- Renamed and updated shortcut configurations from "feeds" to "subscriptions" for better clarity and organization.
- Introduced new commands for navigating to the next and previous subscriptions.
- Implemented keyboard shortcuts for subscription navigation and focused subscription view.
- Updated localization files to reflect changes in shortcut keys and labels.

These enhancements improve user experience by streamlining subscription management and navigation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 14:55:06 +08:00
Innei 7a6d627cb4 fix(desktop): adjust styling for list item and entry header components
- Changed font weight from 'semibold' to 'medium' in ListItem component for better visual consistency.
- Updated icon class in EntryHeader component to ensure proper styling and alignment of elements.

These adjustments improve the overall appearance and readability of the entry components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 13:29:53 +08:00
Stephen Zhou dfde42d348 fix(web): readability support 2025-05-15 10:44:05 +08:00
Innei aff493f38f feat(desktop): integrate AvatarGroup component for enhanced user read history display
- Added AvatarGroup component to encapsulate user avatars in EntryReadHistory for improved layout and interaction.
- Refactored EntryReadHistory to utilize AvatarGroup, simplifying the rendering of user avatars.
- Updated EntryUser component to enhance user profile interaction and tooltip display.

These changes enhance the visual presentation and user experience of the read history feature.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 00:04:29 +08:00
Innei 45f53f2055 fix(desktop): update keyboard shortcuts and CSS for improved functionality
- Added additional key options for scrolling actions and next entry command.
- Updated the command hotkey for focusing on the timeline to include Escape.
- Modified CSS to prevent overflow on the HTML element.

This enhances user experience by providing more flexible keyboard shortcuts and improving layout handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 20:32:16 +08:00
Innei 20049b0150 fix: update language display logic in Shiki code highlighter
- Modified the language display condition to show an empty div for plaintext instead of rendering the language name and icon.
- This change improves the clarity of the code highlighter by avoiding unnecessary elements for plaintext.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 00:46:42 +08:00
Innei 42150751f2 feat: add navigation buttons for entry content with new icons
- Implemented left and right navigation buttons in the entry content component to switch between entries.
- Added SVG icons for left and right navigation.
- Enhanced user interaction with hover effects for better visibility.

This update improves the navigation experience within the entry content, aligning with recent command enhancements.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 00:22:06 +08:00
Innei c2d8ffaa19 feat: support vim keybinding navigation between entry content and timeline
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-13 22:35:26 +08:00
Innei 262a7ce55e feat: enhance command binding and shortcut management
- Introduced `useCommandBinding` to streamline the registration of command hotkeys.
- Added new entry navigation commands for scrolling to the next and previous entries.
- Updated existing components to utilize the new command binding approach, improving consistency and maintainability.
- Refactored shortcut handling to support new entry render commands, enhancing user experience.

This update aims to improve the overall efficiency of command and shortcut management in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-13 21:13:04 +08:00
Innei 1d9507842e feat: enhance shortcut management and command registration
- Introduced new macro functions for shortcut localization, improving the handling of shortcut keys.
- Updated shortcut configurations to utilize the new macro functions, ensuring consistency in key naming.
- Refactored command registration to include new entry navigation commands, enhancing user interaction.
- Improved hotkey management by adding support for new entry scrolling commands.

This update aims to streamline shortcut handling and improve overall user experience in navigation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-12 22:21:20 +08:00
Innei 0345fc216a refactor: update hotkey management and command handling
- Replaced `HotKeyScopeMap` with `HotkeyScope` enum for better type safety and clarity.
- Refactored hotkey scope handling across various components to utilize the new enum.
- Introduced new commands for entry rendering and timeline navigation, enhancing user interaction.
- Improved the use of conditional hotkey scopes for better context awareness.

This refactor aims to streamline hotkey management and improve the overall user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-12 21:13:57 +08:00
Innei e80f8a4dd3 fix(desktop): update responsive styles in EntryContent and ContainerToc components, fixed #3651
- Adjusted max-width breakpoint for EntryContent to improve layout on larger screens.
- Modified visibility and styling of the ContainerToc component for better responsiveness.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 23:01:32 +08:00
Innei efc2e9713b refactor: upgrade react 19 and react native 0.79 (#3661)
* update

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update Babel and Metro configurations

- Added `unstable_transformImportMeta` option to Babel preset for improved JSX handling.
- Disabled `unstable_enablePackageExports` in Metro configuration for better package resolution.

Signed-off-by: Innei <tukon479@gmail.com>

* chore: add react-native-ios-utilities patch and update dependencies

- Introduced a patch for `react-native-ios-utilities` to enhance functionality.
- Updated `expo`, `react-native`, and `react-native-reanimated` versions in the example app for improved compatibility.
- Added `react-native-ios-utilities` to the project dependencies in `package.json`.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* chore: auto-fix linting and formatting issues

* refactor: improve route parameter handling and entry fetching logic

- Updated `useRouteParams` to utilize `useReadonlyRoute` for better state management.
- Enhanced `useEntriesByView` to separate remote and local entry fetching, improving data handling and error management.
- Introduced debouncing for pagination in local entries and added toast notifications for error handling.
- Cleaned up entry ID retrieval to ensure uniqueness and prevent duplicates.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: simplify Masonry component return statement

- Updated the return statement in the Masonry component to use JSX syntax for better readability and consistency.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update import from RootPortalProvider to RootPortalContext

- Changed the import statement in Sheet.tsx to reflect the updated context provider name for better clarity and consistency in the codebase.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update ref types in component props

- Changed ref prop types from React.RefObject to React.Ref for better type compatibility across various components, enhancing overall code consistency and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add Xcode build server configuration and enhance desktop app routing

- Introduced a new configuration file for the Xcode build server to streamline iOS builds.
- Updated Vite configuration to include a new proxy route for sharing functionality.
- Added a new Jotai atom for managing preview state in the application.
- Removed deprecated error fallback component to clean up the codebase.
- Implemented a new render style hook for consistent styling across components.
- Enhanced entry column components with improved error handling and layout adjustments.
- Updated various components to utilize the new render style and improved accessibility.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* fix: ensure plugins array is initialized and update TypeScript configuration

- Initialized the plugins array in the mobile app configuration to prevent potential runtime errors.
- Updated TypeScript configuration to enhance module resolution and improve code organization with clearer path definitions.

Signed-off-by: Innei <tukon479@gmail.com>

* update lint

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update TypeScript types and improve component props

- Added `skipLibCheck` to TypeScript configuration for faster builds.
- Updated prop types in various components to allow for null values in refs, enhancing type safety.
- Refactored several components to ensure better type compatibility and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(mobile): improve layout handling in NavigationHeader component

- Added console logs for debugging right and left widths.
- Adjusted layout structure to ensure proper width handling for header elements.
- Updated loading indicator positioning and visibility logic.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(mobile): update Pager and QRCode components to use forwardRef

- Refactored Pager and QRCode components to directly export as functional components with forwardRef.
- Updated type definitions to improve ref handling and ensure better type safety.
- Simplified component structure for improved readability and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(ui): enhance FAB components with functional component structure and improved type definitions

- Converted FABBase and FABPortable to functional components using FC type for better type safety.
- Updated props to include optional ref handling, enhancing flexibility in usage.
- Simplified component structure for improved readability and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* chore(deps): update react-native-ios-utilities patch and refine TypeScript configuration

- Updated the patch for react-native-ios-utilities in pnpm-lock.yaml to reflect a new hash.
- Enhanced TypeScript configuration in tsconfig.json by adding exclusion for node_modules and formatting paths for better readability.
- Cleaned up the react-native-ios-utilities.patch by removing unused exports from the index file.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-07 16:30:30 +08:00
Cason Kervis 8dee78d51d feat: add support for render Markdown in AI Summary (#3641) 2025-05-06 16:33:50 +08:00