Commit Graph
321 Commits
Author SHA1 Message Date
DIYgod dbc47659b1 fix(mobile): images in video item 2025-03-11 17:58:07 +08:00
DIYgod 73fb08ed55 feat(mobile): avoid direct expo-image 2025-03-11 16:05:20 +08:00
Stephen Zhou dfc7cba17c update 2025-03-11 11:32:29 +08:00
Stephen Zhou 6d09103245 fix 2025-03-11 11:27:37 +08:00
DIYgod 2c0ae4dbf1 chore: recover .env.example 2025-03-10 18:40:04 +08:00
Stephen Zhou b5272910e2 build: update lint (#3010)
* chore: update deps

* update patch

* disable @eslint-react/naming-convention/use-state

* fix: enable "TAILWIND_MODE"

* update
2025-03-09 21:53:10 +08:00
DIYgod 519b82c790 feat(mobile): use app check 2025-03-09 16:23:33 +08:00
DIYgod b04d5b0685 fix: request origin 2025-03-09 09:02:22 +08:00
DIYgod ddd3d39204 feat: add recaptcha to sign in and forget password 2025-03-07 21:29:08 +08:00
Stephen Zhou d585dd31b8 fix: app protocol in prod (#2992) 2025-03-07 08:14:31 +00:00
DIYgod 7cc7f54562 feat: reCaptcha verify for claiming 2025-03-06 19:30:26 +08:00
DIYgod c31787713a feat: add google recaptcha 2025-03-06 19:30:26 +08:00
Stephen Zhou 699b4d0ad8 feat(mobile): readability (#2978)
* feat(mobile): readability support

* update

* update

* silent lint

* chore: auto-fix linting and formatting issues

* update

* update

* manually trigger fetch
2025-03-06 15:50:45 +08:00
Innei 5f1796d4a6 feat(mobile): add environment profile management
- Introduce `proxyEnv` to dynamically manage environment configurations
- Add `EnvProfileIndicator` to show current environment profile
- Create `useEnvProfile` and `setEnvProfile` for runtime env switching
- Update imports and references to use `proxyEnv` instead of static `env`

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-05 23:21:29 +08:00
DIYgod 0be6255d0b fix: types 2025-03-05 21:29:23 +08:00
Innei 6588b3e7f4 feat(mobile): add estimated duration display for entry items (#2956) 2025-03-05 21:10:39 +08:00
DIYgod 7f7b7c55ab feat: init firebase 2025-03-05 21:02:57 +08:00
kovsu 3f1cfcc13a update 2025-03-05 00:01:17 +08:00
Innei 892f782169 feat: Add SVG and suspended user support, #2945
- Extend markdown parsing to support SVG elements and attributes

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 22:08:31 +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 d6795a0cab fix: import resolver for web
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 18:30:15 +08:00
DIYgodandDIYgod 8b07a9a573 chore: desktop dir (#2924)
* chore: desktop dir

* chore: desktop src and configs

* chore: auto-fix linting and formatting issues

* fix: path

* fix: path

* fix: path

* fix: path

* fix

* fix

* fix

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: DIYgod <8266075+DIYgod@users.noreply.github.com>
2025-03-02 17:19:22 +08:00
DIYgod 8f422af1c1 feat: unifed image proxy and referer handler 2025-03-01 19:43:19 +08:00
DIYgod e4e70acef2 feat: add desktop specific resolver 2025-03-01 17:38:43 +08:00
DIYgod fd81327913 feat: unified env 2025-03-01 15:00:36 +08:00
DIYgod d9e15de48e feat: add mobile specific resolver functionality 2025-03-01 14:40:41 +08:00
DIYgod 861ae35819 fix: NavigationHeaderBackButton 2025-02-28 08:56:57 +08:00
DIYgod 0c761925b1 fix(mobile): list entries cache 2025-02-27 12:21:19 +08:00
Whitewater 6cbdf4599c feat(mobile): add context menu for video (#2876)
* chore: clean code

* feat(mobile): add star fn in the image context menu

* feat(mobile): add video context menu with star, open, copy, and share options

* feat(mobile): integrate video context menu and enhance media item rendering

* refactor: strict types

* chore: clean code

* fix: types
2025-02-25 13:27:04 +08:00
Stephen Zhou f324fc05dc fix: update framer motion version (#2884) 2025-02-25 02:41:20 +00:00
DIYgod a1996c8963 feat: remove pictureViewFilterNoImage 2025-02-24 20:43:55 +08:00
DIYgod 6fe8dc910f fix: lists fetch 2025-02-24 11:52:30 +08:00
Innei ba02009c9a refactor(timeline): extract quick selector panel into separate component
- Created new QuickSelectorPanel component
- Moved panel rendering logic out of TimelineSelector
- Extracted triangle menu interaction logic into a separate hook
- Simplified TimelineSelector component structure
- Exported useTriangleMenu hook from hooks package

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-20 23:31:34 +08:00
Stephen Zhou 8e2dfe99c8 feat(mobile): audio player (#2801) 2025-02-20 20:40:44 +08:00
Stephen Zhou bd476807e5 refactor(native): remove sn pro font (#2828) 2025-02-20 20:31:26 +08:00
DIYgod 71bddca2e8 chore: disbale prettier objectWrap 2025-02-20 18:03:18 +08:00
DIYgod ac64569da0 chore: fix test 2025-02-19 16:08:16 +08:00
DIYgod 36ea29ae7d chore: update dependencies 2025-02-19 15:27:20 +08:00
DIYgod c475ecd400 feat: timeline button width 2025-02-13 22:59:37 +08:00
DIYgod 4303da22e1 feat: revert view merge, hide unused view 2025-02-13 22:59:37 +08:00
Innei d87a92a095 feat: custom content font size and line height, resolves FOL-354
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-11 23:09:57 +08:00
DIYgod d9bc62b44c feat: get full list feeds 2025-02-11 21:35:29 +08:00
DIYgod 756e76f167 feat: update githubusercontent webp url 2025-02-11 10:49:43 +08:00
Innei 8fede2f0c4 refactor: update routes from /feeds to /timeline and improve timeline navigation (#2716)
* refactor: update routes from /feeds to /timeline and improve timeline navigation

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

* refactor: improve timeline selector and list view rendering

- Optimize timeline selector with auto-scrolling and dynamic rendering
- Enhance list switch button with improved styling and title display
- Memoize and optimize timeline-related hooks and components
- Add utility functions for scrolling and visibility detection

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

* fix: prevent timeline selector error when timelineId is undefined

- Add null check for timelineId before processing timeline selection
- Ensure safe handling of timeline selector when no timeline is selected

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

* feat: add InboxSwitchButton for timeline navigation

- Implement InboxSwitchButton component for inbox timeline selection
- Add handling for inbox timeline in TimelineSwitchButton
- Support unread indicator and navigation for inbox timelines

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-10 22:03:41 +08:00
Innei 64db32ef34 feat: Implement the webview sandbox using a microfront end for rn to implement the full html renderer (#2691)
* init

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

* feat: parser and renderer

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

* feat: shared webview

* feat: add UIColor hex conversion extension and accent color asset and xhr rewrite

* feat(mobile): enhance WebView and HTML rendering for iOS

- Refactor SharedWebView module with improved JavaScript injection and link handling
- Add ModalWebViewController for opening links in a modal view
- Implement dynamic content height measurement
- Update HTML renderer with Jotai state management
- Improve WebView configuration and debug mode

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

* lockfile

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

* chore: auto-fix linting and formatting issues

* fix(mobile): improve WebView debug mode and UI text styling

- Remove debug-only conditional for WebView inspector
- Add text label class to GroupedInsetListActionCell for consistent styling

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

* update

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

* feat(mobile): add FullScreenWKWebView for iOS WebView layout

- Create custom WKWebView subclass to override safe area insets
- Enables full-screen WebView rendering without default padding

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

* chore(mobile): remove FullScreenWKWebView Swift file

- Delete unused custom WKWebView subclass for iOS
- Cleanup unnecessary file after previous implementation

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

* feat(mobile): refactor iOS WebView infrastructure

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

* feat(mobile): add native helper module and improve entry detail screen

- Add HelperModule for iOS to open links in a modal WebView
- Implement cross-platform link opening mechanism
- Enhance entry detail screen with dynamic title and scroll behavior
- Add loading indicator for entry content
- Refactor navigation and scroll view components

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

* fix(mobile): improve WebView JavaScript and URL loading thread safety

- Dispatch JavaScript evaluation and URL loading on the main thread
- Ensure thread-safe WebView interactions for iOS
- Prevent potential race conditions in SharedWebViewModule

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

* refactor(mobile): remove useOpenLink hook and update link opening mechanism

- Replace custom useOpenLink hook with native openLink function
- Update WebView navigation and recommendation list item to use new link opening method
- Remove unnecessary hook and simplify link handling

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-07 23:15:29 +08:00
DIYgod 2f3655cf56 feat: optimize login modal 2025-02-07 20:08:37 +08:00
DIYgodandInnei 34b15c671b feat: merge views, timeline list (#2690)
* feat: remove audio and notifications view; add list to view list

* feat: remove active view atom, adjust routing parameters, new column-switching methods

* fix: types

* feat: recover list in feeds

* fix: import circular

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2025-02-05 19:20:08 +08:00
Innei a84a4d273a chore: fix types and lint error
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-04 23:35:51 +08:00
Innei 295b99e2ca chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-03 01:45:49 +08:00
Innei 86ed6d4eed fix(rn-entry): entry content layout
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-26 23:05:54 +08:00