- Updated the version of react-native-uikit-colors from 0.5.2 to 0.6.2 in multiple package.json files.
- Updated the version of tailwindcss-uikit-colors from 0.6.0 to 0.6.2 in relevant package.json files.
- Ensured consistency across the project by aligning dependency versions.
These changes help maintain compatibility and leverage improvements in the updated packages.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed unnecessary requestAnimationFrame handling to simplify the scroll animation process.
- Enhanced the stopping condition for animations to ensure smoother transitions during scrolling.
These changes improve the efficiency and responsiveness of the scrolling behavior.
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- Replaced the use of `useShortcutScope` with `useConditionalHotkeyScope` in the Modal component for improved hotkey handling.
- Updated the `useSwitchHotkeyScope` hook to maintain the current active scopes using `useLayoutEffect`.
- Modified the SubviewLayout to conditionally enable the Escape key hotkey based on the active scope.
These changes streamline hotkey management and enhance user experience across modal and subview interactions.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated EventBus dispatch calls in layout commands to include a highlightBoundary parameter for better focus control.
- Modified EntryItemWrapper to dispatch focus command with highlightBoundary set to false after a timeout.
- Adjusted GlobalHotkeysProvider to dispatch focus commands with highlightBoundary set to true for improved user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Added 'apps/mobile/native/example' to .prettierignore.
- Modified the 'analyze:web' script in package.json to include WEB_BUILD=1 for enhanced build configuration.
- Fixed missing newline at the end of locales/settings/en.json file.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed the zen mode option from the app menu and adjusted the corresponding global shortcut to use `$mod+Shift+Z`.
- Updated the zen mode state management in the settings module to streamline the toggle functionality.
- Enhanced command handling for zen mode, integrating it with the new command structure for better consistency.
- Updated localization files to reflect changes in shortcut labels.
This refactor improves the overall user experience by ensuring a more intuitive shortcut for toggling zen mode.
Signed-off-by: Innei <tukon479@gmail.com>
- Added APP_NAME constant with value "Folo" to global declarations in both desktop and SSR environments.
- Updated type definitions to use Prettify for improved type handling in context menu and component definitions.
- Enhanced the useTitle hook to incorporate APP_NAME in the title template for better context in the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed the `$mod` replacement for `Meta` in shortcut handling to ensure proper cross-platform functionality.
- Introduced new commands for "Open in Browser" and "Open Site in Browser" with corresponding shortcuts.
- Updated the `useFeedActions` and `useListActions` hooks to utilize the new command shortcuts.
- Improved the `transformShortcut` function for better platform-specific shortcut handling.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of `Meta` with `$mod` in shortcut definitions across various components and hooks.
- Introduced new shortcuts for actions like "Open in Browser" and "Mark All as Read".
- Enhanced the `useCommandBinding` hook to support the new shortcut structure.
- Updated UI components to reflect the changes in shortcut keys, ensuring consistency in user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- Introduced `LEGACY_APP_PROTOCOL` to manage legacy protocol support alongside the new `APP_PROTOCOL`.
- Updated various files to utilize the new protocol constants, ensuring compatibility and consistency across the application.
- Enhanced mobile app configuration to support multiple schemes for better flexibility.
Signed-off-by: Innei <tukon479@gmail.com>
- Modified the `Tabs` component to initialize the indicator state with `undefined` for width and position.
- Updated rendering logic in `TabsList` to conditionally apply styles based on the presence of indicator values, improving robustness.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new `hasSettingsChanged` function to streamline the logic for detecting changes in UI and general settings.
- Replaced the previous loop-based checks with a more concise implementation using the new function, improving code readability and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated `RelativeDay` component to utilize user-defined date formats.
- Refactored date formatting logic to improve performance with `useMemo`.
- Adjusted styles in `DateItem` and `ScrollArea` components for better visual consistency.
- Enhanced `SegmentGroup` background styling for improved UI clarity.
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- 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>
- Simplified keyboard shortcuts for switching views and showing shortcuts.
- Enhanced hotkey registration to include special key mappings.
- Updated command hotkeys in various components for consistency.
- Adjusted user guide to reflect new shortcut key for showing shortcuts.
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- Updated UserAvatar component to include text truncation for better name display.
- Adjusted layout in Login component for improved spacing and alignment.
- Replaced heading with paragraph for success message and refined button styles.
Signed-off-by: Innei <tukon479@gmail.com>