Commit Graph
838 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 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 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 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 a80c248194 fix: cached entries data 2025-02-11 20:27:15 +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 5f2cf8f20e feat: seprate listIds and inboxIds with feedIds in subscription store 2025-02-10 17:10:17 +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
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 e64da259e7 fix: delay the setVoice until before starting play tts, close #2042 2025-01-23 15:42:36 +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
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 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
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