Commit Graph
684 Commits
Author SHA1 Message Date
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
DIYgod 4baf1fa9f5 chore: fix inconsistent versions of expo-sqlite 2025-06-23 17:48:54 +08:00
Innei 6d76d6b558 chore: update dependencies and improve type safety
- Updated various package dependencies across the project, including @sentry/react, @tanstack/react-query, and others to their latest versions for improved performance and security.
- Enhanced type safety in several components by refining type definitions, particularly in motion-related imports.
- Adjusted transition configurations to utilize new presets for smoother animations.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-20 23:32:42 +08:00
Innei 9f0e7522d9 feat: update vite-plugin-route-builder and related configurations
- Renamed the plugin from '@follow/vite-plugin-route-builder' to '@follow-app/vite-plugin-route-builder' for better clarity.
- Added support for synchronous loading of components with the new '.sync.tsx' file extension.
- Enhanced the route generation logic to accommodate custom segment group ordering.
- Updated package dependencies and configurations, including the addition of test scripts and improved documentation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-20 21:52:26 +08:00
Innei 73f801108b feat: re-design toast style
- Updated the Toaster component to improve styling and functionality, including new toast options and class names for better customization.
- Introduced a custom transformer for the 'tw' function to compress template strings, optimizing the handling of template literals.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-20 20:51:22 +08:00
Stephen Zhou b3dfeeee54 refactor: restrict value in action config type 2025-06-20 09:39:01 +08:00
Stephen Zhou eb3f663a67 refactor: improve action config type safe 2025-06-20 09:21:21 +08:00
Stephen Zhou 1e13fdad23 chore: update hono type 2025-06-20 08:31:00 +08:00
Innei f372b2f403 refactor: migrate from tsup to tsdown for build process
- Replaced `tsup` with `tsdown` in multiple package configurations to streamline the build process.
- Updated build scripts in `package.json` files across various applications and packages.
- Introduced new `tsdown.config.ts` files for configuration in the `ssr` and `readability` packages.
- Removed obsolete `tsup.config.ts` files to clean up the project structure.

Signed-off-by: Innei <i@innei.in>
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-20 01:59:55 +08:00
Innei 1d83313872 feat: add vite-plugin-route-builder for dynamic route generation
- Introduced a new plugin to generate React Router routes from a file system-based structure, enhancing routing capabilities similar to Next.js.
- Updated various configurations and components to integrate the new plugin, including automatic route generation during build time.
- Refactored existing router implementations to utilize generated routes, improving maintainability and performance.

Signed-off-by: Innei <i@innei.in>
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-20 01:41:53 +08:00
pseudoyu 710622a907 feat: add filter video length action (#3960) 2025-06-19 23:54:16 +08:00
Stephen Zhou f3487acd50 fix: entries stream 401 (#3959) 2025-06-19 21:26:44 +08:00
Stephen Zhou 2c04919bda fix: can not follow list in preview, close #3895 2025-06-19 19:18:07 +08:00
Stephen Zhou 15b8d79567 fix: local data update for batchUpdateSubscription 2025-06-19 17:39:00 +08:00
Stephen Zhou d71b2e839a fix: use batch api for change category view 2025-06-19 17:13:52 +08:00
Stephen Zhou 8a4edf9cec fix: get folder feed ids 2025-06-19 17:07:44 +08:00
Innei fd7f57e3cd fix: update header shadow style and clean up user query logic
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-19 14:33:20 +08:00
Stephen Zhou 8f66d91ce1 feat: changeCategoryView for mobile, better local data update 2025-06-18 16:46:27 +08:00
Stephen Zhou f108a45601 feat: delete or rename category for mobile, improve local data update, close #3945 2025-06-18 16:14:52 +08:00
Cason Kervis e3deb2ec10 fix(dayjs): fix relative time not follow language change (#3932)
* fix(dayjs): fix relative time not follow when language change

* fix: update world in grid item template

* fix: change dayjs locale to settings change

* fix: apply suggest review suggestion
2025-06-18 15:51:27 +08:00
Stephen Zhou 7a74ebe895 fix(desktop): excludePrivate not working for local change 2025-06-18 14:54:51 +08:00
Innei 472ee72b52 fix(parse-html): add TypeScript ignore for math node handling
- Added a TypeScript ignore comment for the `math` node in the `parseHtml` function to suppress type errors. This change ensures that the handling of math nodes does not interfere with TypeScript's type checking, allowing for smoother integration and functionality.

These changes aim to improve the robustness of the HTML parsing logic while maintaining type safety.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-18 14:11:47 +08:00
Innei 8130bbceb3 feat(avatar-upload): implement avatar upload modal and related functionality
- Introduced `AvatarUploadModal` component for user-friendly avatar image uploads, including cropping and validation for file type and size.
- Added `uploadAvatarBlob` function to handle the upload process to the server.
- Updated `ProfileSettingForm` to integrate the avatar upload modal, allowing users to upload and preview their avatars seamlessly.
- Enhanced localization with new strings for avatar upload instructions and error messages.

These changes aim to improve the user experience by providing a straightforward method for uploading and managing profile images.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-17 23:14:54 +08:00