- Refactored the URL parsing logic to create a new URL object for better handling of pathname and search parameters.
- Added searchParams to the handler's parameters for improved data accessibility.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the data control settings to include a new export data feature with improved UI elements.
- Refactored the modal dialog to utilize the new `useDialog` hook for confirmation prompts.
- Enhanced localization strings for clarity and consistency in export-related descriptions.
- Added success feedback for cache cleaning actions to improve user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Added descriptions to various appearance settings for improved user understanding.
- Refactored layout to utilize `SettingItemGroup` for better organization and visual clarity.
- Updated the `SettingTabbedSegment` to include an optional description prop.
- Introduced a new `GlobalFontSize` component to manage overall text size settings.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced visual style variants ("ask", "warning", "danger") for the confirmation dialog in the modal component.
- Updated the `ask` method to accept a variant option, allowing for customized icon and button styles based on the selected variant.
- Enhanced the dialog's title rendering to include variant-specific icons for better user experience.
- Updated type definitions to include the new variant option for the dialog instance.
Signed-off-by: Innei <tukon479@gmail.com>
- Added conditional class handling for ThumbnailImage to manage height based on thumbnail ratio.
- Simplified AspectRatioImage structure by removing unnecessary nested View and consolidating Image properties.
- Enhanced readability and maintainability of the code.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced descriptions for various appearance settings to enhance user understanding.
- Adjusted layout widths for better alignment in the General settings.
- Updated localization files to include new descriptions and modified existing ones for clarity.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated various settings components to use title-cased labels for better readability.
- Added descriptions for action-related settings to improve user understanding.
- Adjusted localization strings to reflect new label structures and descriptions.
Signed-off-by: Innei <tukon479@gmail.com>
- Modified the SharePanel component to include entryId in the dependency array of the useCallback hook for improved URL handling.
- Updated localization strings to change "Follow" to "Folo" in both English and Chinese translations for consistency.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored SharePanel to retrieve the share URL directly from the entry data.
- Enhanced UrlBuilder with a new method for generating share URLs that includes view and subscription parameters.
- Updated the shareEntry method to utilize the new structure for better flexibility.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new method in UrlBuilder for generating share URLs for entries.
- Updated SharePanel to utilize the new share URL method for improved clarity and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated entry command labels to include titles and descriptions for better clarity.
- Modified the main actions in the toolbar to reflect the new command structure.
- Improved the DroppableContainer component by removing unnecessary props.
- Added new localization strings for image gallery and view source content actions.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated analytics initialization to append user properties more effectively.
- Changed PostHog configuration to always identify person profiles.
- Introduced methods in TrackerManager for managing user properties, including appending and clearing.
- Improved sign-out process to clear user properties from the tracker.
Signed-off-by: Innei <tukon479@gmail.com>
- Added PostHog as a new tracking adapter for improved analytics.
- Updated the analytics initialization to include PostHog configuration.
- Refactored the tracking manager to support batch processing and error handling.
- Enhanced the existing tracking logic to accommodate new event types and properties.
- Updated environment variables to include PostHog keys for configuration.
- Added new rules and documentation for the tracking system.
Signed-off-by: Innei <tukon479@gmail.com>