- Replaced standard anchor tags with MagneticHoverEffect for enhanced visual feedback on hover.
- Removed custom mouse event handlers from EntryTitle, simplifying the component's code while maintaining hover effects.
These changes improve user interaction and visual appeal across the affected components.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated `shouldShowMeta` logic in EntryHeader to simplify visibility conditions.
- Enhanced EntryTitle with mouse interaction effects for a more dynamic user experience.
- Added hover and movement effects to the title link for better engagement.
These changes improve the overall usability and visual feedback of the components.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `omitObjectUndefinedValue` utility to EntryTitle.
- Refactored date rendering logic to use `RelativeTime` for better formatting.
- Enhanced layout for title and meta information sections for improved readability and user experience.
These changes streamline the component's structure and enhance visual consistency.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(desktop): update SearchCard layout
* feat(discover): enhance DiscoverForm and SearchCard with animated target selection and preview button
- Replaced RadioGroup with animated button selection for target options in DiscoverForm.
- Added a preview button in SearchCard for sharing feed links, improving user interaction.
- Updated styles for better visual consistency and responsiveness.
These changes enhance the user experience in the Discover section.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
* fix(desktop): masonry layout Slide component sometimes not working
* chore: auto-fix linting and formatting issues
---------
Co-authored-by: wilsonyiyi <20815934+wilsonyiyi@users.noreply.github.com>
- Introduced useInTabScreen hook to determine if the current screen is within a tab.
- Updated SafeNavigationScrollView to conditionally check for scroll to bottom only when in a tab screen.
- Removed unused useViewDidAppear hook from navigation hooks for cleaner code.
These changes improve the functionality of the SafeNavigationScrollView and streamline the navigation hooks.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of NavigationBlurEffectHeader with NavigationBlurEffectHeaderView across multiple screens for consistency in header design.
- Introduced useViewDidAppear hook to manage view appearance events using Jotai for state management.
- Updated About screen to dynamically include commitSha with app version and build ID.
These changes improve the visual consistency of navigation headers and enhance the functionality of screen hooks.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated memoization of child elements in GroupedInsetListCard to depend on the children prop, improving rendering efficiency.
This change enhances performance by ensuring that the component only re-renders when the children change.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed background class from "bg-secondary-system-grouped-background" to "bg-system-background" for consistency.
- Removed opacity modifier from separator background class for a cleaner design.
These updates enhance the visual consistency of the ItemSeparator component.
Signed-off-by: Innei <tukon479@gmail.com>
- Added memoization for child elements in GroupedList to optimize rendering.
- Updated Invitations component to utilize dynamic color for UserAvatar based on theme.
- Refactored color imports for better consistency across components.
These changes enhance performance and visual consistency in the UI components.
Signed-off-by: Innei <tukon479@gmail.com>
- Added number formatting for subscription counts.
- Updated SearchCard layout for better responsiveness and visual appeal.
- Enhanced button styles for improved user interaction.
- Integrated UrlBuilder for sharing feed links.
- Refactored FeedCardMediaThumbnail for better media display and fallback handling.
These changes improve the overall user experience and visual consistency in the Discover section.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated Collapse and CollapseGroup components to utilize Jotai for managing open/closed states.
- Introduced CollapseContext for better state handling across collapse items.
- Enhanced CollapseGroup to support default open states and callback for open state changes.
- Refactored DailyItem and EntryPlaceholderDaily to integrate new Collapse functionality.
- Added EntryContentPlaceholder and its context for managing entry content visibility.
This refactor improves the overall state management and flexibility of the collapse functionality.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(integration): enhance Cubox integration with auto memo mode
- Add Cubox integration with API token support
- Add enableCuboxAutoMemo setting for auto memo mode
- Add i18n translations for Cubox settings
- Support saving selected text as memo when auto memo mode is enabled
* update icon
* update changelog
---------
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
* init messaging
* use expo-notifications plugin
* unread badge
* background fetch
* update
* skip for no user
* cache messaging token
* navigate to entry
* get entry without prefetch
* update channel
* update channel for web and desktop
* remove useless dep
* check user in task
* messaging as hook
* fix condition
* rename
* refactor(mobile): extract language selection
* feat(mobile): enhance onboarding with language selection preferences
* feat(mobile): enhance onboarding with internationalization support
* feat(mobile): add internationalization support for onboarding preferences
* feat(mobile): localize reading preferences in onboarding screen
* feat(mobile): add internationalization support to onboarding completion and interests steps
* feat(mobile): add Japanese, Traditional Chinese, and Hong Kong Chinese localization for onboarding steps
* chore(mobile): better internationalization support
- Added `PeekModalBaseButton` component to standardize button actions within modals, enhancing reusability and consistency.
- Refactored `FixedModalCloseButton` to utilize `PeekModalBaseButton`, simplifying the close button implementation.
- Updated `PeekModal` to support customizable right actions using `PeekModalBaseButton`, allowing for dynamic button rendering.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced `NavigationBlurEffectHeaderView` for improved header rendering in various settings screens.
- Updated `SafeNavigationScrollView` to accept a `Header` prop for better layout flexibility.
- Refactored existing screens to utilize the new header component, enhancing consistency across the app.
- Adjusted styles for header text to improve visual hierarchy.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed `usePrefetchEntryTranslation` calls from `EntryGridFooter`, `EntryNormalItem`, and `EntrySocialItem` components to optimize performance and reduce unnecessary data fetching.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored HelperModule to include new async functions for scrolling and image handling.
- Removed ProfileViewModule and associated UI components to streamline the codebase.
- Updated expo-module.config.json to reflect the removal of ProfileViewModule.
- Improved SafeNavigationScrollView and TimelineSelectorList to utilize new scroll handling features.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the settings change event to include a structured payload for better data management.
- Refactored the persist and load methods in the SettingSyncQueue to utilize a key-value storage system instead of localStorage.
- Added logging for remote settings in development mode to aid in debugging.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated general and UI settings to utilize shared default settings from the new shared package.
- Introduced a new sync queue for managing local and remote settings synchronization.
- Removed outdated settings interfaces that are now integrated into the shared package.
- Enhanced event handling for setting changes to improve responsiveness and data consistency.
Signed-off-by: Innei <tukon479@gmail.com>