Commit Graph
5449 Commits
Author SHA1 Message Date
Innei e825b3ed36 Merge remote-tracking branch 'origin/dev' into release/desktop/0.6.3 2025-07-24 16:17:28 +08:00
Stephen Zhou cd22fc0cb5 chore: update client sdk 2025-07-24 16:06:17 +08:00
lawvs 131f50f5f5 fix: hydrateSettings on initialize 2025-07-24 16:02:43 +08:00
Innei 33bcc2fbde release(desktop): release v0.6.3 2025-07-24 15:41:51 +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 845003319e fix: improve subscription subscribe state update 2025-07-24 12:06:12 +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
Cason Kervis 3ef894e1ac docs: polish badge (#4230) 2025-07-24 01:55: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
DIYgod c8e3a0e1d4 feat: entry content layout for ai 2025-07-23 22:13:04 +08:00
Innei 8b76fa3623 chore: move lightbox location
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-23 21:30:01 +08:00
Innei db67ec878e fix: add color highlight for entry link, resolves FOL-2288
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-23 21:12:27 +08:00
Stephen Zhou 3a9cec4c64 feat: hide from timeline option (#4229) 2025-07-23 18:26:38 +08:00
Konv SuuandStephen Zhou b7aedd3809 fix(desktop): feed drag back to original category issue (#4220)
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2025-07-23 18:02:04 +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
Innei 01ed1c63b5 refactor: Progressive migration Client SDK (#4227)
* Implement code changes to enhance functionality and improve performance

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update @follow-app/client-sdk to version 0.2.6 and add new dependencies
refactor: adjust types in server configs and features to use ExtractResponseData
feat: implement followApi for server configurations and API client context

Signed-off-by: Innei <tukon479@gmail.com>

* feat: move to client-sdk

Signed-off-by: Innei <tukon479@gmail.com>

* feat: update @follow-app/client-sdk to version 0.3.22 and add ShrinkingFocusBorder component

- Updated the version of @follow-app/client-sdk in pnpm-workspace.yaml from 0.3.15 to 0.3.22.
- Introduced a new ShrinkingFocusBorder component that animates a focus border effect using a canvas element.
- Implemented resize observer for persistent border and animation logic for visibility changes.

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-23 01:21:34 +08:00
Sunghyun Kim 26c96c2f22 fix: add missing AI translations for Electron build (#4226)
- Add ai_en and ai_ja imports to Electron default resources
- Include ai translations in all language configurations
- Use English fallback for zh-CN and zh-TW until translations are available
- Fixes AI settings page showing translation keys instead of text
2025-07-23 00:54:50 +08:00
Stephen Zhou f11bf3b77f fix: hide action bar in header for wide view 2025-07-21 22:51:55 +08:00
DIYgod eb97dda359 refactor: adjust spacing and class names across entry column components
Updated various components in the entry column layout to improve spacing and styling. Changes include adjusting top margins in grid and list components, modifying item class names for consistency, and refining layout properties in the EntryColumnWrapper and EntryListHeader. Additionally, updated button sizes in action components for better alignment with design specifications.
2025-07-21 19:43:01 +08:00
Stephen Zhou ae4a106ba5 fix: make text in social media selectable, close #4186 2025-07-21 18:50:50 +08:00
DIYgodandClaude 17389d91b1 fix: masonry column width calculation timing issue
Fix issue where useMasonryColumn hook was calculating incorrect currentItemWidth due to clientWidth being 0 or incorrect during initial render. Added proper timing guards to ensure calculations only happen after DOM elements have correct dimensions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 18:16:53 +08:00
Stephen Zhou cd4593604b fix: typecheck 2025-07-21 17:40:22 +08:00
Stephen Zhou b11e7e9a36 fix: do not hide refresh button for star list 2025-07-21 17:35:00 +08:00
Stephen Zhou f67c0d0359 fix: do not invalidate when unstaring in the collection list, close #4213 2025-07-21 17:16:59 +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
2640f5ea87 chore: multiple updates Japanese language (#4202)
* chore: update ja.json

* chore: update 6 ja.json files

chore: update and bump 6 ja.json files.

* chore: update error/ja.json

fix locale/error/ja.json

* chore: auto-fix linting and formatting issues

* chore: update app/ja.json

* chore: update ja.json

* chore: update ja.json

* chore: update ja.json and tested local.

* chore: update ja.json

update settings/ja.json

* feat(i18n): update Japanese locale files with new error messages and dialog options

* chore(vscode): set default formatter for JSON and JSONC files

* Remove JSON and JSONC formatter settings

so sorry, @hyoban 😢

Perhaps my local settings are in. I have restored it to the original. Thanks for your kindness. 
You have always been a great help.

* chore: auto-fix linting and formatting issues

* chore: update ja.json

sync and update settings/ja.json

* chore: update Japanese translations for clarity and consistency

* chore: update some ja.json

* chore(locales): update Japanese translations with new entry actions and settings

* fix: update Japanese translations for user actions and login prompts

* feat(locales): add Japanese translations for login and registration features

* feat(locales): update Japanese translations for RSSHub and related settings

* chore: auto-fix linting and formatting issues

* feat(i18n): update Japanese locale with new toolbar customization and profile link social fields

* feat(locales): update Japanese translations for search results and two-factor authentication

* feat: 日本語ローカライズの更新

* Add and update Japanese locale translations

Added new Japanese translations for AI features in locales/ai/ja.json. Updated various Japanese locale files with new keys and improved existing translations for app features, error messages, external integrations, mobile UI, settings, and shortcuts. Also fixed typos and enhanced descriptions for better clarity and consistency.

* Update zh-CN.json

---------

Co-authored-by: dai <dai@users.noreply.github.com>
Co-authored-by: Innei <i@innei.in>
Co-authored-by: Innei <Innei@users.noreply.github.com>
2025-07-21 13:29:35 +08:00
Konv Suu 037b8508f6 fix(desktop): don't allow dragging close for video (#4215) 2025-07-21 13:29:00 +08:00
Daniel YanandInnei 47fe0aa76f fix: button is not disabled when in starred list (#4204)
* fix: button is not disabled when in starred list

* fix: button is not disabled when in starred list

* rollback action-button.tsx

* refactor: rename isButtonHided to showButtons for clarity

* Update apps/desktop/layer/renderer/src/modules/entry-column/layouts/EntryListHeader.tsx

Co-authored-by: Innei <tukon479@gmail.com>

* rollback changes

---------

Co-authored-by: Innei <tukon479@gmail.com>
2025-07-21 13:28:31 +08:00
Cason Kervis 544c064179 revert: social media link click logic (#4211)
This reverts commit 60a9240b02.
2025-07-19 22:13:05 +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
DIYgod 0e31170e8b feat: enhance DateItem component to support AI feature toggle
Updated the DateItem component to conditionally render SocialMediaDateItem based on the AI feature flag. This allows for improved flexibility in displaying date items depending on the feature's availability.
2025-07-18 20:22:21 +08:00
DIYgodandClaude d3d1e05d59 fix: prevent auto-marking fresh entries as read after list refresh
Changed from range-based tracking to entry ID-based tracking to prevent
newly refreshed entries from being incorrectly marked as read. The bug
occurred when entry lists refreshed, causing the same range indices to
be processed again but with different content.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 20:20:01 +08:00
DIYgod e060d0f567 chore: update .gitignore to include local settings and generated files
Added entries for .claude/settings.local.json and PRPS/* to the .gitignore file to prevent local configuration and generated files from being tracked in the repository.
2025-07-18 20:07:40 +08:00
DIYgodandClaude 3c4b1522f2 fix: disable placeholders in waterfall to prevent layout redraws
Disabled placeholder items in picture waterfall to fix bug where
the layout would redraw when reaching the last page, causing
rendered elements to shift positions and degrading user experience.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 20:06:45 +08:00
DIYgodandClaude 82a3537f86 fix: picture waterfall item height calculation on first render
Fix issue where picture items in waterfall view had incorrect heights on first render due to timing issues with dimension loading. Changed stableRadio calculation to use useMemo and added proper fallback for initial render.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 19:29:25 +08:00
DIYgod 0e456d5b73 feat: ai column (#4203)
* feat: remove the entry content column

* feat: remove entryColWidth

* feat: entry list styles

* feat: ai column

* feat: implement EntryColumnLayout and integrate routing for entry content

- Added EntryColumnLayout component to manage entry display and interactions.
- Integrated Outlet for nested routing within the CenterColumnLayout.
- Updated EntryItemWrapper to navigate to entry content instead of using a modal.
- Enhanced EntryContent with scroll handling and exit functionality.
- Introduced new SVG icon for scroll hint in entry content.

* fix: date item bg

* refactor: simplify line clamping and layout adjustments in ListItem component

- Removed the settingWideMode dependency for line clamping calculations, standardizing title and description clamping values.
- Adjusted media width and audio cover width calculations for consistent layout.
- Updated class names and styles for improved readability and maintainability.

* feat: enhance feature management and layout adjustments

- Introduced a new `withFeature` higher-order component to manage feature toggling for the ListItem component.
- Updated the ListItem component to conditionally render based on the AI feature flag.
- Adjusted layout settings for entry columns, including entryColWidth and improved responsiveness.
- Added new templates for list items to support different display modes.
- Updated the CenterColumnLayout to integrate with the new feature management system.

* feat: implement feature flag management for AI functionality

- Introduced `useFeature` hook to manage feature toggling based on server configurations.
- Updated components to utilize the new `useFeature` hook for AI-related features, enhancing modularity and maintainability.
- Refactored `EntryLayoutContent`, `EntryItemWrapper`, and other components to check AI feature status through the new hook.
- Added a legacy list item template to support fallback rendering when AI features are disabled.

* refactor: comment out unused setTimeout in EntryItemWrapper

- Commented out the setTimeout function that dispatches an event to focus on the entry render, marking it as a TODO for future implementation.
- This change improves code clarity and prepares for potential feature adjustments.

* feat: debug feature
2025-07-18 19:21:23 +08:00
Innei d79b00d976 fix: unify ai header action button style
- Changed icon classes in ChatHeader and ChatMoreDropdown to improve visual consistency and styling.
- Updated icons to use new size and opacity classes for better integration with the overall UI design.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-17 23:43:47 +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
Konv Suu e3e9fbfb93 feat(desktop): i18n supports for feeds settings (#4192) 2025-07-17 11:31:58 +08:00
lawvs f2656ccf15 fix: should not show skeleton when no data 2025-07-17 02:17:28 +08:00