Commit Graph
1210 Commits
Author SHA1 Message Date
Konv Suu 0487034edd feat(select): add itemClassName prop for customizable item styling (#2793)
* feat(select): add itemClassName prop for customizable item styling

* update

* udpate
2025-02-18 13:42:17 +08:00
Innei 640bbf1c74 fix(ui): Correct triangle menu and layout positioning logic
Refactored coordinate calculations in triangle menu interaction:
- Reordered point parameters in `isPointInTriangle` function
- Adjusted trigger and panel rectangle coordinate references
- Modified margin classes for better layout spacing

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-18 13:26:26 +08:00
Innei c3e2ea6921 feat(timeline): enhance timeline selector panel with close button and conditional rendering
Add close button to timeline selector panel and implement conditional rendering based on timeline column visibility. Improve panel header layout and interaction.

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-17 17:57:16 +08:00
Innei befd15ea22 refactor(timeline): improve timeline selector panel interaction with triangle menu
Implement a more sophisticated mouse tracking mechanism for the timeline selector panel, using a triangle-based approach to determine when to open and close the panel. Replace previous Jotai-based state management with a custom hook that tracks mouse movement and provides a more intuitive panel interaction.

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-17 17:31:35 +08:00
Innei e0292fa44d feat(timeline): add advanced timeline selector panel with quick navigation
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-17 17:12:45 +08:00
Konv Suu 4295decfa9 feat(profile): enhance email management and avatar fallback for better mobile support (#2776) 2025-02-17 12:23:44 +08:00
Konv Suu c7b151394a feat(mobile): add triggerAsChild prop to EntryReadHistory component (#2773) 2025-02-17 11:09:26 +08:00
Innei d1612131aa fix(timeline): stabilize timeline ID handling with memoized state
Introduce a memoized state for timelineId to ensure consistent rendering and prevent potential race conditions when route parameters change dynamically.

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-14 21:48:24 +08:00
DIYgod 2de63b04d0 feat: remove nightly build 2025-02-14 20:05:27 +08:00
DIYgod 29f48e3918 feat: timeline selector onWheel 2025-02-14 10:46:14 +08:00
DIYgod 9fb0affd82 feat: revert notifications and audio list styles 2025-02-14 10:29:59 +08:00
Stephen Zhou aff54864af Revert "refactor: merge audio item layout (#2722)" (#2745)
This reverts commit e8e385105a.
2025-02-14 01:11:28 +00: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
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
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 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