Commit Graph
485 Commits
Author SHA1 Message Date
Innei fb384f861c refactor(discover): split discover and feed cards
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 17:28:47 +08:00
Innei 2f492c8245 style(desktop): update FeedIcon component styling and enhance MagneticHoverEffect interactions
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 16:15:25 +08:00
Innei beeda2a7a0 style(tabs): conditionally render indicator span in TabsList component
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 14:14:02 +08:00
DIYgod cee647c458 feat: hide invitation page according to server config 2025-05-08 13:20:45 +08:00
Innei 7e44bd2744 fix(switch): update layout prop to conditionally apply based on isTapped state
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 13:15:38 +08:00
DIYgod 7079022e2f fix(ssr): styles 2025-05-08 12:24:56 +08:00
Stephen Zhou 5114155f33 fix: can not unlink social account, close #3653 2025-05-07 23:31:01 +08:00
Stephen Zhou ec5fa5b242 fix(mobile): discover category overlap 2025-05-07 22:14:37 +08:00
DIYgod 9a90b2cb4d feat(ssr): optimize ssr header 2025-05-07 21:22:49 +08:00
DIYgod 6315943594 feat(ssr): optimize list styles 2025-05-07 17:34:34 +08:00
DIYgod df1ed5ba92 feat(ssr): optimize entries styles 2025-05-07 17:03:12 +08:00
Innei efc2e9713b refactor: upgrade react 19 and react native 0.79 (#3661)
* update

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

* chore: update Babel and Metro configurations

- Added `unstable_transformImportMeta` option to Babel preset for improved JSX handling.
- Disabled `unstable_enablePackageExports` in Metro configuration for better package resolution.

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

* chore: add react-native-ios-utilities patch and update dependencies

- Introduced a patch for `react-native-ios-utilities` to enhance functionality.
- Updated `expo`, `react-native`, and `react-native-reanimated` versions in the example app for improved compatibility.
- Added `react-native-ios-utilities` to the project dependencies in `package.json`.

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

* update

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

* chore: auto-fix linting and formatting issues

* refactor: improve route parameter handling and entry fetching logic

- Updated `useRouteParams` to utilize `useReadonlyRoute` for better state management.
- Enhanced `useEntriesByView` to separate remote and local entry fetching, improving data handling and error management.
- Introduced debouncing for pagination in local entries and added toast notifications for error handling.
- Cleaned up entry ID retrieval to ensure uniqueness and prevent duplicates.

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

* refactor: simplify Masonry component return statement

- Updated the return statement in the Masonry component to use JSX syntax for better readability and consistency.

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

* refactor: update import from RootPortalProvider to RootPortalContext

- Changed the import statement in Sheet.tsx to reflect the updated context provider name for better clarity and consistency in the codebase.

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

* update

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

* refactor: update ref types in component props

- Changed ref prop types from React.RefObject to React.Ref for better type compatibility across various components, enhancing overall code consistency and maintainability.

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

* feat: add Xcode build server configuration and enhance desktop app routing

- Introduced a new configuration file for the Xcode build server to streamline iOS builds.
- Updated Vite configuration to include a new proxy route for sharing functionality.
- Added a new Jotai atom for managing preview state in the application.
- Removed deprecated error fallback component to clean up the codebase.
- Implemented a new render style hook for consistent styling across components.
- Enhanced entry column components with improved error handling and layout adjustments.
- Updated various components to utilize the new render style and improved accessibility.

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

* update

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

* fix: ensure plugins array is initialized and update TypeScript configuration

- Initialized the plugins array in the mobile app configuration to prevent potential runtime errors.
- Updated TypeScript configuration to enhance module resolution and improve code organization with clearer path definitions.

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

* update lint

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

* refactor: update TypeScript types and improve component props

- Added `skipLibCheck` to TypeScript configuration for faster builds.
- Updated prop types in various components to allow for null values in refs, enhancing type safety.
- Refactored several components to ensure better type compatibility and maintainability.

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

* refactor(mobile): improve layout handling in NavigationHeader component

- Added console logs for debugging right and left widths.
- Adjusted layout structure to ensure proper width handling for header elements.
- Updated loading indicator positioning and visibility logic.

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

* refactor(mobile): update Pager and QRCode components to use forwardRef

- Refactored Pager and QRCode components to directly export as functional components with forwardRef.
- Updated type definitions to improve ref handling and ensure better type safety.
- Simplified component structure for improved readability and maintainability.

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

* refactor(ui): enhance FAB components with functional component structure and improved type definitions

- Converted FABBase and FABPortable to functional components using FC type for better type safety.
- Updated props to include optional ref handling, enhancing flexibility in usage.
- Simplified component structure for improved readability and maintainability.

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

* chore(deps): update react-native-ios-utilities patch and refine TypeScript configuration

- Updated the patch for react-native-ios-utilities in pnpm-lock.yaml to reflect a new hash.
- Enhanced TypeScript configuration in tsconfig.json by adding exclusion for node_modules and formatting paths for better readability.
- Cleaned up the react-native-ios-utilities.patch by removing unused exports from the index file.

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

* update

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-07 16:30:30 +08:00
DIYgod ec34018725 feat(ssr): open feed in app 2025-05-07 13:48:51 +08:00
DIYgod bac3cd0ffb feat(desktop): optimzie feed card styles 2025-05-06 19:38:39 +08:00
Stephen Zhou 59ec8926ee chore: fix type check 2025-05-06 18:31:51 +08:00
Stephen Zhou b1fcafa540 chore: fix tailwind resolve in extension 2025-05-06 18:27:01 +08:00
DIYgod 9873e9af0f feat(desktop): use analytics field 2025-05-05 20:57:18 +08:00
DIYgod eb26cde97d feat(desktop): feed preview 2025-05-05 15:28:13 +08:00
DIYgod 9641438dca feat(desktop): remove trending in home 2025-05-03 22:31:18 +08:00
DIYgod eb6a40954f feat(desktop): trending 2025-05-03 13:59:44 +08:00
Innei 67deba2449 fix: update import path for Spring component in Accordion
- Changed the import statement for the Spring component to include the .js extension for compatibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-02 00:45:24 +08:00
Innei 0e069ecdd7 feat: add Apple App Store metadata and improve server logging
- Added meta tags for Apple App Store integration in both desktop and SSR index HTML files.
- Enhanced server logging to display the server's IP address when running outside of Vercel.
- Introduced a constant for the Apple App Store ID to streamline future updates.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-30 22:37:42 +08:00
Innei 571a991dd4 fix(ssr): load i18n before renderer
- Changed the initialization function to be asynchronous, ensuring all necessary setups are completed before rendering.
- Modified the rendering logic in the Item component to return the memoized content directly.
- Cleaned up the NormalListItem component by removing unnecessary wrapper elements and updating class names for better styling consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-30 22:11:16 +08:00
Innei 333c64b1ad feat: enhance Accordion and Collapse components with improved type definitions and context management
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-30 21:27:33 +08:00
DIYgod 0357b7d167 feat(desktop): onborading redesign migration step and remove rsshub step (#3631)
* feat(desktop): redesign onborading migration step

* feat(desktop): remove rsshub onboarding
2025-04-30 20:06:43 +08:00
DIYgod 7ce5420f92 feat: optimize language selector display 2025-04-30 15:58:25 +08:00
Stephen Zhou 4dc6c7ce4c fix: default summary to false, allow trial user to update settings, close #3629 2025-04-30 15:57:43 +08:00
Stephen Zhou 8586d689a4 chore: type 2025-04-30 15:53:39 +08:00
Stephen Zhou be3811e0f8 style: format 2025-04-30 15:48:17 +08:00
Stephen Zhou f2a7cf0d8f chore: fix css 2025-04-30 15:44:26 +08:00
Stephen Zhou 47dfab2360 chore: update hono type 2025-04-30 15:40:04 +08:00
Innei 2d67706046 refactor(desktop): update radio and checkbox components for improved functionality
- Replaced Radio component with RadioGroupItem and RadioCard for better structure and styling.
- Introduced a new Checkbox component with enhanced state management and animations.
- Updated various files to utilize the new components, ensuring consistent behavior across the application.
- Removed deprecated Radio component and associated styles from the codebase.
2025-04-30 15:29:48 +08:00
DIYgod f48697c416 feat: simplified language list 2025-04-30 15:17:04 +08:00
Stephen Zhou 92182a68cd chore: update hono type 2025-04-30 00:54:52 +08:00
Stephen Zhou 615c866e09 chore: keep hono type file unformatted 2025-04-30 00:28:23 +08:00
Stephen Zhou 08b353f499 feat: star action (#3625) 2025-04-30 00:25:03 +08:00
Stephen Zhou ad4b25270e chore: fix type check 2025-04-29 22:21:09 +08:00
Innei 18d15a4c44 feat: enhance modal behavior and improve recommendations rendering
- Added onAnimationComplete handler to dismiss modals after exit animation.
- Refactored modal stack update logic to remove unnecessary nextFrame call.
- Introduced delay for masonry rendering in recommendations to prevent layout shifts and improve user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-29 20:07:28 +08:00
Innei 7844a88a00 chore: update readability package
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-29 17:32:32 +08:00
Stephen Zhou 0b114dc9fe chore: clean export 2025-04-29 10:40:18 +08:00
Innei 21f0db1633 chore(readability): bump version to 0.1.1 and update dependencies
- Updated package version from 0.1.0 to 0.1.1 in package.json.
- Moved '@follow/configs' to devDependencies for better dependency management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 23:38:47 +08:00
Innei e6aa58e25e feat(desktop): fallback readability if server error
- Added '@follow-app/readability' to the project and updated its import paths.
- Removed the obsolete readability utility from internal utils.
- Updated pnpm-lock.yaml to reflect new dependencies, including '@mozilla/readability' and adjustments to optional dependencies.
- Modified package.json files to include new dependencies and ensure proper workspace linking.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 23:31:42 +08:00
Innei 123e6937ee chore: update pnpm-lock.yaml and add readability package
- Updated pnpm-lock.yaml to include new dependencies and versions, including jsdom and utf-8-validate.
- Added a new package '@follow-app/readability' with its configuration files, including package.json, tsconfig.json, and build scripts.
- Adjusted import paths in tailwind.config.ts files for both desktop and SSR applications.
- Set the development environment variable in env.ts to false for production readiness.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 23:10:46 +08:00
DIYgod 065d061521 fix(mobile): tailwind import path 2025-04-28 22:35:31 +08:00
Innei 2a670cd694 chore: update dependencies across multiple packages
- Bumped versions of various dependencies in package.json files, including @tsslint, eslint, nbump, and others.
- Updated @types/node to 22.15.3 in several packages for compatibility.
- Adjusted versions of Radix UI components and other libraries to their latest releases for improved functionality and security.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 21:22:15 +08:00
Innei 4d746522f1 refactor: remove unused files and clean up project structure
- Deleted obsolete configuration files and unused components across various packages.
- Updated package.json files to reflect the removal of dependencies.
- Cleaned up code by removing unnecessary exports and unused imports in multiple modules.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 20:58:51 +08:00
Whitewater 99c1a6fb64 fix: adjust layout for scroll area issues (#3612)
* fix: adjust layout to workaround scroll area viewport display issues

* feat: add asChild prop to ScrollArea for enhanced flexibility
2025-04-28 07:47:41 +00:00
Innei 718587779c fix(color): handle canvas context error in getHighestWeightColor function
- Updated the getHighestWeightColor function to return a default color instead of throwing an error when the canvas context cannot be obtained.
- Removed unnecessary comments to improve code clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 22:58:10 +08:00
Innei 0b18afd7b9 feat(color): add getHighestWeightColor function for improved color extraction
- Introduced a new utility function, getHighestWeightColor, to calculate the most dominant color in an image based on pixel frequency.
- Updated recommendations-card component to utilize the new color extraction method, enhancing visual consistency in the UI.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 22:57:36 +08:00
lawvs 1d60f436ed fix: update import path for Spring constants 2025-04-27 15:40:04 +08:00