Commit Graph

4565 Commits

Author SHA1 Message Date
Innei 4d96f9103d
feat(discover): enhance recommendations display with new list item component and improved layout
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-07 19:26:53 +08:00
DIYgod aca17a5fc0
feat(ssr): mobile styles 2025-05-07 18:47:48 +08:00
Stephen Zhou af6f7d171b
fix(mobile): edit feed subscription view 2025-05-07 18:25:24 +08:00
Stephen Zhou d1d1fb4a75
fix(mobile): video style in social media, close #3665 2025-05-07 18:00:09 +08:00
DIYgod 80d4d36aa7
feat(ssr): optimize user page 2025-05-07 17:54:10 +08:00
Stephen Zhou cdf2fa738f
fix(desktop): no scroll for feed entires preview 2025-05-07 17:39:44 +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
Konv Suu 734611052b
fix(desktop): font names that include whitespace must be quoted (#3674)
* fix(desktop): font names that include whitespace must be quoted

* update
2025-05-07 15:39:41 +08:00
Konv Suu 196c94ac1c
fix(desktop): wrong order and icon in sort list header (#3675) 2025-05-07 15:24:24 +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
Stephen Zhou 51afed6be3
fix(mobile): hide readability action when enabled from action 2025-05-07 11:29:11 +08:00
Stephen Zhou 8bd186a4c3
fix(mobile): no scroll for ai summary 2025-05-07 11:21:34 +08:00
Stephen Zhou f3313e68e2
fix(mobile): no unread status update if no changes 2025-05-07 10:40:23 +08:00
Stephen Zhou 26a3d83027
fix(mobile): correct update of badge unread count ​​on refresh 2025-05-07 10:26:18 +08:00
Stephen Zhou a1a95216e7
feat(mobile): auto toggle readability for empty content 2025-05-07 09:57:06 +08:00
dependabot[bot] 59ec2443e9
chore(deps): bump signpath/github-action-submit-signing-request (#3626)
Bumps [signpath/github-action-submit-signing-request](https://github.com/signpath/github-action-submit-signing-request) from 1.1 to 1.2.
- [Commits](https://github.com/signpath/github-action-submit-signing-request/compare/v1.1...v1.2)

---
updated-dependencies:
- dependency-name: signpath/github-action-submit-signing-request
  dependency-version: '1.2'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 23:53:22 +08:00
lawvs 6b6b7e2a8c refactor(mobile): simplify TabBarRootWrapper props and update type definitions 2025-05-06 23:47:35 +08:00
lawvs 07452b5e70 refactor(mobile): remove platform-specific files for bottom tab 2025-05-06 23:45:43 +08:00
lawvs 4a0feb7c11 refactor(mobile): replace TabScreen with common wrapper 2025-05-06 23:37:08 +08:00
DIYgod 9f6544dc4a
feat(desktop): recommend analytics view in subscription form 2025-05-06 20:58:27 +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
lawvs 65291ff7f0 refactor(mobile): refactor TabBarPortal to use native wrapper component 2025-05-06 17:12:18 +08:00
Stephen Zhou cee212cb2f
fix(desktop): feed form height 2025-05-06 16:48:50 +08:00
Konv Suu 77504cdf57
chore(desktop): minor improvement for discover page (#3660)
* chore(desktop): minor improvement for discover page

* update
2025-05-06 16:44:40 +08:00
Stephen Zhou 07b46a6d10
refactor(desktop): split to avoid circular imports 2025-05-06 16:39:56 +08:00
Cason Kervis eb98f898e8
fix(grid-entry): fix rowVirtualizer not proper refresh when view change (#3645)
* fix(grid-entry): fix rowVirtualizer not proper refresh when view change

* fix(grid-entry): fix measureRef defined but not proper use
2025-05-06 16:34:22 +08:00
Cason Kervis 8dee78d51d
feat: add support for render Markdown in AI Summary (#3641) 2025-05-06 16:33:50 +08:00
Stephen Zhou cf561933da
fix(desktop): apply custom content style for social media and video, close #3630 2025-05-06 16:02:00 +08:00
grtsinry43 ad3ac4926a
feat(mobile): implement custom tab bar and item pressable components on android native (#3613)
* feat(mobile): implement custom tab bar and item pressable components on android native

Adds native Android implementations for custom UI components previously available on iOS:

- **Custom Tab Bar:**
    - Implements `TabBarRootView` using `ViewPager2` and a custom `CustomTabBarView` (LinearLayout) to host RN-rendered tab items (`TabBarPortalView`).
    - Provides `TabScreenView` as a container for page content within Fragments managed by `TabBarPagerAdapter`.
    - Includes `TabBarModule`, `TabScreenModule`, and `TabBarPortalModule` for Expo autolinking and JS bridging (props: `selectedIndex`, event: `onTabIndexChange`, function: `switchTab`).
    - This approach mirrors the iOS version by avoiding the native `TabLayout` and allowing full customization of the tab bar via React Native components.

- **Item Pressable:**
    - Implements `ItemPressableView` extending `ExpoView`.
    * Provides native touch feedback using Android's foreground ripple (`selectableItemBackground`) by default.
    * Includes a prop `touchHighlight` to enable/disable feedback.
    * Fires `onItemPress` event on click/tap.
    * Includes `ItemPressableModule` for Expo integration.

* fix(mobile): Adjust content view `padding` to prevent overlap with Bottom Bar

* feat(mobile): implement native tab bar components and improve tab switching logic
2025-05-06 16:00:03 +08:00
DIYgod 9873e9af0f
feat(desktop): use analytics field 2025-05-05 20:57:18 +08:00
DIYgod 7500ad2f05
feat(desktop): use feed preview in trending 2025-05-05 17:53:20 +08:00
DIYgod eb26cde97d
feat(desktop): feed preview 2025-05-05 15:28:13 +08:00
Whitewater 20e63fc194
fix: handle Hugo code block workaround (#3638) 2025-05-04 23:54:15 +08:00
DIYgod 6cf3f77442
fix: types 2025-05-04 12:06:36 +08:00
DIYgod d8e6035a66
feat(desktop): i18n for trending 2025-05-04 12:02:30 +08:00
DIYgod 7a8a092c63
feat(desktop): add trending in onboarding 2025-05-04 11:53:36 +08:00
DIYgod 9641438dca
feat(desktop): remove trending in home 2025-05-03 22:31:18 +08:00
Innei 92ee0a04fa
feat(desktop): enhance recommendations card styling
- Updated the layout and styling of the recommendations card to improve visual appeal and user interaction.
- Introduced hover effects and adjusted positioning of elements for a more dynamic presentation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-03 21:56:41 +08:00
Innei 4a6f6cf94e
fix(desktop): update styling for UpdateNotice component
- Changed class names for the UpdateNotice component to improve consistency in styling across mobile and desktop versions.
- Updated background and border classes to align with the new design system.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-03 21:47:58 +08:00
DIYgod a94c3be42a
feat(desktop): follow status in trending list 2025-05-03 21:29:45 +08:00
DIYgod 1179dad29f
feat(desktop): display trending in home 2025-05-03 21:17:52 +08:00
DIYgod 58ce9f614a
feat(desktop): trending filters 2025-05-03 18:09:11 +08:00
DIYgod eb6a40954f
feat(desktop): trending 2025-05-03 13:59:44 +08:00
DIYgod a14f6940fc
feat(desktop): discover feed card module 2025-05-03 13:13:47 +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