Commit Graph
706 Commits
Author SHA1 Message Date
Stephen Zhou 2a9f69c26a refactor: delete database to reset 2025-07-08 10:48:26 +08:00
Stephen Zhou 5876e94906 fix: all store resetable 2025-07-08 09:16:46 +08:00
Innei d01209e389 feat(settings): enhance accent color handling for dark mode
- Updated accent color logic to support dark mode by utilizing a new color mapping.
- Refactored components to apply the correct accent color based on the current theme.
- Improved styling consistency across the application by integrating dark and light color variants.

This change enhances the user experience by ensuring that the accent colors adapt to the selected theme.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-08 00:05:44 +08:00
Stephen Zhou 7c1bf99318 fix: mark read for inbox entry 2025-07-08 00:01:02 +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
Innei a5439d861b feat(download): enhance mobile download experience with platform detection and redirection
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-07 19:57:01 +08:00
pseudoyu 4edb260e04 feat(render): support iframe tag (#4096)
* feat: add iframe renderer support

* feat: add iframe renderer support
2025-07-07 17:44:48 +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 0456eb3297 fix: lint 2025-07-07 15:16:03 +08:00
DIYgod 47bfc49dad feat(mobile): use insertedBefore for mark above read 2025-07-05 16:21:57 +08:00
DIYgod a17db88b60 feat: use insertedBefore for mark above read 2025-07-05 11:59:43 +08:00
Innei 47129d5d0d 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>
2025-07-04 23:21:09 +08:00
DIYgod b373232888 feat(desktop): real user deletion 2025-07-04 18:16:44 +08:00
DIYgod a0ee5b16d2 feat: update twitter handle 2025-07-03 15:12:18 +08:00
DIYgod d14c8f5c51 feat: new domain folo.is 2025-07-03 13:13:42 +08:00
Stephen Zhou 7f18a1ba16 feat: invalidate entry readability cache 2025-07-03 12:17:15 +08:00
Stephen Zhou 7b8c28afb6 fix(desktop): show login modal when auth fail 2025-07-03 11:52:33 +08:00
Stephen Zhou e91b2bfa6a fix: invalidate entries query after unsubscribe 2025-07-02 22:11:06 +08: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
DIYgod 35fb71cbbe feat: x-app-platform header 2025-07-01 20:31:44 +08:00
Konv Suu ea1b6c2514 fix: update losing dependency and type error (#4054) 2025-07-01 16:33:32 +08:00
Stephen Zhou 8ea13a3fb5 fix: can not mark entry as unread, close #4039 2025-07-01 11:52:56 +08:00
Innei d93cc930a5 fix: type error
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-01 00:19:42 +08:00
Cason Kervis a5b834b9eb fix: explicit declear as ESM package (#4037) 2025-06-30 20:35:27 +08:00
Innei 4c80e83787 feat(analytics): add posthog-react-native integration and session management
- Integrated posthog-react-native for enhanced analytics tracking.
- Added client and session ID management functionality.
- Updated Info.plist and Expo.plist for configuration changes.
- Updated package dependencies to include posthog-react-native version 4.1.3.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-30 19:44:25 +08:00
Stephen Zhou ab2269d60c fix: can't persist summary or translation for multi language 2025-06-30 18:17:48 +08:00
Innei 616e794d4c feat(tracking): integrate PostHog and Firebase tracking, add client and session ID management
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-30 17:11:15 +08:00
DIYgod 930add1fb0 Merge pull request #4022 from RSSNext/sync/main-to-dev-20250629
Sync main branch to dev branch
2025-06-29 10:30:40 +08:00
DIYgod 7c56fc0410 release(mobile): Release v0.2.2
release(mobile): Release v0.2.2
2025-06-29 10:29:40 +08:00
DIYgod df80682b2c Merge branch 'main' into dev 2025-06-29 10:27:30 +08:00
DIYgod a097a0a715 feat(desktop): use server side ga 2025-06-28 15:47:38 +08:00
DIYgod 77ca532848 feat: desktop firebase analytics (#4017)
* feat: firebase analytics for desktop app and desktop web

* chore: fix deps

* feat: ga4 log

* chore: add VITE_GA4_KEY
2025-06-28 09:24:31 +08:00
Innei d87be02384 fix: update imports and enhance toast styles
- Changed import path for Transformer in ast.ts to streamline dependencies.
- Refined toast styles in styles.ts for improved visual consistency and hover effects.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-27 01:09:35 +08:00
Stephen Zhou 2bbe51221d fix: try credentials: "omit" 2025-06-26 21:03:23 +08:00
Innei 92d87b1d72 refactor: update toast styles and improve component structure
- Added toastStyles import to NeedActivationToast and updated button class.
- Enhanced AppNotificationContainer's toast message styling.
- Refactored Toaster component to utilize centralized toastStyles for consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-26 14:31:33 +08:00
Stephen Zhou 8836522a01 fix: clear collection form entries fetch 2025-06-26 10:15:48 +08:00
Stephen Zhou 601dfeb8f2 fix: clear collection form entries fetch 2025-06-26 10:15:00 +08:00
Stephen Zhou abbc8ca1c9 fix: collection is not up to date (#4009) 2025-06-26 09:33:53 +08:00
Stephen Zhou fbd0b3e08f fix: collection is not up to date (#4009) 2025-06-26 09:30:59 +08:00
Innei 35c713a82a fix: update EntryCommandShortcutRegister to include view parameter
- Modified the EntryCommandShortcutRegister component to accept a view parameter of type FeedViewType.
- Updated the EntryContent component to pass the view prop to EntryCommandShortcutRegister.
- Adjusted the StarCommand type definition to require the view parameter.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-26 00:28:53 +08:00
Innei 24113f7f6d fix: entry command shortcut registry, fixed #3970
- Removed the deprecated `components.tsx` file and its associated code.
- Updated imports in `EntryContent.tsx` to reflect new component structure.
- Simplified command binding logic in `EntryHeaderActions` by removing unused hooks.
- Adjusted shortcut handling for command buttons to disable trigger shortcuts globally.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-26 00:12:54 +08:00
Innei e55a400be4 fix: tooltip spring animation
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-25 23:49:10 +08:00
Innei a2a4cb57e9 fix: hono file
- Removed deprecated fields related to user roles and Stripe customer IDs from the user and wallet schemas.
- Updated wallet schema to include new fields for power tokens and their management.
- Adjusted OpenAPI schemas to reflect the changes in the user and wallet structures.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-25 23:47:52 +08:00
Innei 81c544a7df feat: add switch link when login with email 2025-06-25 22:44:37 +08:00
Konv Suu e70c674ae6 feat: enhance scroll state management (#3962)
* feat: enhance scroll state management

* Drop 古法手写代码,使用 agent 进行优化

* chore: minor update

* update
2025-06-25 17:11:18 +08:00
Innei f663d06650 chore!: remove web mobile adapter (#3998)
* backup

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

* remove and cleanup

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

* refactor: remove unused mobile download page and update layout component to use responsive loading

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-25 02:40:09 +08:00
Innei db53bdb468 fix: ssr server move to esm (#3994)
* chore: fix prettier error

* refactor: migrate to ES modules and update global constants handling

- Changed the global constants definition to use Object.assign for better clarity.
- Replaced usage of `isDev` with `__DEV__` throughout the codebase for consistency.
- Updated imports to use ES module syntax, including dynamic imports where necessary.
- Removed the deprecated `env.ts` file and adjusted related logic in the build scripts.
- Ensured compatibility with ES module format in various files, including Vite and API client configurations.

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

* refactor(api): migrate handler to ES module syntax

- Updated the API handler to use ES module export syntax.
- Removed commented-out configuration for Node.js runtime.

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

* feat(404): enhance 404 page with animations and improve accessibility

- Replaced `motion` components with `m` shorthand for better readability.
- Introduced animation controls for various elements on the 404 page to enhance user experience.
- Updated the glitch text array for consistency.
- Adjusted layout and styling for improved visual presentation.
- Removed unused `framer-lazy-feature` file and updated `MotionProvider` to use `domMax` for performance optimization.

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

* feat(og): replace Folo text with SVG logo in OGCanvas component

- Updated the OGCanvas component to replace the static "Folo" text with a new LogoText SVG component for improved branding.
- Added the LogoText function that defines the SVG structure for the logo.

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

* refactor(tsdown): update font imports to use dynamic loading

- Modified font imports in `tsdown.config.ts` to utilize dynamic loading with `then` for improved performance and error handling.
- Introduced a no-operation function to handle the promise resolution of font imports.

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

* refactor(404): replace Jotai provider with RootProviders for improved context management

- Updated the 404 component to use `RootProviders` instead of the Jotai store provider for better context handling.
- Simplified the component structure while maintaining functionality.

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-24 13:16:20 +08:00
Innei eeeea479c7 feat: add 'dim read' setting to general settings and update list item template for read entries
- Introduced a new setting 'dimRead' to allow users to diminish the color of read entries in the timeline.
- Updated the ListItem component to apply the dimming effect based on the new setting.
- Added corresponding translations for the new setting in the English locale.
- Set default value for 'dimRead' to false in the general settings defaults.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-23 23:04:14 +08:00
DIYgod 592769758d chore: format 2025-06-23 18:36:50 +08:00