Commit Graph
1946 Commits
Author SHA1 Message Date
Konv Suu e3556e8ce0 feat(desktop): add email verification prompt and translation support (#3266) 2025-03-25 00:14:30 +08:00
Innei 9ac2e169c8 refactor(mobile): enhance stack navigation structure and add state handling
- Introduced AttachNavigationScrollViewProvider for better context management.
- Added StateHandler component to manage screen name updates based on navigation events.
- Updated imports and optimized component structure for improved readability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-24 23:47:37 +08:00
Innei 6c325d7cb8 feat: optimize user profile modal style
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-24 21:05:51 +08:00
Whitewater cc03e7d8fb fix: improve skeleton loading states in feed preview (#3265) 2025-03-24 16:31:59 +08:00
Innei 149ca034f6 fix(mobile): profile modal header style
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-24 15:44:07 +08:00
Stephen Zhou 8899c5ba14 fix: navigation status when entering from other pages (#3260) 2025-03-24 11:13:03 +08:00
Stephen Zhou b722e80fc8 chore: update changelog 2025-03-24 10:14:19 +08:00
Stephen Zhou 8a5f92d0e7 refactor: translation language -> action language (#3154)
* refactor: action language -> action language

* type

* mobile

* type

* fix

* prefer local settings, drop backward compatibility

* update

* update

* update

* chore: auto-fix linting and formatting issues

* update

* update

* update

* follow ui

* update

* add description

* fix build

* update

* update

* update
2025-03-24 10:10:48 +08:00
Stephen Zhou 2f8f13738c ci: introduce self host runner (#3237)
* ci: test self host runner

* update

* update

* push

* prefer self then github

* update

* log

* update

* update

* update

* update

* update

* try label

* Revert "try label"

This reverts commit 05d19cf24f760df39cb1c739e2b0ee073368137b.

* include build mac

* try hyoban to build mac

* update

* update

* update

* update

* push

* push

* push

* push

* push

* push

* try

* try

* Revert "try"

This reverts commit c1be653a93a87bfa14c6cfc7fb2e8ba20ae39bf4.

* fix build

* add runner

* Revert "add runner"

This reverts commit 70e0c357467d118bf2b28c1d979f5fc43cf2793a.

* clean

* avoid setup on self host

* update
2025-03-23 17:21:59 +08:00
DIYgod fbb91024aa feat: hide login.or when providers is empty 2025-03-23 09:31:56 +08:00
Stephen Zhou 7123b86d04 chore: fix lint 2025-03-23 08:00:39 +08:00
Candy 1c5d23f0d3 fix: sign up button type (#3239)
Cause the login form check not as expected
2025-03-22 22:22:44 +08:00
Innei 79aab469c3 feat(mobile): enhance screen options and header configuration
- Added new properties to ScreenOptionsContext for customizable header areas.
- Implemented resolveScreenOptions function to manage header configurations based on context options.
- Updated WrappedScreenItem to utilize new header area components for improved layout.
- Refactored EntryNormalItem to use SquareImage for better image handling.
- Introduced loading state for images to enhance user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-22 22:08:56 +08:00
Innei 953e09f161 refactor(mobile): replace TouchableOpacity with UINavigationHeaderActionButton in header components
- Updated HeaderCloseButton and HeaderSubmitButton to use UINavigationHeaderActionButton for improved consistency and functionality.
- Adjusted layout in HeaderCloseOnly to accommodate the new button component.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-22 19:09:25 +08:00
Stephen Zhou 68ec3644c4 build(native): fix build (#3236) 2025-03-22 14:13:01 +08:00
Wilsonyiyi f4772d2721 fix: hide video preview's action overlay (#3201) 2025-03-22 13:25:57 +08:00
Konv Suu a767920863 fix(desktop): update zen mode shortcut key notation (#3179) 2025-03-22 13:25:33 +08:00
Jerry Wong aaecfe44bf fix(locales): improve zh-HK translations across multiple files (#3222)
* fix(desktop): 更新繁體中文翻譯,修正用詞不當

* fix(desktop): 更新繁體中文翻譯,修正用詞不當
2025-03-22 13:25:03 +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
Whitewater 8b8487b1f7 fix: scroll to top in subscription tab by adding active prop (#3225)
* fix(mobile): add active prop to fix scroll to top in subscription tab

* refactor(mobile): convert SafeNavigationScrollView to forwardRef for improved ref handling

* fix: types
2025-03-22 00:40:24 +08:00
Stephen Zhou f1e896c929 chore: fix type (#3226) 2025-03-21 19:12:41 +08:00
Innei fca0a94e6e feat(mobile): emit screen change events on route appearance and disappearance
- Added event emissions for screen changes when a route appears or disappears, including the screen ID and route details.
- Updated the ScreenChangeEventPayload type to optionally include route information.

These changes enhance navigation tracking within the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-21 18:36:50 +08:00
Stephen Zhou 18081805c2 fix(mobile): scroll to mark read not work (#3223) 2025-03-21 18:12:31 +08:00
DIYgod 427045d2b4 feat: appx (#3219)
* feat: add appx maker

* update

* update

* fix

* update

* update

* update

* update

* Revert "update"

This reverts commit 798e6124dcd0fa2080f03fc1f952076bf5a11fd4.
2025-03-21 17:28:12 +08:00
Stephen Zhou c340bdcb6b fix(mobile): avoid itemPressable overlap (#3218)
* fix(mobile): avoid itemPressable overlap

* update
2025-03-21 17:24:50 +08:00
Innei c901414c71 fix(mobile): enhance ItemPressable with touch highlight feature
- Added a touchHighlight prop to ItemPressable to control the highlight effect on press.
- Implemented animated background color change using react-native-reanimated for a smoother user experience.
- Updated EntryNormalItem and EntrySocialItem to disable touchHighlight, ensuring consistent behavior across different item types.

These changes improve the interactivity and visual feedback of pressable items in the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-21 16:48:50 +08:00
Innei 4317337b43 fix(mobile): grouped list constants
- Added new constants for GROUPED_SECTION_TOP_MARGIN and GROUPED_SECTION_BOTTOM_MARGIN to standardize spacing in grouped list components.
- Updated GroupedList and related components to utilize the new margin constants, ensuring consistent layout across various screens.
- Refactored multiple settings routes to remove unnecessary wrapper views, improving layout efficiency and readability.
- Adjusted the About, Account, and other settings screens to enhance visual consistency and user experience.

These changes improve the overall layout and responsiveness of grouped list components in the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-21 16:34:34 +08:00
Stephen Zhou ac8ac2bad3 fix(mobile): category item border radius, background color (#3216) 2025-03-21 16:01:10 +08:00
Konv Suu 3316a12ecd fix(desktop): reset currentTime when audio duration is invalid after metadata is loaded (#3203) 2025-03-21 00:02:59 +08:00
weiwei d8d41a2199 fix(desktop): the interaction styles of social media collections are inconsistent. (#3206) 2025-03-20 22:28:27 +08:00
Whitewater b0de460896 feat(mobile): pass view parameter to fetch collection (#3202) 2025-03-20 18:30:21 +08:00
DIYgod 87110f9fc3 release(mobile): release v0.1.2 2025-03-20 16:20:42 +08:00
Innei 0a1af86931 fix(mobile): integrate ListScreen navigation and enhance list item actions
- Imported ListScreen for navigation within the Lists module.
- Updated AddListButton to present ListScreen on press.
- Modified ListItemCellImpl to navigate to ListScreen with the selected list's ID when the edit action is triggered.
- Adjusted GroupedInsetListCard to hide separators for improved layout.

These changes enhance user navigation and interaction within the lists feature of the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-20 16:14:25 +08:00
Innei 2e85f493c1 feat(mobile): enhance grouped list layout and responsiveness
- Updated constants for GROUPED_LIST_MARGIN, GROUPED_LIST_ITEM_PADDING, and GROUPED_ICON_TEXT_GAP to utilize PixelRatio for improved responsiveness.
- Refactored GroupedList and related components to apply new margin and padding constants, ensuring consistent spacing across various screen sizes.
- Adjusted styles in multiple subscription items and separators to incorporate the new layout constants, enhancing visual consistency.

These changes improve the overall layout and user experience of grouped list components in the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-20 16:09:58 +08:00
Innei b822ee8b51 feat(mobile): introduce grouped list components and improve layout
- Added constants for icon text gap and a new enum for card item styles.
- Implemented GroupedInsetListCard with customizable separator support.
- Enhanced GroupedList and related components to utilize new styles and layout adjustments.
- Updated various components to incorporate pixel ratio for responsive design.
- Refactored item rendering in subscription lists to support first and last item styling.

These changes improve the visual consistency and responsiveness of grouped list components in the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-20 16:09:58 +08:00
DIYgod 7dc4bc5749 fix: x-mas header in get-provider api 2025-03-20 16:06:16 +08:00
DIYgod b25eaa0f97 chore: fix mas build 2025-03-20 15:31:18 +08:00
Whitewater f54d05f950 fix(mobile): ensure minimum padding at the bottom of the tab bar (#3198) 2025-03-20 14:22:43 +08:00
DIYgod f9f7425468 release(desktop): release v0.3.13 2025-03-20 14:19:49 +08:00
Innei f600ebbca9 fix(mobile): hide UserAvatar preview
- Replaced the noPreview prop with a new preview prop in the UserAvatar component, defaulting to true.
- Updated the rendering logic to conditionally display the avatar based on the preview prop.
- Adjusted instances of UserAvatar in EntryReadHistory and action.tsx to utilize the new preview prop.

These changes enhance the flexibility of the UserAvatar component by allowing for more controlled rendering behavior.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-20 14:19:25 +08:00
Innei 18eef52fdb chore(mobile): update package versions and improve color handling
- Bumped versions of `react-native-uikit-colors`, `apple-uikit-colors`, and `tailwindcss-uikit-colors` to 0.3.10 in `pnpm-lock.yaml` and `package.json` for consistency and to leverage the latest features and fixes.
- Updated the import from `useCurrentColors` to `useCurrentColorsVariants` in the `index.tsx` provider file to align with the new API.
- Added a blank line in `Actions.tsx` for improved code readability.

These changes ensure the application is using the latest color utilities and maintain clean code practices.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-20 14:09:53 +08:00
Innei 8003310d65 feat(mobile): enhance Tabbar component with placeholder support
- Added a placeholder mechanism in the Tabbar component to handle cases where no tab screens are available, improving user experience by preventing empty tab displays.
- Utilized `useMemo` to create a default placeholder tab screen, ensuring efficient rendering.
- Updated the rendering logic to conditionally display either the actual tab screens or the placeholder.

These changes optimize the Tabbar functionality and enhance the overall navigation experience within the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-20 14:04:08 +08:00
DIYgod 001ea90c27 fix(mobile): actions rules compatibility 2025-03-20 14:02:21 +08:00
Innei a635c242b4 feat(mobile): add lazy loading support to TabScreen component
- Introduced a `lazy` prop to the `TabScreen` and `TabScreenComponent` interfaces to enable lazy loading of tab screens.
- Updated the `TabScreen` implementation to conditionally render based on the `lazy` prop, improving performance by loading screens only when necessary.
- Set the `lazy` property to `true` for the `DiscoverTabScreen` to utilize the new functionality.

These changes enhance the tab navigation experience by optimizing screen loading behavior.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-20 13:52:42 +08:00
Innei 51e517babd fix(mobile): update navigation handling in SearchFeed and SearchList components
- Changed navigation method from `pushControllerView` to `presentControllerView` for better user experience.
- Added `itemStyle` prop with `ItemPressableStyle.Plain` to `ItemPressable` in both components for consistent styling.

These updates enhance the navigation flow and visual consistency within the search functionality of the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-20 13:46:27 +08:00
Innei 55aad71ab2 feat(mobile): integrate RootSiblingParent and Navigation context
- Wrapped children in RootSiblingParent within the App component to manage sibling overlays.
- Renamed main application component from App4 to Entry for clarity.
- Enhanced dialog component by adding SafeAreaProvider and NavigationInstanceContext for improved layout and navigation handling.
- Cleaned up provider structure by removing unnecessary RootSiblingParent in RootProviders.

These changes aim to improve the overlay management and navigation context within the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-20 12:19:20 +08:00
DIYgod 4c83d673df chore(mobile): bump script 2025-03-20 11:26:51 +08:00
WhitewaterandStephen Zhou ef7ba5b3f5 refactor(mobile): unify colors in dark and light modes (#3193)
* refactor: remove unnecessary ItemSeparator from SectionTitle component

* Revert "refactor: remove unnecessary ItemSeparator from SectionTitle component"

This reverts commit 0d2ed81f8c0af44b1bc20caec1196e0df6cf690a.

* unify color

---------

Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2025-03-20 11:09:13 +08:00
Stephen Zhou c2d5e977ff fix: do not decode cookie (#3196) 2025-03-20 10:04:51 +08:00
DIYgod 781ee5535d feat: x-mas header 2025-03-20 10:03:05 +08:00