- Refactored WebViewManager to improve lifecycle management and state handling.
- Introduced a debug panel for monitoring WebView state and actions in development mode.
- Updated JavaScript injection methods to use a centralized dispatch system for better maintainability.
- Improved handling of local HTML loading and state replay after process termination.
- Added new functions for debugging, including state retrieval and flushing pending scripts.
This update aims to enhance the overall performance and usability of the WebView component, providing developers with better tools for debugging and state management.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the GlassButton component to allow optional onClick handler and improved hover shadow effects for better user feedback.
- Replaced Accordion with CollapseCss in AIReasoningPart for a more streamlined display of reasoning content, enhancing the user experience during streaming.
- Modified AIChatContextBar button styles for consistency with the new material design, improving visual coherence across the application.
- Introduced a new ChatPageHeader component to encapsulate chat header functionalities, enhancing code organization and maintainability.
These changes collectively improve the UI/UX of the AI chat interface, providing clearer interactions and a more cohesive design.
Signed-off-by: Innei <tukon479@gmail.com>
- Deleted the `@follow/legal` package and its associated files, including privacy and terms of service documents.
- Updated various components to remove dependencies on the legal package, replacing modal presentations with direct links to external privacy and terms pages.
- Adjusted configuration files and routes to reflect the removal of legal utilities, ensuring a cleaner codebase.
These changes streamline the project by eliminating unnecessary dependencies and improving the user experience with direct access to legal documents.
Signed-off-by: Innei <tukon479@gmail.com>
- Add AI chat welcome screen with entry summary integration
- Implement EntrySummaryCard component for main entry context
- Add smart quick actions for entry-based AI interactions
- Remove AI summary from entry content layouts (ArticleLayout, EntryContent.legacy)
- Add localization support for AI chat features (en, ja, zh-CN)
- Clean up mobile AI summary module
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* init
Signed-off-by: Innei <tukon479@gmail.com>
* feat(ai-chat): enhance file handling with category-based icon retrieval
- Introduced `getFileCategoryFromMimeType` function to categorize file types based on MIME type, improving the clarity of file handling in the AI chat interface.
- Updated `FileAttachmentBlock` and `AIChatContextBar` components to utilize the new categorization function for determining file icons, streamlining the code and enhancing maintainability.
- Removed redundant MIME type checks, simplifying the logic for icon assignment.
These changes improve the user experience by ensuring accurate file representation and reduce code complexity.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: preview image
* Update avatar upload to use followApi and bump deps
* feat: Refactor AI chat context blocks and file upload handling
- Introduced new components for rendering AI chat context blocks, including AIDataBlockItem and AIDataBlockPart.
- Enhanced file attachment handling by updating the structure of AIChatContextBlock to separate file attachments from other block types.
- Implemented a new file upload hook (useFileUpload) to manage file uploads with progress tracking and toast notifications.
- Added UploadProgress and CircularProgress components for visual feedback during file uploads.
- Improved file processing logic to simulate realistic upload progress and handle errors more effectively.
- Updated existing components to utilize the new block structure and file upload logic.
- Created utility functions for managing block styles, icons, and labels for better code organization.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: Enhance chat message rendering with Suspense and add ThinkingIndicator component
Signed-off-by: Innei <tukon479@gmail.com>
* fix: Remove error check for message metadata in AIChatMessage component
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
* refactor: upgrade FlashList to v2
* chore: upgrade @shopify/flash-list to v2.0.0
* chore: update packageManager version to pnpm@10.14.0
* fix: revert packageManager version to pnpm@10.12.1
* chore: update ref type for TimelineSelectorMasonryList component
- Updated nbump version from 2.1.3 to 2.1.5 in pnpm-lock.yaml, package.json for desktop, mobile, and readability packages.
- Updated zx version from 8.6.1 to 8.7.2 in pnpm-lock.yaml.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced `useDifferentFontSizeForContent` and `mobileContentFontSize` settings in UISettings.
- Updated Appearance screen to allow users to toggle and select content-specific font sizes.
- Added localization for new settings in English, Japanese, Simplified Chinese, and Traditional Chinese.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a new changelog CLI tool that analyzes git commits and generates user-friendly changelog entries.
- Integrated OpenAI for AI-powered commit analysis and categorization.
- Configurable AI model settings and support for custom endpoints.
- Introduced a configuration file for internal team members and commit analysis categories.
- Implemented fallback support for keyword-based analysis if AI is unavailable.
- Updated package.json and README with usage instructions and examples.
Signed-off-by: Innei <tukon479@gmail.com>