Commit Graph
1139 Commits
Author SHA1 Message Date
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 90e56cf7f9 feat: improve text rendering with hyphenation and configurable editor, closes #2671
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-03 01:28:56 +08:00
Wilson 4045251967 fix(feed-column): correct sorting icon status (#2652) 2025-01-24 21:13:24 +08:00
lawvs 79daad4db3 fix: ignore customize toolbar in EntryItem context menu 2025-01-24 11:51:13 +08:00
Stephen Zhou bc881218ad fix: support multiple route path, close #2638 2025-01-23 19:18:18 +08:00
Stephen Zhou d6b3a8cdc5 fix: reset tts when play again, close #2054 2025-01-23 17:22:20 +08:00
Stephen Zhou e64da259e7 fix: delay the setVoice until before starting play tts, close #2042 2025-01-23 15:42:36 +08:00
Stephen Zhou 9f30194db5 fix: use electron store (#2644) 2025-01-22 22:27:56 +08:00
lawvs c052749162 feat: add entry list 2025-01-22 13:06:25 +08:00
Stephen Zhou 85b00f79db fix: pass callbackURL, close #2630 2025-01-22 10:54:53 +08:00
Stephen Zhou 500f0ba260 fix: missing runtime option, close #2630 2025-01-22 10:18:42 +08:00
DIYgod 127ccae3f7 feat: get video preview url from attachments 2025-01-21 20:33:11 +08:00
Konv Suu 166e09563d feat(discover): implement localized search results (#2623) 2025-01-21 11:04:18 +08:00
Konv Suu 4d6a5a2aca feat(rsshub): add minimum value to input field (#2572) 2025-01-21 11:03:53 +08:00
Konv Suu ca47409a11 fix: update ScrollArea className for better width handling (#2616) 2025-01-20 19:42:26 +08:00
Stephen Zhou 364d23f729 feat: merge actions for toggling state (#2617) 2025-01-20 17:43:33 +08:00
Stephen Zhou 2cd1b5daf9 chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
Stephen Zhou bbb4e7d416 chore: add more type check 2025-01-18 15:02:28 +08:00
DIYgod ac29a18135 fix: pass in otp code 2025-01-18 13:59:21 +08:00
Stephen Zhou bc9a9d4310 fix(auth): only set status as unauthenticated when there is no session
try #2473
2025-01-18 08:17:27 +08:00
Stephen Zhou 8be6c13a76 fix(TOTPForm): focus to code after fail 2025-01-17 23:38:51 +08:00
Stephen Zhou dbd238a0f9 fix: no password hint when enable 2fa 2025-01-17 22:36:57 +08:00
Stephen Zhou 818b024bbc chore: update hono type 2025-01-17 21:19:16 +08:00
Konv Suu 7e1618cfc2 feat: add i18n for customize toolbar (#2592) 2025-01-17 09:48:15 +08:00
Stephen Zhou dfaa61f7e7 chore: update 2025-01-17 09:22:42 +08:00
Stephen Zhou 7129db766c fix: ai entry actions with user role checks, close #2591 2025-01-17 08:57:20 +08:00
Whitewater 69704f303d fix: dispatch I18N_UPDATE event after language load (#2590) 2025-01-16 23:41:56 +08:00
fb531b1c9d feat: 2fa (#2540)
Co-authored-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <i@innei.in>
2025-01-16 20:35:30 +08:00
Suemor a231e178c1 feat(locales): dynamically update copyright year (#2583) 2025-01-16 16:26:14 +08:00
Konv Suu 421708630f fix: enhance shortcut handling for OS compatibility (#2576)
* update

* typo

* update

* update
2025-01-16 13:20:14 +08:00
Stephen Zhou 44617411a1 chore: update lint 2025-01-16 11:35:51 +08:00
Stephen Zhou 4ae7290de1 fix: crash when using Google Translate, close #2121
https://github.com/facebook/react/issues/11538
Static text nodes must be wrapped when they are preceeded by a conditional expression.
This case looks like it cannot be captured using eslint.
2025-01-16 10:22:22 +08:00
Innei 23152d0222 fix: enhancing the Visibility of Download Buttons on White Background Images, fixed FOL-1270
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-15 19:55:26 +08:00
Innei e8ebf471c4 chore: remove unnecessary margin from AudioItemSkeleton component, resolves https://linear.app/follow-app/issue/FOL-1276/loading-differences-between-different-views-in-widescreen-mode
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-15 19:01:22 +08:00
Innei fb2a4589eb fix(follow): fix follow modal overflow scrollbar position, fix #1238
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-15 17:16:01 +08:00
Innei aeb5965db7 chore: remove default fillout error issue
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-15 13:57:02 +08:00
Innei 00a07647f8 feat: enhance input fields for numeric entry
- Added `inputMode="numeric"` and `pattern="[0-9]*"` attributes to number input fields in WithdrawModalContent, SetModalContent, and ListCreationModalContent components.
- These changes improve user experience by ensuring that numeric keyboards are displayed on mobile devices, facilitating easier input of numerical values.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-15 13:24:10 +08:00
Eric Zhu 8ab6835141 chore: apply custom css to mobile (#2533) 2025-01-14 22:06:32 +08:00
DIYgod 225e470db8 feat: checkLanguage utils 2025-01-14 20:51:42 +08:00
DIYgod fe44c38b49 feat: one more line clamp for translated title 2025-01-14 20:23:58 +08:00
DIYgod 902d68180d fix: missing translation in pitcure masonry 2025-01-14 20:23:58 +08:00
DIYgod 75b9135a02 feat: optimize translation display 2025-01-14 20:23:58 +08:00
DIYgod f850474d13 feat: optimize language check 2025-01-14 20:23:58 +08:00
DIYgod 3c5dba4d7a feat: disable more line clamp for translation 2025-01-14 20:23:58 +08:00
Konv Suu 398e02c1e9 chore(profile): unify with other pages (#2563) 2025-01-14 19:35:39 +08:00
DIYgod 3dbf7c7ffa fix: fast scroll mark read 2025-01-14 18:12:56 +08:00
Whitewater 0a644730be refactor: rename sticky check functions for clarity (#2542) 2025-01-12 00:16:11 +08:00
Wilson d77ed3cb37 fix(lists): fix duplicate addition issue in manage feeds functionality (#2544) 2025-01-11 12:18:18 +08:00