Commit Graph
47 Commits
Author SHA1 Message Date
Innei 55f20398be fix(ui): update Button component props for consistency in styling
- Changed `className` to `buttonClassName` in Button components for improved prop consistency.
- Ensured uniformity in button styling across the Login and Register forms.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-10 00:13:29 +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
DIYgod 7079022e2f fix(ssr): styles 2025-05-08 12:24:56 +08:00
DIYgod 21760f82b5 feat(ssr): optimize login 2025-05-08 11:29:08 +08:00
DIYgod 9a90b2cb4d feat(ssr): optimize ssr header 2025-05-07 21:22:49 +08:00
Innei 7c2b845452 fix(react19): integrate code-inspector-plugin and remove click-to-react-component references across desktop and ssr applications
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-07 20:01:38 +08:00
DIYgod aca17a5fc0 feat(ssr): mobile styles 2025-05-07 18:47:48 +08:00
DIYgod 80d4d36aa7 feat(ssr): optimize user page 2025-05-07 17:54:10 +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 857c5150c5 feat(ssr): remove askOpenInFollowApp; optimize feed page 2025-05-07 12:38:14 +08:00
Innei 3076211b47 fix: correct Apple App Store metadata formatting and add missing import
- Updated the content format for the Apple App Store metadata in the feeds metadata file.
- Added the import statement for APPLE_APP_STORE_ID in the lists metadata file to ensure proper functionality.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-30 22:41: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
DIYgod 1b9d2a5a86 feat: fallback zh-tw to zh-cn 2025-04-30 18:22:46 +08:00
DIYgod f48697c416 feat: simplified language list 2025-04-30 15:17:04 +08:00
Innei 1c50ca17b7 fix: standardize FeedIcon import across user and list pages
- Updated import statements for FeedIcon in both the user and list pages to maintain consistency.
- Removed redundant import paths to streamline the code.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 21:53:54 +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
Innei a525406600 refactor(ui): update styling for improved visual consistency across components
- Changed background classes to 'bg-material-ultra-thick' in various UI elements including media, buttons, and modals for a cohesive design.
- Standardized text color usage to 'text-text-secondary' and 'text-material-opaque' in entry items and notifications for better readability.
- Enhanced hover effects and transitions for buttons and interactive elements to align with design standards.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 20:34:35 +08:00
Innei 1c588f39ac refactor: replace some legacy css color variables
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-22 23:12:25 +08:00
Innei c254486e41 feat: integrate Folo icon across various components
- Replaced instances of APP_NAME with the new Folo icon in PoweredByFooter, FeedColumnMobile, LoginModalContent, SettingModalLayout, TimelineColumnHeader, and Layout components.
- Added Folo icon component to the project.
- Updated localization to include a new entry for copying the logo text SVG.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-19 20:11:47 +08:00
Innei 735fe90a10 chore: migrate from framer-motion to motion library
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-18 00:12:20 +08:00
0-o0 4456fcf9f9 feat(ssr): enhance login and signup experience (#3510) 2025-04-17 20:58:37 +08:00
DIYgod 319216e4ce feat: one time token (#3482)
* feat: unified auth for desktop and ssr

* feat: use one time token

* feat: remove better auth patch

* feat(desktop): handle session changes

* feat(desktop): recover ck auth for compatibility
2025-04-15 20:27:20 +08:00
DIYgod 1b9d010b79 feat(ssr): env.ssr 2025-04-15 12:54:43 +08:00
0-o0 81fcb6434c feat(ssr): enhance email validation and reCAPTCHA handling
feat(ssr): enhance email validation and reCAPTCHA handling
2025-04-13 22:41:08 +08:00
Innei e5047246b1 feat(desktop): integrate MagneticHoverEffect into NormalList and NormalListItem components
- Replaced standard div elements with MagneticHoverEffect to enhance hover interactions.
- Simplified styling by removing unnecessary hover classes, improving code clarity and visual feedback.

These changes enhance user engagement and visual appeal across the affected components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-10 00:01:22 +08:00
Stephen Zhou 8ba80e546f refactor(ssr): remove unused locales (#3384)
* refactor: remove unused locales

* better default

* Revert "better default"

This reverts commit 272ca1501e80cc982e39abc1c4279657eb3a0b6b.
2025-04-01 20:04:18 +08:00
Stephen Zhou 0d90900172 refactor: locales structure (#3381)
* refactor: locales structure

* move

* avoid external in app

* Revert "move"

This reverts commit e89a9263784199719be0c42c0813b6e6bcd7b818.

* update

* type check

* update

* update

* update

* fix filter language
2025-04-01 11:08:10 +08:00
Stephen Zhou b95237f22e refactor: move locales folder (#3374)
* chore: move locales out

* fix: correct import

* move generate local script
2025-03-31 18:59:29 +08:00
DIYgod e4d5dbd7a7 feat: firebase analytics 2025-03-28 00:01:07 +08:00
Innei 217e1a8f2a feat(desktop): simplify settings via enhance settings toggle
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-26 23:20:53 +08:00
Whitewater 98747cbbc1 chore: update editor configuration and environment variables (#3301) 2025-03-26 08:50:56 +00:00
Innei b5fc2f6a70 feat: add some tracker
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-25 22:26:10 +08:00
Stephen Zhou fa3cce2fa9 build: update lint config (#3234)
* build: update lint config

* update

* update

* update
2025-03-22 12:35:53 +08:00
DIYgod f2e29252f2 feat: rename (#3181)
* feat: rename

* fix

* fix

* fix
2025-03-19 21:43:55 +08:00
DIYgod f7b93ccc71 fix(ssr): add feed popup 2025-03-18 19:08:36 +08:00
DIYgod d54535dc45 feat: remove @auth/core 2025-03-13 18:14:40 +08:00
DIYgod ddd3d39204 feat: add recaptcha to sign in and forget password 2025-03-07 21:29:08 +08:00
DIYgod 00c807f86d feat: put token into headers 2025-03-07 21:29:07 +08:00
Innei b5f0b7f98d refactor: update url-builder import paths
This commit updates the import paths for the UrlBuilder in desktop and SSR client applications, using the correct import from `@follow/utils/url-builder` and ensuring consistent module organization.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 20:42:18 +08:00
Innei 2314b996d4 refactor: update auth import paths to use @client/lib/auth
This commit updates import paths for auth-related functions across multiple files, changing them from `~/lib/auth` to `@client/lib/auth`. The changes ensure consistent and correct import paths for authentication functions in the client application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 19:34:11 +08:00
Innei b88196b9e1 refactor: migrate auth functions to local import path
This commit updates multiple files to import auth-related functions from a local `~/lib/auth` instead of `@follow/shared/auth`. The changes ensure consistent import paths and improve local module organization.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 19:22:42 +08:00
Innei d20a06dad3 refactor: extract all env from shared
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 19:20:21 +08:00
Innei 3e84f73aec chore: extract ssr as single app
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 20:01:18 +08:00