Commit Graph
1072 Commits
Author SHA1 Message Date
lawvs a097112f5e chore: tweak pager selected logic 2025-07-15 02:51:54 +08:00
lawvs 42e6ff600b fix: replace TouchableOpacity with NativePressable for improved touch handling 2025-07-15 01:27:29 +08:00
Cason Kervis 0f9aa59d6b fix(icon): polished icon (#3956)
* fix(icon): reoptimized icon

* fix(compress): use svgo 4.0 compress

* fix: add svg title

* fix: update icon in Apps

* fix: update icon in ssr

* fix: optimize folo text svg

* fix: optimize two icon

* fix: optimize lots icons

- change viewbox to 24
- merge path

* fix: optimize many icon

* fix: update mobile icons define

* fix: optmize ArrowUndoCircle icon

* fix: compress using svgo

* fix: using icon in simple-icons

* fix: optimize one icon

* fix: change instapaper to vertical input

* revert mgc icon compress

* fix: fix style in ssr og

* fix: change rss icon and folo icon same size
2025-07-14 21:36:04 +08:00
DIYgodandClaude e7c8380647 fix(mobile): prevent incorrect read marking during pull-to-refresh
The entry list was incorrectly marking entries as read during pull-to-refresh
operations. This happened because when the refresh control rebounds from
negative contentOffset back to 0, the scroll direction is detected as "down"
causing entries to be mistakenly marked as read.

The fix adds a condition to only mark entries as read when:
1. Scroll direction is down (user swiping up)
2. Current offset is greater than 0 (not at the top or rebounding)

This ensures entries are only marked as read during genuine upward scrolling,
not during pull-to-refresh rebounds.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 19:37:00 +08:00
DIYgodandClaude 4ebff4d35d feat(mobile): improve entry list loading states
- Add skeleton loading states for all entry list view types (Articles, Pictures, Social, Videos)
- Show loading skeleton when entries are not ready and no data yet
- Add proper padding to avoid overlap with header and tab bar
- Create realistic skeletons that match actual entry item structures:
  - Articles: 7 items with title, description, and image placeholders
  - Pictures: 8 items (4 per column) with varied heights and footer content
  - Social: 5 items with social-specific layout
  - Videos: 6 items (3 per column) with video thumbnail and metadata
- Improve UX by showing loading state instead of empty message during data fetch

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 19:00:39 +08:00
Cason Kervis c3ed8eeb2d feat: hide view count when hideRecentReader is on (#4167) 2025-07-14 17:08:38 +08:00
Stephen Zhou 2c579c1e83 fix(android): can not open video in external app (#4172) 2025-07-14 16:55:08 +08:00
lawvs 9a194e5964 fix: improve image performance 2025-07-14 16:54:16 +08:00
lawvs 672978ca25 fix: improve image size handling for Android, closes #4151 2025-07-14 05:03:33 +08:00
Innei 56a7593586 chore: update expo-image package to version 2.3.2 and remove iOS image loading workaround
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-11 22:09:26 +08:00
DIYgod f8ecaab2b9 fix: adjust blurRadius for iOS image rendering 2025-07-11 22:04:57 +08:00
DIYgod 4c8a174eef fix: ios image fuzzy 2025-07-11 22:00:20 +08:00
DIYgod c3a211f1c4 docs: update changelog 2025-07-11 21:31:35 +08:00
DIYgod 3151a1a8ce feat: add fetch cache no-store and header cache-control no-store 2025-07-11 18:16:18 +08:00
DIYgod 96485e06b0 chore: update CFBundleVersion to 112 in Info.plist 2025-07-11 16:01:50 +08:00
Innei 46346679ab chore: add nanoid package and update api-fetch to use no-store cache
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-11 16:00:41 +08:00
DIYgod 6e73cbc75d chore: update version 2025-07-11 12:53:19 +08:00
DIYgod d10e4c7a8a release(mobile): release v0.2.3 2025-07-11 12:52:32 +08:00
Stephen Zhou 93ac45881c fix: loading indicator for payment 2025-07-10 18:33:21 +08:00
Stephen Zhou 932e30189f feat(mobile): refresh session after stripe payment 2025-07-10 18:02:11 +08:00
Stephen Zhou 8055ec05be fix: activation prompt 2025-07-10 11:11:54 +08:00
30bb37c7b9 feat: referral (#3761)
Co-authored-by: DIYgod <i@diygod.me>
Co-authored-by: Innei <tukon479@gmail.com>
2025-07-10 09:47:11 +08:00
lawvs 79c9b05246 refactor: add PlayerAction component for video playback controls, close #3915 2025-07-10 04:48:19 +08:00
lawvs 777f4caba9 refactor: optimize the user experience of lightbox 2025-07-09 18:55:43 +08:00
lawvs d5ac4091b0 refactor: use EntryMediaItem component for media rendering 2025-07-09 05:20:50 +08:00
lawvs 0150803e47 chore: remove unused preloadWebViewEntry calls in EntryPictureItem 2025-07-09 05:18:29 +08:00
lawvs 66cb588e95 fix: shamefully addressed lint issues 2025-07-09 03:58:06 +08:00
Stephen Zhou 684dc53379 fix(mobile): persist trending query 2025-07-08 17:43:27 +08:00
lawvs 68f1d35b69 refactor: simplify MediaCarousel components 2025-07-08 01:04:34 +08:00
Stephen Zhou 3f1ed0a9c5 refactor(database): use wa-sqlite for desktop (#4100) 2025-07-07 23:54:01 +08:00
Innei dc6bf7cb09 chore: update dependencies across multiple packages
- Bump various dependencies in package.json files, including updates to eslint, prettier, vite, and react-related packages.
- Update devDependencies such as es-toolkit, nbump, and others to their latest versions.
- Ensure consistency in @types/node and other related packages across the project.

This update enhances compatibility and performance across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-07 20:13:51 +08:00
lawvs a9709a27c5 fix: update Galeria type definition 2025-07-07 17:44:55 +08:00
+1 913b1178c8 fix(path): change path package to pathe (#4038)
* fix(path): change path package to pathe

* fix: handle special chat in filename, fixed
#3342

- Integrated @sindresorhus/slugify to format file names based on titles.
- Updated pnpm-lock.yaml to include new dependencies.
- Minor adjustments in package.json files to ensure consistency.

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

* fix: add eslint rule for use pathe first

* refactor: useWhoami from user store (#4061)

* refactor: useWhoami from user store

* update

* update

* update

* update

* return all

* fix: invalidate entries query after unsubscribe

* feat: implement imperative modal (#4041)

* feat: implement ImperativeModalProvider with modal context and controls

* fix: make onClose prop optional for bottom modal

* chore: add ImperativeModalProvider to context providers

* feat: wrap BottomModal content in KeyboardAvoidingView for better keyboard handling

* chore: add polyfill for Promise.withResolvers

* fix: wrap ImperativeModal in a View and update onClose to accept modal ID

* feat: implement ImperativeModal with context and modal control hooks

* refactor: redesign imperative modal with root-siblings

* fix: wrap BottomModal in a View to resolve rendering issues on Android

* refactor: replace Alert.prompt with modalPrompt for category creation and renaming

* fix(desktop): show login modal when auth fail

* feat: invalidate entry readability cache

* refactor: long press to open text select sheet for ai summary

* feat: new domain folo.is

* fix: enhance auth client with mobile-specific headers (#4064)

* feat(desktop): add missing i18n key (#4066)

* feat: update twitter handle

* docs: use google play badge

* feat: add hideAvatar prop to ProfileSettingForm for conditional avatar display

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

* docs: update images

* feat(ssr): add Google Analytics tracking to index.html

- Integrated Google Tag Manager for enhanced tracking and analytics capabilities.
- Added asynchronous loading of gtag.js and configuration for tracking ID G-DZMBZBW3EC.

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

* chore: Update Japanese Languages (#4078)

* 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: 日本語ローカライズの更新

---------

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>

* feat(desktop): real user deletion

* feat(mobile): real user deletion

* feat(settings): add accent color customization and update UI components

- Introduced accent color setting to allow users to customize the app's interface.
- Updated various components to utilize the new accent color, including buttons, sliders, and text elements.
- Added translations for accent color settings in English, Japanese, and Chinese.
- Refactored related styles in Tailwind CSS configuration to support the new accent color feature.

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

* fix: update text styling for feed parameters message

* feat: use insertedBefore for mark above read

* feat(mobile): use insertedBefore for mark above read

* fix: improved lightbox component for iOS (#4089)

* feat: replace Image component with ProxyImage for improved performance and styling

* fix: update Image component style prop

* fix: improved layout in ImageItem component

* feat: integrate animated ref for media preview in EntryPictureItem

* fix: option can not be press when out of screen in the FlatList

* fix: lint

* fix: types

* fix: update lock

* fix: lint

* chore: auto-fix linting and formatting issues

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Co-authored-by: Whitewater <me@waterwater.moe>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DIYgod <i@diygod.me>
Co-authored-by: Konv Suu <2583695112@qq.com>
Co-authored-by: dai <dosada@gmail.com>
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-07 16:55:37 +08:00
lawvs 9931e412e0 refactor: remove Galeria component on iOS 2025-07-07 16:54:43 +08:00
lawvs 8e0767c985 fix: option can not be press when out of screen in the FlatList 2025-07-06 00:26:48 +08:00
Whitewater 533850b03f fix: improved lightbox component for iOS (#4089)
* feat: replace Image component with ProxyImage for improved performance and styling

* fix: update Image component style prop

* fix: improved layout in ImageItem component

* feat: integrate animated ref for media preview in EntryPictureItem
2025-07-06 00:08:47 +08:00
DIYgod 47bfc49dad feat(mobile): use insertedBefore for mark above read 2025-07-05 16:21:57 +08:00
lawvs 3488390afc fix: update text styling for feed parameters message 2025-07-05 04:38:24 +08:00
DIYgod ad003bd3b8 feat(mobile): real user deletion 2025-07-04 18:54:02 +08:00
DIYgod a0ee5b16d2 feat: update twitter handle 2025-07-03 15:12:18 +08:00
Whitewater 711ba3301f fix: enhance auth client with mobile-specific headers (#4064) 2025-07-03 14:12:39 +08:00
DIYgod d14c8f5c51 feat: new domain folo.is 2025-07-03 13:13:42 +08:00
lawvs 63d3df515b refactor: long press to open text select sheet for ai summary 2025-07-03 12:22:03 +08:00
Whitewater e9e67de25f feat: implement imperative modal (#4041)
* feat: implement ImperativeModalProvider with modal context and controls

* fix: make onClose prop optional for bottom modal

* chore: add ImperativeModalProvider to context providers

* feat: wrap BottomModal content in KeyboardAvoidingView for better keyboard handling

* chore: add polyfill for Promise.withResolvers

* fix: wrap ImperativeModal in a View and update onClose to accept modal ID

* feat: implement ImperativeModal with context and modal control hooks

* refactor: redesign imperative modal with root-siblings

* fix: wrap BottomModal in a View to resolve rendering issues on Android

* refactor: replace Alert.prompt with modalPrompt for category creation and renaming
2025-07-02 17:20:41 +00:00
Stephen Zhou 796171de0e refactor: useWhoami from user store (#4061)
* refactor: useWhoami from user store

* update

* update

* update

* update

* return all
2025-07-02 21:57:53 +08:00
Whitewater 8bcc6faada feat: support android adaptive icon (#4058) 2025-07-02 04:30:35 +00:00
DIYgod 35fb71cbbe feat: x-app-platform header 2025-07-01 20:31:44 +08:00
Innei 66591e452b feat(mobile): add horizontal padding for pic and video layout
- Added contentContainerStyle to EntryListContentPicture and EntryListContentVideo for consistent padding.
- Updated TimelineSelectorList to merge additional contentContainerStyle and scrollIndicatorInsets from props.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-01 14:24:01 +08:00
Innei cfa1d9ff0a feat: add title-case package and use it for label formatting in GroupedList component
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-01 14:17:38 +08:00
lawvs 650a68fccd fix: improve unread count display in ViewItem 2025-07-01 12:25:24 +08:00