Commit Graph

1143 Commits

Author SHA1 Message Date
Innei 73fb321791
chore: bump mobile version for tf
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-28 19:02:39 +08:00
Innei 80d83e30ec
chore: bump mobile version for tf
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-28 18:19:49 +08:00
lawvs c647f11c59 fix(mobile): update injected js on Android 2025-08-27 16:37:40 +08:00
Innei 967922d9c9
chore(mobile): update build number in Info.plist
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-27 00:54:09 +08:00
Innei a9bb77167e
refactor(webview): ios preload webview module
- 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>
2025-08-26 22:20:57 +08:00
Innei b0c4052632
fix(mobile): try to fix ios crash in background
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-26 19:38:12 +08:00
Innei cf7c3e653e
Merge pull request #4374 from RSSNext/sync/main-to-dev-20250824
Sync main branch to dev branch
2025-08-25 16:13:13 +08:00
Innei accb64c181
feat(ai-chat): refactor AI reasoning display and enhance button styles
- 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>
2025-08-24 23:43:44 +08:00
Innei a9d70a9900
refactor(legal): remove legal package and update references
- 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>
2025-08-24 01:46:30 +08:00
Innei 5a5e8adc5b
release(mobile): release v0.2.6 2025-08-21 19:53:27 +08:00
Innei cf8865342a
core: mobile prerelease changelog
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-21 19:53:10 +08:00
Stephen Zhou 7319d23149
fix(mobile): list can not be followed at first time 2025-08-21 12:51:02 +08:00
Stephen Zhou f3b83e6b87
feat(desktop): payment for ai (#4309)
* feat: payment for ai

* update

* update

* remove referral progress

* update

* type

* update
2025-08-20 11:27:49 +08:00
Innei fb0e1cfb4e
Merge pull request #4325 from RSSNext/sync/main-to-dev-20250811
Sync main branch to dev branch
2025-08-19 13:56:19 +08:00
DIYgod f5d7cbceb5
fix: recover summary component 2025-08-16 23:57:31 +08:00
DIYgod 5360378c06
feat(ai-chat): integrate AI summary with chat interface and remove from entry content
- 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>
2025-08-16 23:47:02 +08:00
Innei 9bb974b8fd
feat(ai): support ai attachement (#4316)
* 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>
2025-08-08 16:32:52 +08:00
Innei cb5a2cd114
feat(ai): support customize chat title 2025-08-07 20:57:12 +08:00
Stephen Zhou 2bb4acd36d
chore: update changelog 2025-08-07 17:56:36 +08:00
Whitewater 136dc253d4
chore: update 0.2.5.md 2025-08-07 16:00:17 +08:00
Innei 90d2c62e53
release(mobile): release v0.2.5 2025-08-07 14:44:40 +08:00
Whitewater 3e04dc7291
refactor: upgrade FlashList to v2 (#4298)
* 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
2025-08-03 13:56:39 +08:00
lawvs 7a4f5078e7 fix: set default view for FollowImpl 2025-08-02 19:59:57 +08:00
Whitewater 244aca2ad6
feat: implement audio seeking functionality (#4295)
* refactor: move timeStringToSeconds to utility function

* feat: add seekAudio functionality to bridge and implement timestamp handling in MarkdownLink

* feat: implement audio seeking functionality in EntryContentWebView

* feat: implement audio seeking functionality for iOS

* chore: clean code

* fix: audio seeking functionality for iOS
2025-08-01 23:43:30 +08:00
Stephen Zhou 5d0ae8fd1c
fix(desktop): move hydrate database to first, drop dataPersist option 2025-07-30 17:52:23 +08:00
Innei 680d7efc26
chore(dependencies): update nbump to version 2.1.5 across multiple packages
- 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>
2025-07-29 23:17:17 +08:00
Innei b0af343c8a
feat(settings): add option for independent content font size and presets
- 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>
2025-07-29 17:52:43 +08:00
Stephen Zhou 9095197d15
fix(mobile): notification for inbox 2025-07-29 11:03:21 +08:00
Innei 0715cbce56
Merge pull request #4245 from RSSNext/sync/main-to-dev-20250725
Sync main branch to dev branch
2025-07-25 19:27:44 +08:00
Stephen Zhou 3faac497e9
fix(mobile): improve social media skeleton 2025-07-25 16:39:10 +08:00
lawvs a45a4e367f fix: add disabled state handling to Select component on Android 2025-07-25 15:08:17 +08:00
Innei 445a9b20de
chore: update changelog for version 0.2.4
- Clarified instructions for adjusting custom text size in Settings - Appearance.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-25 14:00:11 +08:00
lawvs ef30239c91 fix: update CFBundleVersion to 115 2025-07-25 10:49:52 +08:00
Stephen Zhou 74b42595b7
chore: update changelog 2025-07-25 10:04:52 +08:00
lawvs 72462ac771 fix: replace Animated.Text with Text component in RelativeDateTime 2025-07-25 05:39:48 +08:00
Innei cb578e3041
chore: update changelog
- Added functionality to support custom text size adjustments via Settings - Appearance - Total Adjustment.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-25 00:27:10 +08:00
Innei 0c128d3e58
feat(changelog-cli): implement AI-driven changelog generation with OpenAI integration
- 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>
2025-07-25 00:09:11 +08:00
Innei 6892c05d09
feat(mobile): support font scaling for web render
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 22:12:45 +08:00
lawvs cacf8e4bf2 chore: update changelog for version 0.2.4 2025-07-24 21:14:26 +08:00
DIYgod 4c7e8a5928
docs: update changelog 2025-07-24 21:06:07 +08:00
lawvs 91a44ccf0c chore: update changelog 2025-07-24 20:57:25 +08:00
lawvs 82e4f6f07d fix: adjust flex properties for GroupedInsetListCard component 2025-07-24 20:29:42 +08:00
Innei e32430f4d9
refactor: remove performance hack for pager list and update imports to use FlashList directly
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 20:20:31 +08:00
Innei 80d5aad909
chore: update iOS Info.plist and bump version to 0.2.4, increment build number to 113
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 18:35:09 +08:00
lawvs e968b9d88b fix: adjust flex properties for GroupedInsetListCard component 2025-07-24 16:34:08 +08:00
Innei bf795bc52b
release(mobile): release v0.2.4 2025-07-24 16:17:50 +08:00
lawvs 131f50f5f5 fix: hydrateSettings on initialize 2025-07-24 16:02:43 +08:00
lawvs fbaf31daf3 fix: update pull-up navigation to use shared values for gesture state 2025-07-24 12:30:07 +08:00
Stephen Zhou c058c88af5
fix(mobile): use correct for trending preview 2025-07-24 12:21:49 +08:00
Stephen Zhou 308822a16d
feat: preview trending feed, resolve FOL-2267 2025-07-24 11:28:41 +08:00