* feat(mobile): translation for settings
* general
* appearance
* data control
* account
* invitation
* about
* privacy
* list
* actions
* update action
* update list and common words
* settings
- Updated OTPWindow to include an onDismiss prop for better modal management.
- Improved animation handling using Animated API for smoother transitions.
- Refactored state management to control UI visibility and component rendering more effectively.
- Integrated FullWindowOverlay for a consistent modal presentation.
These changes enhance the user experience during two-factor authentication by providing a more responsive and visually appealing modal interface.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated OTPWindow component to accept a generic verification function and handle success callbacks more flexibly.
- Refactored useTOTPModalWrapper to utilize the new OTPWindow for improved modal presentation and verification handling.
- Enhanced the animation settings for the modal to maintain consistency in user experience.
These changes streamline the two-factor authentication process and improve the overall usability of the OTP modal.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a new function to validate authentication codes in the auth module.
- Updated the useTOTPModalWrapper to include a dismiss option for better modal management.
- Integrated the TOTP modal wrapper into the invitation confirmation dialog for improved user experience.
- Refactored the Invitations screen to utilize the updated TOTP modal handling.
These changes improve the security and usability of the invitation process by ensuring proper two-factor authentication handling.
Signed-off-by: Innei <tukon479@gmail.com>
- Added HeaderSubmitTextButton for improved button functionality in headers.
- Updated various screens to utilize HeaderSubmitTextButton instead of HeaderSubmitButton for better consistency.
- Refactored header components to include new hooks and improve layout handling.
- Enhanced styling of FakeNativeHeaderTitle for better visual hierarchy.
These changes enhance the user interface and provide a more consistent experience across the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced the user avatar icon in the UserAvatar component for better visual consistency.
- Added a new GroupedInsetActivityIndicatorCell to display a loading indicator while fetching invitations.
- Updated the Invitations screen to handle loading states and improved error handling with toast notifications.
- Refactored invitation data fetching to ensure proper data structure and loading management.
These changes improve user experience by providing feedback during data loading and enhancing error visibility.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced the Invitations screen to manage invitation codes and display user invitations.
- Added ServerConfigsProvider to fetch and manage server configuration data.
- Updated GroupedInformationCell to include children prop for better flexibility.
- Integrated new LoveCuteFiIcon for visual representation in the settings and invitations.
- Updated package.json and pnpm-lock.yaml to include new dependencies and workspace links.
These changes enhance the mobile app's functionality and user experience by allowing users to manage invitations effectively.
Signed-off-by: Innei <tukon479@gmail.com>
- Added EventBus integration to handle timeline selection in `atoms.ts` and `PageList.tsx`.
- Updated `selectTimeline` function to dispatch events for better state management.
- Specified `react-native` as a peer dependency in `package.json` to ensure compatibility.
- Updated `pnpm-lock.yaml` to reflect the new version of `react-native`.
These changes enhance the responsiveness of the UI and improve the overall architecture of the event handling system.
- Updated `Pager.tsx` to use `Pressable` for better interaction handling.
- Modified `EnhancePagerController.swift` to manage content views more effectively.
- Enhanced `EnhancePagerViewModule.swift` to support gesture recognition for smoother transitions.
- Refactored `usePagerView.ts` to utilize animated values for page transitions.
These changes improve user experience and interaction within the pager component.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `react-native-uikit-colors` dependency to the mobile example.
- Updated `App.tsx` to utilize `useCurrentColorsVariants` for dynamic theming.
- Modified `summary.tsx` to improve animated content display and height management.
- Enhanced `hooks.ts` to set a longer stale time for summary data.
- Refactored `store.ts` to manage pending summary generation promises more effectively.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed stack presentation for the OnboardingScreen to "fullScreenModal".
- Wrapped StepInterests and StepPreferences components in OnboardingSectionScreenContainer for consistent layout.
- Replaced View with Animated.View in OnboardingScreen for improved animations during transitions.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor: translate on server
* refactor: remove summary and translation action
* enable summary and translation from settings
* remove translate and summary from action
* follow setting
* ignore whitespace change
* correct content translation for social item
* update
* update
* fix content
* global setting for summary on mobile
* translation store
* show and cache translation
* update migrate sql
* token header for social sign in
* remove readabilityContent in web view
* ci debug
* check repository
* ci check condition
* fix readability
* show entry content translation
* update
* update
* translation for social item
* Revert "remove translate and summary from action"
This reverts commit c8a195a9b224b308cbcd86a6293ffae03e946a72.
* update text
* support global,once,action summary and translation
* fix condition
* refactor
* refactor: extract use entry translation hook
* update
* rename
* Revert "rename"
This reverts commit 672092f88c04670c7e1017aaf8b9caa6499f1877.
* update
* update
* fix
* translation header action
* unsave prompt
* chore: auto-fix linting and formatting issues
* connect and row
* prompt on mobile before leave
* update
* follow action setting
* hide button when follow action
* update changelog
- Removed SafeModalScrollView component and replaced it with SafeNavigationScrollView in various files including FollowList, EditCondition, EditRewriteRules, EditWebhooks, and EditEmail screens.
- Updated import statements accordingly to reflect the changes.
This change enhances consistency in the navigation handling across the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed unnecessary FullWindowOverlay from App component.
- Introduced sitemap registration in main.tsx for better navigation management.
- Updated NoLoginInfo component to use Pressable for navigation to LoginScreen.
- Added DropdownMenu for environment profile selection in DebugButton.
- Created new sitemap.tsx file to manage navigation components.
This refactor improves code organization and enhances user experience in navigation.
Signed-off-by: Innei <tukon479@gmail.com>
- Added new properties to ScreenOptionsContext for customizable header areas.
- Implemented resolveScreenOptions function to manage header configurations based on context options.
- Updated WrappedScreenItem to utilize new header area components for improved layout.
- Refactored EntryNormalItem to use SquareImage for better image handling.
- Introduced loading state for images to enhance user experience.
Signed-off-by: Innei <tukon479@gmail.com>
* fix(mobile): add active prop to fix scroll to top in subscription tab
* refactor(mobile): convert SafeNavigationScrollView to forwardRef for improved ref handling
* fix: types
- Added a touchHighlight prop to ItemPressable to control the highlight effect on press.
- Implemented animated background color change using react-native-reanimated for a smoother user experience.
- Updated EntryNormalItem and EntrySocialItem to disable touchHighlight, ensuring consistent behavior across different item types.
These changes improve the interactivity and visual feedback of pressable items in the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>
- Added new constants for GROUPED_SECTION_TOP_MARGIN and GROUPED_SECTION_BOTTOM_MARGIN to standardize spacing in grouped list components.
- Updated GroupedList and related components to utilize the new margin constants, ensuring consistent layout across various screens.
- Refactored multiple settings routes to remove unnecessary wrapper views, improving layout efficiency and readability.
- Adjusted the About, Account, and other settings screens to enhance visual consistency and user experience.
These changes improve the overall layout and responsiveness of grouped list components in the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>
- Imported ListScreen for navigation within the Lists module.
- Updated AddListButton to present ListScreen on press.
- Modified ListItemCellImpl to navigate to ListScreen with the selected list's ID when the edit action is triggered.
- Adjusted GroupedInsetListCard to hide separators for improved layout.
These changes enhance user navigation and interaction within the lists feature of the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated constants for GROUPED_LIST_MARGIN, GROUPED_LIST_ITEM_PADDING, and GROUPED_ICON_TEXT_GAP to utilize PixelRatio for improved responsiveness.
- Refactored GroupedList and related components to apply new margin and padding constants, ensuring consistent spacing across various screen sizes.
- Adjusted styles in multiple subscription items and separators to incorporate the new layout constants, enhancing visual consistency.
These changes improve the overall layout and user experience of grouped list components in the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>