Innei
77fa6088fb
refactor: streamline entry action handling and replace ActionButton with CommandActionButton
...
- Removed unused imports and simplified the use of commands in `useEntryActions`.
- Updated `EntryItemWrapper`, `HeaderActions`, and `MoreActions` components to utilize `CommandActionButton` for better command handling.
- Introduced `CommandDropdownMenuItem` for consistent command representation in dropdowns.
- Enhanced readability and maintainability by reducing redundant code and improving type safety.
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-17 20:07:33 +08:00
Stephen Zhou
b3ee5727e2
feat: copy button for ai summary
2024-12-17 09:38:50 +08:00
ktKongTong
0505e3df3f
fix(header): improve border visibility for meta display ( #2138 )
2024-12-14 00:36:15 +08:00
Innei
351f34289f
fix: update SupportCreator component styles for better layout
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-13 13:26:42 +08:00
Innei
cae7fa6715
fix: article render container responsive width
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-12 17:57:36 +08:00
Stephen Zhou
8ce4702df3
fix: remove URL.canParse
...
close #2103
2024-12-11 15:38:13 +08:00
Innei
dac1a47b0e
feat: support read indicator and back to top, fixed #2040
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-09 22:25:57 +08:00
Lava
ab85406d4f
fix: handle popstate for navigation in mobile entry content ( #2038 )
...
* fix: handle back navigation to pending feeds on mobile while changing orientation
* fix: navigate to incorrect place
* chore: update `next.md`
2024-12-08 17:23:20 +08:00
Innei
2b2d56c746
fix: scrollbar z-index
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-07 17:01:45 +08:00
Stephen Zhou
e9a204228e
refactor: display translation inline
...
close #1779
2024-12-04 21:58:28 +08:00
Whitewater
5c4b5f0095
feat: add more actions to entry header ( #1993 )
...
* feat: add more actions to entry header
* feat: optimize available actions filtering in MoreActions component
2024-12-04 02:33:38 +08:00
Innei
685ce3cc41
fix: entry title truncate
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-02 18:49:05 +08:00
Innei
0ff10c6e32
refactor(tab): tab indicator transition
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-02 18:42:11 +08:00
Innei
d98ebaa4f7
refactor: vlist and keep scroll position ( #1931 )
...
* init
Signed-off-by: Innei <tukon479@gmail.com >
* feat: grid
Signed-off-by: Innei <tukon479@gmail.com >
* refactor: mark read logci
Signed-off-by: Innei <tukon479@gmail.com >
* chore: remove react-virtuoso
Signed-off-by: Innei <tukon479@gmail.com >
* fix: video
Signed-off-by: Innei <tukon479@gmail.com >
* transition
Signed-off-by: Innei <tukon479@gmail.com >
* fix: image memo loaded status
Signed-off-by: Innei <tukon479@gmail.com >
* fix: sort button
Signed-off-by: Innei <tukon479@gmail.com >
* feat: cjk truncate
Signed-off-by: Innei <tukon479@gmail.com >
---------
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-29 22:51:37 +08:00
Stephen Zhou
8c2411a0d0
chore: filter action for mobile
2024-11-28 16:37:47 +08:00
Innei
4330a69396
fix: can not keep text selection, fixed #1895
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-28 16:35:36 +08:00
Stephen Zhou
0eedbbadc2
feat: manual action ( #1867 )
2024-11-28 16:30:37 +08:00
Innei
03ce13d45b
fix: feedIcon margin
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-25 22:31:49 +08:00
Innei
44646d8a86
perf: reduce mobile entry header re-render
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-25 22:23:09 +08:00
Innei
11803c84b3
fix: prevent overscroll bounce in some scene
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-22 23:54:18 +08:00
edd4f9e5a6
feat: mobile design ( #1568 )
...
* init
Signed-off-by: Innei <i@innei.in >
* feat: feed column
Signed-off-by: Innei <i@innei.in >
* feat: float bar
Signed-off-by: Innei <tukon479@gmail.com >
* feat: profile button
Signed-off-by: Innei <tukon479@gmail.com >
* chore: comment
Signed-off-by: Innei <tukon479@gmail.com >
* feat: layout
Signed-off-by: Innei <tukon479@gmail.com >
* feat: split mobile entry content
Signed-off-by: Innei <tukon479@gmail.com >
* feat: add history stack
Signed-off-by: Innei <tukon479@gmail.com >
* feat: return back
Signed-off-by: Innei <tukon479@gmail.com >
* fix: return back position
Signed-off-by: Innei <tukon479@gmail.com >
* feat: entry list header
Signed-off-by: Innei <tukon479@gmail.com >
* feat: sync selector
Signed-off-by: Innei <tukon479@gmail.com >
* feat: modal stack mobile
Signed-off-by: Innei <tukon479@gmail.com >
* fix: modal selector
Signed-off-by: Innei <tukon479@gmail.com >
* cleanup
Signed-off-by: Innei <tukon479@gmail.com >
* fix: sheet and optimize entry readers
Signed-off-by: Innei <tukon479@gmail.com >
* fix: scroller
Signed-off-by: Innei <tukon479@gmail.com >
* feat: entry contents
Signed-off-by: Innei <tukon479@gmail.com >
* feat: entry content
Signed-off-by: Innei <tukon479@gmail.com >
* update
Signed-off-by: Innei <tukon479@gmail.com >
* feat: user profile sheet
Signed-off-by: Innei <tukon479@gmail.com >
* fix: entry content header
Signed-off-by: Innei <tukon479@gmail.com >
* fix: entry header
Signed-off-by: Innei <tukon479@gmail.com >
* chore: auto-fix linting and formatting issues
* fix: return back
Signed-off-by: Innei <tukon479@gmail.com >
* feat: image view
Signed-off-by: Innei <tukon479@gmail.com >
* feat: audio
Signed-off-by: Innei <tukon479@gmail.com >
* feat: inline player
Signed-off-by: Innei <tukon479@gmail.com >
* feat: pull to refresh
Signed-off-by: Innei <tukon479@gmail.com >
* cleanup
Signed-off-by: Innei <tukon479@gmail.com >
* update
Signed-off-by: Innei <tukon479@gmail.com >
* chore: auto-fix linting and formatting issues
* chore: fix import, remove no support display
* chore: auto-fix linting and formatting issues
* feat: achievement modal in mobile
Signed-off-by: Innei <tukon479@gmail.com >
* fix: subview mobile
Signed-off-by: Innei <tukon479@gmail.com >
* feat: power
Signed-off-by: Innei <tukon479@gmail.com >
* feat: wallet mobile design
Signed-off-by: Innei <tukon479@gmail.com >
* feat: pwa support (#1575 )
Co-authored-by: hyoban <hyoban@users.noreply.github.com >
* chore: auto-fix linting and formatting issues
* fix import
* discover
* fix: border color
Signed-off-by: Innei <tukon479@gmail.com >
* fix: modal async
Signed-off-by: Innei <tukon479@gmail.com >
* feat: mobile setting
Signed-off-by: Innei <tukon479@gmail.com >
* fix: entry header width
Signed-off-by: Innei <tukon479@gmail.com >
* fix: remove unused hide filter
* feat: settings
Signed-off-by: Innei <tukon479@gmail.com >
* feat: setting done
Signed-off-by: Innei <tukon479@gmail.com >
* action card
* fix discover feed form
* popular filter
* inbox table
* fix: picture masonry pull to refresh
Signed-off-by: Innei <tukon479@gmail.com >
* fix: scroll element
Signed-off-by: Innei <tukon479@gmail.com >
* fix: radio in mobile
Signed-off-by: Innei <tukon479@gmail.com >
* feat: to scientific notation
Signed-off-by: Innei <tukon479@gmail.com >
* fix: login
Signed-off-by: Innei <tukon479@gmail.com >
* ResponsiveSelect for action card
* chore: remove theme color
Signed-off-by: Innei <tukon479@gmail.com >
* type check
* type check
* fix: setting import circular
Signed-off-by: Innei <tukon479@gmail.com >
* refactor: remove hijack pushState
Signed-off-by: Innei <tukon479@gmail.com >
* fix: float bar
Signed-off-by: Innei <tukon479@gmail.com >
* fix: scroll end trigger
Signed-off-by: Innei <tukon479@gmail.com >
* fix: dark theme color
Signed-off-by: Innei <tukon479@gmail.com >
* fix: overscroll-behavior only in destop
Signed-off-by: Innei <tukon479@gmail.com >
* fix: ux
Signed-off-by: Innei <tukon479@gmail.com >
* fix: color
Signed-off-by: Innei <tukon479@gmail.com >
* fix: list scroll area
Signed-off-by: Innei <tukon479@gmail.com >
* update
Signed-off-by: Innei <tukon479@gmail.com >
* merge
* update
* update favicon link
* fix: reload prompt on mobile
* test
Signed-off-by: Innei <i@innei.in >
* test
Signed-off-by: Innei <i@innei.in >
* fix: ios
Signed-off-by: Innei <i@innei.in >
* try patch precaching
* try
* try
* build
* try
* try
* feat: ctx menu on safari
Signed-off-by: Innei <tukon479@gmail.com >
* try
* clear timeout
Signed-off-by: Innei <tukon479@gmail.com >
* try
* fix
* deny og
* fix patch
* pre cache exclude
* feat: add all
Signed-off-by: Innei <tukon479@gmail.com >
* i18n
Signed-off-by: Innei <tukon479@gmail.com >
* feat: slide
Signed-off-by: Innei <tukon479@gmail.com >
* feat: ico
Signed-off-by: Innei <tukon479@gmail.com >
* fix: build
Signed-off-by: Innei <tukon479@gmail.com >
* test network first
Signed-off-by: Innei <tukon479@gmail.com >
* test
Signed-off-by: Innei <tukon479@gmail.com >
* fix: icon padding
* test
Signed-off-by: Innei <tukon479@gmail.com >
* use react-ios-pwa-prompt
* fix: icon path
* update
* fix: prompt
Signed-off-by: Innei <tukon479@gmail.com >
* feat: redesign toc
Signed-off-by: Innei <tukon479@gmail.com >
* ctx
Signed-off-by: Innei <tukon479@gmail.com >
* ready to prod
Signed-off-by: Innei <tukon479@gmail.com >
* feat: startup screen
Signed-off-by: Innei <tukon479@gmail.com >
* feat: floatbar
Signed-off-by: Innei <tukon479@gmail.com >
* fix: switch view
Signed-off-by: Innei <tukon479@gmail.com >
* fix: keep scroll map
Signed-off-by: Innei <tukon479@gmail.com >
* enable hoverOnlyWhenSupported
* fix: count
Signed-off-by: Innei <tukon479@gmail.com >
* fix: hoverOnlyWhenSupported only in web
Signed-off-by: Innei <tukon479@gmail.com >
* fix
Signed-off-by: Innei <tukon479@gmail.com >
* chore: auto-fix linting and formatting issues
---------
Signed-off-by: Innei <i@innei.in >
Signed-off-by: Innei <tukon479@gmail.com >
Co-authored-by: Innei <Innei@users.noreply.github.com >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
Co-authored-by: hyoban <hyoban@users.noreply.github.com >
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com >
Co-authored-by: lawvs <lawvs@users.noreply.github.com >
2024-11-22 19:32:39 +08:00
Stephen Zhou
706f484757
fix: allow collect entry from list
2024-11-19 16:45:29 +08:00
Whitewater and Innei
ea8c8d0926
refactor: new command abstractions in follow ( #1566 )
...
* feat: implement command abstractions and hooks
* chore: register follow commands in search command context
* refactor: replace entry actions with command buttons in entry header
* chore: add usePopulatedEntry hook
* feat: add user focus context with atom hooks
* fix: types
* refactor: redesign command system
* refactor: update command button and hotkey hooks for improved type safety
* refactor: update command types for consistency and add new command types
* refactor: enhance entry actions component with dynamic command buttons
* chore: clean code
* refactor: streamline entry content handling and enhance command button configuration
* refactor: enhance command handling and streamline entry actions integration
* refactor: deprecate command button components and simplify command registration
* fix: disable shortcut in modal present
Signed-off-by: Innei <tukon479@gmail.com >
---------
Signed-off-by: Innei <tukon479@gmail.com >
Co-authored-by: Innei <tukon479@gmail.com >
2024-11-19 13:34:55 +08:00
Innei
6f1eb26eb1
fix: optimize print mode
...
Signed-off-by: Innei <i@innei.in >
2024-11-11 16:30:03 +08:00
Innei
59728a8929
feat: add image preview in picture gallery images
...
Signed-off-by: Innei <i@innei.in >
2024-11-11 15:43:28 +08:00
lawvs
b7065572d3
refactor: simplify useTipModal parameter handling
2024-11-10 04:01:24 +08:00
Innei
33d39067b5
fix: clear selection when pointer down, fixed #1448
...
Signed-off-by: Innei <i@innei.in >
2024-11-08 22:05:09 +08:00
Innei
25abd8ff1c
fix: entry title bar margin-left in zen mode
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-08 20:55:51 +08:00
Innei
e0d3e17da4
feat: entry image gallery modal
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-06 22:05:47 +08:00
Innei
6320c00373
fix: entry title can selectable, fixed #1428
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-06 20:39:02 +08:00
Innei
51a4bd273e
refactor: zen modal implemention and fix macos traffic light overlay
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-05 21:17:28 +08:00
Innei
84228bc5c8
feat: add updatelog modal
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-10-31 22:06:32 +08:00
Innei
9b99bf4428
fix: optimize some styles
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-10-31 00:05:50 +08:00
Innei
08929ab3ae
feat: adjust more ui
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-10-30 17:13:49 +08:00
Innei
bc1f39bf67
refactor(store): detach the inbox from the feed store, reduce re-rendering ( #1228 )
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-10-29 23:21:13 +08:00
Innei
4ab132c593
feat: support zen mode sidebar entry timeline selector
...
Signed-off-by: Innei <i@innei.in >
2024-10-28 18:38:04 +08:00
Innei
f51dfddc9e
fix(toc): should focus when toc item clicked
...
Signed-off-by: Innei <i@innei.in >
2024-10-28 16:30:23 +08:00
Whitewater
2ba588637e
refactor: add UserGallery and integrate into SupportCreator ( #1167 )
...
* feat: add UserGallery component and user utilities
* refactor: integrate UserGallery to display deduplicated supporters in SupportCreator
* feat: integrate UserGallery for displaying boosting contributors
* fix: merging tipUsers fields with array
* chore: increase default user limit in UserGallery to 18
2024-10-28 13:28:59 +08:00
Innei
baa66feaf1
feat(ux): support native space key to page down, fixed #1121
...
Signed-off-by: Innei <i@innei.in >
2024-10-27 12:29:11 +08:00
Whitewater
29f1afaf43
refactor: refactor boost queries ( #1076 )
...
* refactor: export specific boost queries and reorganize query structure
* feat: show booster in SupportCreator section
* chore: update i18n
* chore: enhance boost module with i18n support
* refactor: simplify radio card
* refactor: simplify transition for Boosting Contributors
2024-10-25 08:23:25 +00:00
Stephen Zhou
a45cdf5cce
refactor: avoid circular import in entry content
2024-10-25 14:26:32 +08:00
Stephen Zhou
b0641ffe3f
fix: word break
...
close #1117
2024-10-25 10:39:59 +08:00
3a85febb6e
refactor(monorepo): migrate to monorepo ( #1059 )
...
* init
Signed-off-by: Innei <i@innei.in >
* chore: utils import
Signed-off-by: Innei <tukon479@gmail.com >
* remove stable router
Signed-off-by: Innei <tukon479@gmail.com >
* refactor: components import
Signed-off-by: Innei <tukon479@gmail.com >
* chore: auto-fix linting and formatting issues
* minify
Signed-off-by: Innei <tukon479@gmail.com >
* update
Signed-off-by: Innei <tukon479@gmail.com >
* fix: test
Signed-off-by: Innei <tukon479@gmail.com >
* chore: ui component extract
Signed-off-by: Innei <tukon479@gmail.com >
* fix: import
Signed-off-by: Innei <tukon479@gmail.com >
* re-render
Signed-off-by: Innei <tukon479@gmail.com >
* refactor: remove hooks
Signed-off-by: Innei <tukon479@gmail.com >
* fix
Signed-off-by: Innei <tukon479@gmail.com >
* update
Signed-off-by: Innei <tukon479@gmail.com >
* setting
Signed-off-by: Innei <tukon479@gmail.com >
* update
Signed-off-by: Innei <tukon479@gmail.com >
* refactor: remove icons
Signed-off-by: Innei <i@innei.in >
* typings
Signed-off-by: Innei <i@innei.in >
* feat: add horizontal scroll functionality to TimelineTabs (#1081 )
Co-authored-by: xhuajin <xhuajin@users.noreply.github.com >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
* fix: Wrong initial position of tab animation (#1087 )
Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com >
* fix: disable auto toggle readability in web
* fix: margin condition in EntryListHeader (#1103 )
* chore(i18n): add daily reward system translation (#1102 )
Co-authored-by: lc4t <lc4t@users.noreply.github.com >
* fix: deps
Signed-off-by: Innei <i@innei.in >
* fix: type
Signed-off-by: Innei <i@innei.in >
* update
Signed-off-by: Innei <i@innei.in >
* fix
Signed-off-by: Innei <i@innei.in >
---------
Signed-off-by: Innei <i@innei.in >
Signed-off-by: Innei <tukon479@gmail.com >
Co-authored-by: Innei <Innei@users.noreply.github.com >
Co-authored-by: Huajin <114134574+xhuajin@users.noreply.github.com >
Co-authored-by: xhuajin <xhuajin@users.noreply.github.com >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
Co-authored-by: 仓鼠 <71394853+hamster1963@users.noreply.github.com >
Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com >
Co-authored-by: Konv Suu <2583695112@qq.com >
Co-authored-by: lc4t <11334449+lc4t@users.noreply.github.com >
Co-authored-by: lc4t <lc4t@users.noreply.github.com >
2024-10-24 14:37:43 +08:00
Stephen Zhou
b94e051c1c
fix: disable auto toggle readability in web
2024-10-24 09:02:09 +08:00
Innei
483d4acc39
fix(inbox): do not inject host style in mail render
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-10-23 18:54:21 +08:00
Innei
661b58bc8d
fix: support creator circular import
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-10-23 14:56:01 +08:00
lawvs
15eba6deec
feat: add boost button in SupportCreator
2024-10-23 13:47:55 +08:00
Stephen Zhou
83567aef20
feat: allow hide recent reader
...
close #1034
2024-10-22 23:02:46 +08:00
Innei
4fbe873a82
refactor(markdown): separate the markdown ctx and decouple it from the biz
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-10-21 13:38:12 +08:00
Innei
fa027f8c9c
Revert "fix: shrink description"
...
This reverts commit d42f8a42a4 .
2024-10-19 17:56:26 +08:00