Commit Graph

1124 Commits

Author SHA1 Message Date
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
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
Whitewater 2c1e84faae
fix: update react-native-reanimated to version 3.19.0 (#4233) 2025-07-23 20:56:56 +00:00
Whitewater ab7efc34a7
feat: implement pull-up navigation on Android (#4228)
* feat: implement pull-up navigation on Android

* refactor: update folder structure

* feat: integrate scroll view progress into pull-up navigation

* refactor: extract PullUpIndicatorIos component

* fix: compatible custom text size

* chore: clean code
2025-07-24 04:43:47 +08:00
lawvs ad7c5ddb9b fix: update setCurrentPage to determine navigation direction based on index 2025-07-24 04:04:13 +08:00
Innei cd37104e15
fix(mobile): update Text component to support ref forwarding
- Modified Text component to accept a ref prop for better integration with React Native components.
- Updated NavigationLink to use the new ref type for improved type safety.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 01:54:35 +08:00
Innei 38553bfa85
feat(mobile): support custom text size. resolves FOL-2297
- Updated PlayerScreen to use consistent import statements and improved structure.
- Refactored CoverArt component to enhance animation handling with Reanimated.
- Added typography specifications to typography.ts for better text management.
- Extended Tailwind configuration to include custom font sizes.
- Implemented font scaling options in settings localization files for accessibility.
- Added a script to replace Text imports from react-native with a new import path.
- Updated package dependencies for Babel and added glob for file handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 01:40:02 +08:00
Innei 8b76fa3623
chore: move lightbox location
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-23 21:30:01 +08:00
Stephen Zhou 3a9cec4c64
feat: hide from timeline option (#4229) 2025-07-23 18:26:38 +08:00
Stephen Zhou 0b0e62825b
chore: disable expo updates for now 2025-07-23 15:45:46 +08:00
Stephen Zhou bd0a33c343
fix(mobile): add missing api client 2025-07-23 13:31:29 +08:00
Stephen Zhou cd4593604b
fix: typecheck 2025-07-21 17:40:22 +08:00
Stephen Zhou 35d7f9e784
fix: sync unread when mismatched, close #4028 2025-07-21 16:52:37 +08:00
lawvs 71408ea923 fix: ensure default view resets correctly 2025-07-21 16:05:23 +08:00
lawvs 04b6f4c933 feat: enhance FollowFeed components to utilize defaultView 2025-07-21 14:49:21 +08:00
Whitewater d45e4bac06
refactor: simplify audio state handling (#4188)
* chore: allow pause audio when playing

* refactor: update PlayerAction props to use state instead of isPlaying and isLoading

* refactor: remove playingAudioUrl from EntryExtraData

* refactor: simplify audio state

* refactor: simplify audio state handling

* chore: review
2025-07-19 15:14:34 +08:00
Stephen Zhou 7a4b7554e0
feat: use custom expo update server (#4206) 2025-07-19 00:54:48 +08:00
Whitewater 48004b1a7a
chore: remove deprecated Galeria modules and components (#4182) 2025-07-17 13:57:18 +08:00
Whitewater 46543560a6
fix: ensure player initialization (#4189) 2025-07-17 12:09:57 +08:00
Stephen Zhou 51a243eeea
fix: toggle translation settings, close #4187 2025-07-16 21:02:57 +08:00
Stephen Zhou 4ee723675b
fix: show custom feed title, close #4177 2025-07-16 15:57:40 +08:00