Commit Graph

1196 Commits

Author SHA1 Message Date
DIYgod 3f01ce87fa
feat: optimize translation display 2025-02-13 17:35:17 +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 7874551167
fix: types 2025-02-11 21:41:07 +08:00
DIYgod d9bc62b44c
feat: get full list feeds 2025-02-11 21:35:29 +08:00
Stephen Zhou e8e385105a
refactor: merge audio item layout (#2722) 2025-02-11 21:31:11 +08:00
DIYgod 11c98c859f
fix: timeline selector scroll 2025-02-11 20:52:32 +08:00
DIYgod 793b19d3cf
fix: inbox fetch next page 2025-02-11 20:40:44 +08:00
DIYgod a80c248194
fix: cached entries data 2025-02-11 20:27:15 +08:00
Innei 43b49d8619
refactor: simplify preview media action overlay animation
- Replace Framer Motion animation with direct CSS styling
- Remove unnecessary animation controller
- Improve transition and hover effects for action buttons
- Maintain existing layout and functionality

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-11 16:17:27 +08:00
Innei f642cdd274
refactor: improve preview media action buttons layout and styling
- Restructure preview media action buttons container
- Remove unnecessary pointer-events-none class from inner div
- Wrap action buttons in an additional container for better overflow handling
- Maintain existing functionality for download and open in browser actions

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-11 16:15:25 +08:00
DIYgod d639b18c6c
feat: inbox list view 2025-02-11 12:02:45 +08:00
Innei fd14d2e7b1
refactor: optimize entries query with dynamic parameter handling
- Memoize `entriesOptions` to improve performance
- Add conditional logic to remove `listId` for business feed IDs
- Import `isBizId` utility function for ID type checking
- Enhance query parameter generation with more flexible configuration

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-10 22:39:26 +08:00
Innei 62bde1d5d0
feat: enhance list feed item with active state and improved interaction
- Add active state highlighting for selected feed items
- Implement event propagation prevention in feed item click handler
- Update ListFeedList component to pass current feed ID for active state
- Refine padding and styling for feed list items

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-10 22:28:58 +08:00
Innei 3ad053bab3
refactor: rename feed column to timeline column and update related components
- Rename `feed-column` directory to `timeline-column`
- Update import paths and references across the application
- Refactor sidebar and column-related atoms and hooks
- Improve naming consistency for timeline-related components and functions

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-10 22:24:56 +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
DIYgod 4bbfb16755
feat: inbox switch button 2025-02-10 19:10:28 +08:00
DIYgod 848e998d32
fix: feed title 2025-02-10 17:10:17 +08:00
DIYgod 5f2cf8f20e
feat: seprate listIds and inboxIds with feedIds in subscription store 2025-02-10 17:10:17 +08:00
Innei 70e1de5a27
feat(mobile): add dynamic code highlighting theme support in WebView
- Implement code theme selection for light and dark modes
- Add Shiki code highlighter with dynamic theme loading
- Create atoms and hooks for managing code highlighting themes
- Enhance WebView rendering with customizable code block styling

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-10 16:28:42 +08:00
DIYgod 0feb73557c
fix: mas check in browser 2025-02-10 16:15:43 +08:00
DIYgod e03f38a7fd
feat: mas (#2692)
* feat: build pkg for mas

* fix: mas build script

* chore: manual mas build

* chore: optional tag_version

* fix: mas build input

* chore: debug

* feat: pkg keychain

* feat: remove pkg maker

* Revert "feat: remove pkg maker"

This reverts commit 0fef70050c9b9e862db7319798171cc47278d65b.

* feat: disable dmg maker for mas

* feat: update version to match mas' requirement

* feat: mas arch

* fix: mas build

* chore: update version

* feat: login and account deletion for mas

* feat: dynamic build version

* feat: recover version

* feat: add BUILD_CERTIFICATE_MASPKG_BASE64
2025-02-08 19:40:39 +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
DIYgod 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 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