- Replaced 'bg-theme-modal-background-opaque' with 'bg-theme-background' in various error fallback components for consistency.
- Updated hover background classes from 'bg-theme-button-hover' to 'bg-material-ultra-thick' in multiple UI elements.
- Removed the 'modalOpaque' setting from UI settings for cleaner configuration.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the Select component styles for improved consistency and usability, including adjustments to padding and border properties.
- Refined the MarkdownLink component by removing unnecessary background classes for a cleaner appearance.
- Enhanced the MagneticHoverEffect component with a more descriptive class for backdrop blur.
- Introduced a Divider component in the SelectSeparator for better visual separation.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of 'bg-theme-placeholder-image' with 'bg-material-ultra-thick' for improved consistency in styling.
- Updated text placeholder colors from 'text-theme-placeholder-text' to 'text-text-tertiary' in various components.
- Enhanced visual coherence and alignment with the new color scheme throughout the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of 'text-foreground' with 'text-text' for improved consistency in styling.
- Adjusted various components including MarkdownLink, AchievementModalContent, and others to align with the new color scheme.
- Enhanced readability and visual coherence throughout the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `tailwindcss-multi` dependency to enhance Tailwind CSS capabilities.
- Updated `tailwind.config.ts` to include `tailwindcss-multi` plugin for improved utility management.
- Refactored various UI components to utilize new styling options and improve layout consistency.
- Renamed `useAsRead` hook to `useEntryIsRead` for better clarity in its purpose across multiple components.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed the spring.ts file and replaced direct imports with centralized Spring presets in various components.
- Updated transition properties in multiple files to utilize the new Spring module for consistency and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored the formatDateString function in the RelativeDay component to use useCallback for better performance.
- Updated the import path for getUpdateInterval to point to utils.js for consistency.
- Cleaned up the useEffect dependencies to ensure proper updates and prevent unnecessary re-renders.
- Commented out unused code in GuideModalContent to streamline the user guide presentation.
These changes enhance the maintainability and performance of the datetime component and improve the overall user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the Markdown component to accept an `applyMiddleware` prop for custom processing.
- Modified the `parseMarkdown` function to utilize the new middleware feature, allowing for additional processing steps.
- Adjusted related components to ensure compatibility with the new middleware functionality.
These changes improve the flexibility and extensibility of the Markdown rendering process.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of APP_NAME with the new Folo icon in PoweredByFooter, FeedColumnMobile, LoginModalContent, SettingModalLayout, TimelineColumnHeader, and Layout components.
- Added Folo icon component to the project.
- Updated localization to include a new entry for copying the logo text SVG.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated EntryTitle styling to improve hover effects and visual feedback.
- Modified MagneticHoverEffect to calculate hover origin dynamically, enhancing interaction responsiveness.
These changes improve user engagement and visual appeal across the affected components.
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- 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(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>
- Added functionality to handle combination keys (e.g., "Meta+B") in the simulateKeyPress function.
- Expanded keyCodes mapping to include additional keys such as brackets, backslash, and punctuation.
- Improved event creation for both single and combination key presses, ensuring accurate key event simulation.
This update enhances the keyboard interaction capabilities within the UI components.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated TextField to ensure full width and flex behavior.
- Optimized MarkdownWeb to memoize parsed content for better performance.
- Adjusted Markdown rendering in rsshub-form and DiscoverFeedForm to fix directive formatting.
- Enhanced ModalError to allow text selection in error stack trace.
- Minor adjustments in parse-markdown utility for directive handling.
These changes enhance the user interface and improve performance in Markdown rendering.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `@microflash/remark-callout-directives` to `package.json` and `pnpm-lock.yaml`.
- Updated `MarkdownWeb` component to utilize a new markdown parsing utility.
- Removed unused imports related to `remark-gh-alerts` and refactored markdown parsing logic.
- Enhanced `parse-markdown` function to integrate with the new utility and support custom components.
This update improves markdown rendering capabilities and streamlines the codebase.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed unused imports and simplified the use of commands in `useEntryActions`.
- Updated `EntryItemWrapper`, `HeaderActions`, and `MoreActions` components to utilize `CommandActionButton` for better command handling.
- Introduced `CommandDropdownMenuItem` for consistent command representation in dropdowns.
- Enhanced readability and maintainability by reducing redundant code and improving type safety.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new setting to automatically expand long social media entries.
- Removed the ReactVirtuosoItemPlaceholder component, replacing it with null returns for better handling of empty entries.
- Updated relevant settings files and translations for the new feature.
Signed-off-by: Innei <tukon479@gmail.com>