Commit Graph

533 Commits

Author SHA1 Message Date
Przeblysk 6f2050908f
fix: Fix popup's width when viewport changes. (#981)
* fix: Fix popup's width when viewport changes.

* refactor: Refactor renderPopup to a React Component
2024-10-17 11:52:32 +08:00
DIYgod 9e52c14d19
feat: level 0 2024-10-17 01:15:09 +08:00
Innei 5b3f5ce7f9
chore: move hooks location
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-17 00:07:14 +08:00
DIYgod 16563e06f3
feat: update hono.ts 2024-10-16 23:16:06 +08:00
DFobain ef6d7f672b
fix: correct method call for <a> tag in Manage Feeds within Lists (#982) 2024-10-16 22:39:50 +08:00
Innei be21b19ecf fix(modal): draw modal edge constraints on Windows, close #967
Signed-off-by: Innei <i@innei.in>
2024-10-16 20:06:30 +08:00
cos a079d85319
fix(ux): mark all read anim #958 (#977) 2024-10-16 15:50:46 +08:00
Stephen Zhou 2c53ecb65b
fix: sort categories suggestions 2024-10-16 11:21:32 +08:00
Stephen Zhou 5330d49919
fix: combo box can not scroll
https://github.com/tailwindlabs/headlessui/issues/3217
2024-10-16 11:18:33 +08:00
Stephen Zhou 4f1ce3bace
fix: category open state 2024-10-16 11:03:33 +08:00
Stephen Zhou 03a3d3890a
feat: preview feed entries (#942)
Co-authored-by: Whitewater <me@waterwater.moe>
2024-10-16 09:20:20 +08:00
Stephen Zhou d1db023a1b
feat: encoding support 2024-10-16 08:33:09 +08:00
DIYgod 1a7505c220
Merge branch 'feature/levels' into feat/beta-public 2024-10-16 03:34:15 +08:00
DIYgod 184e2e3240
feat: display level in power page 2024-10-16 03:28:02 +08:00
DIYgod 46230611eb
feat: wallet level module 2024-10-16 03:22:49 +08:00
DIYgod 1150289d64
feat: display power ranking 2024-10-16 02:43:59 +08:00
Innei 8b6c3f9f50
chore: add peer deps
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-16 00:30:44 +08:00
Innei ca5f648aa8
chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-16 00:07:49 +08:00
Innei 9ea5c74ddc
chore: move tw config
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-15 23:54:00 +08:00
Innei c26986d9f3
fix(combobox): fix correct z-index in modal
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-15 22:33:27 +08:00
Innei 2608cd92f4
fix(portal): use correct root/modal portal
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-15 22:15:20 +08:00
Innei 3c27768830
fix(ux): auto focus input when top modal dismiss
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-15 20:59:46 +08:00
Innei 74abfd3907
refactor: modal structure, add z-index 1001, fixed #896
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-15 20:44:16 +08:00
Innei e5e53b8ef8
fix: remove motion overlay, fixed #868
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-15 20:07:01 +08:00
Innei 605a3be018
Merge branch 'dev' into feat/beta-public 2024-10-15 20:03:37 +08:00
Jerry Wong 784c765ec2
fix(trending): improve styles and add translation for heading (#936)
improvement: 增加部分间距
2024-10-15 19:28:53 +08:00
Innei c44c9fbaf6
fix: modal close button zindex
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-15 19:28:30 +08:00
Innei 936ad86bd5
fix: can wheel to scroll in entry preview toast, fix #953
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-15 19:20:52 +08:00
Jerry Wong 737d40c851
refactor: improve native menu item handling
* Refactor useFeedActions component to conditionally add a separator in the menu list based on the length of listByView array.
Refactor FeedCategoryImpl component to conditionally add a separator in the menu list based on the length of listList array.

* update

* fix: type

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2024-10-15 18:48:21 +08:00
Konv Suu 528ee2b198
feat(profile): add transition effects to user avatar display (#951) 2024-10-15 16:25:12 +08:00
Innei 556e48c6f5
fix: loading circle motion
Signed-off-by: Innei <i@innei.in>
2024-10-15 12:44:07 +08:00
colmugx 68e6585d39
feat(integration): add omnivore support (#909) 2024-10-15 10:27:16 +08:00
Stephen Zhou d248c850b3
feat(transform): support itemContent 2024-10-15 09:17:24 +08:00
Innei 485d2d5d35
pref: use `slice` instead of `replace`
Signed-off-by: Innei <i@innei.in>
2024-10-15 00:46:58 +08:00
Innei d4db563761
fix: transform `feedId` to `inboxId`
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-15 00:18:31 +08:00
Innei 3680f66a70
fix: `csrf` header
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-15 00:02:16 +08:00
Innei c70915eaad
fix(error): show server error message
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-14 23:40:22 +08:00
Innei ed6efcede0
fix: share page container width
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-14 22:56:22 +08:00
Innei f09cd8107e
fix!: adjust external share page route
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-14 22:00:42 +08:00
Innei d98c06e1c0
fix: dynamic import error component
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-14 17:37:34 +08:00
Innei cb6eeb132b
perf: lazy load katex and inline katex style
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-14 16:47:49 +08:00
Konv Suu 25234e1bc1
fix: update DropdownMenuTrigger class for open state styling (#931) 2024-10-14 16:45:57 +08:00
Innei ef89398689
feat: support latex, resolve #917
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-14 16:35:23 +08:00
Innei f84c12e099
fix(code): bypass if no `<code />` wrapper
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-14 13:12:15 +08:00
Innei 3f06c717a2
fix: hijs code block parser, fixed #928
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-14 13:09:51 +08:00
Stephen Zhou 7ef68282ce
chore: missing return 2024-10-14 12:37:51 +08:00
Innei 5b9ee0a622
fix: login modal overlay and parse feed site url
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-14 12:01:14 +08:00
Stephen Zhou 29b893a23e
fix: hide some actions for inbox
close #912
2024-10-14 10:47:24 +08:00
Stephen Zhou d850a5c328
fix: modal escape conflict with cmdk 2024-10-14 10:13:12 +08:00
Stephen Zhou 5d78da6f10
fix: can not show cmdk search type 2024-10-14 10:06:16 +08:00
Stephen Zhou f04df1e823
chore: type check 2024-10-14 09:44:19 +08:00
Innei df05044c0e
fix: modal overlay
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-13 18:20:54 +08:00
Innei 22c0ddd14b
fix: feed column auto scroll lead cause the whole page to move
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-13 14:51:48 +08:00
Innei be8068c737
beta copy
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-13 14:43:46 +08:00
Innei b13dfd86d8
Merge remote-tracking branch 'origin/dev' into feat/beta-public
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-13 14:41:27 +08:00
Innei b0bad7afe0
fix: only navigate to root when document is focus
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-13 12:45:42 +08:00
Jerry Wong 795dccbfc5
fix: power page z-index (#910)
* refactor: optimize CSS classes in EntryPlaceholderLogo and TableHeader

Simplify CSS classes in EntryPlaceholderLogo component and remove unnecessary z-index usage in TableHeader component.

* update

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2024-10-13 12:10:54 +08:00
Innei 9a84a29396
feat: support specific import for web and electron
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-12 21:42:14 +08:00
lawvs bb463a311f fix: add aria-describedby to modal content 2024-10-12 20:32:23 +08:00
cos 45b4bd8085
fix: windows web mark all read ui (#908) 2024-10-12 18:50:13 +08:00
Whitewater 75e0247290
refactor: revamp z-index usage (#864)
* refactor: revamp z-index usage in root container

* refactor: simplify modal structure and overlay handling

* refactor: remove unnecessary z-index from SelectContent component

* fix: update ModalOverlay to use Dialog.Overlay for improved dimiss behavior

* feat: integrate ModalOverlay with default modal

* refactor: extract ModalOverlay rendering into a variable for cleaner code

* update

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2024-10-12 18:33:40 +08:00
Innei 996113948a
chore: feed column footer version margin
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-12 14:07:41 +08:00
Innei 1407e77b63
refactor: show delete category action when available
refactor fd104d0087

Signed-off-by: Innei <tukon479@gmail.com>
2024-10-12 12:50:45 +08:00
Innei e08b46f7ae
Revert "fix: Mouse click may briefly overlap with background elements (#848)"
This reverts commit 57e818f783.

Signed-off-by: Innei <tukon479@gmail.com>
2024-10-12 12:30:19 +08:00
Stephen Zhou fd104d0087
fix: show delete category action when available 2024-10-12 12:01:40 +08:00
Stephen Zhou c3abc06978
fix: do not filter figure, add pre fallback
close #847
2024-10-12 09:53:48 +08:00
Stephen Zhou e41a48421b
chore: fix type 2024-10-12 09:08:16 +08:00
Stephen Zhou 926ef00785
feat: transform html (#870) 2024-10-12 09:00:46 +08:00
DIYgod a19ab9a247
feat: wide mode icon 2024-10-12 03:31:43 +08:00
DIYgod 6760a3486f
fix: external list and feed page statistics display 2024-10-12 03:26:04 +08:00
DIYgod dd398cdc4d
feat: power page redirection 2024-10-12 02:53:02 +08:00
DIYgod 6ce2c2270f
feat: readHistories option for reads post 2024-10-12 00:33:36 +08:00
Innei bbde776be3
perf: cache setting key selected atom
Signed-off-by: Innei <i@innei.in>
2024-10-11 23:18:38 +08:00
Innei ca2af066df
fix: cleaner
Signed-off-by: Innei <i@innei.in>
2024-10-11 22:51:08 +08:00
Innei 475546b567
fix: test
Signed-off-by: Innei <i@innei.in>
2024-10-11 21:48:01 +08:00
DIYgod 2be9c93225
fix: withdraw availableBalance 2024-10-11 21:33:07 +08:00
Innei a6abd058ac
fix: discover search optimistic update data
Signed-off-by: Innei <i@innei.in>
2024-10-11 21:30:24 +08:00
Innei baaa7cd90b
fix: discover search update
Signed-off-by: Innei <i@innei.in>
2024-10-11 21:29:41 +08:00
DIYgod 167d82adc0
fix: withdraw availableBalance 2024-10-11 19:56:32 +08:00
Innei 3608bfb66e
Merge remote-tracking branch 'origin/dev' into feat/beta-public
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-11 19:53:35 +08:00
Innei f84ac4b2a3
refactor: follow
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-11 19:50:41 +08:00
Innei df86527072
fix: inbox
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-11 18:50:19 +08:00
Stephen Zhou eae857d25e
feat: export feeds, close #873 2024-10-11 18:19:25 +08:00
Innei b69c6f97c8
update
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-11 16:17:09 +08:00
Innei f7961edc29
fix: update inbox action button
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-11 15:21:54 +08:00
Innei eb2613114b
update
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-11 15:15:05 +08:00
Innei 69d3df4678
Merge remote-tracking branch 'origin/dev' into feat/beta-public
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-11 14:47:44 +08:00
Innei 2444cea22e
feat: hide if
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-11 14:47:09 +08:00
Innei 6d89d0272b
chore: split action setting tab
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-11 14:24:08 +08:00
Vida Xie a421e5d636
fix: turn off native form autocompletion in `AutoCompletion` (#869) 2024-10-11 12:08:53 +08:00
Stephen Zhou 4b0802da69
fix: less white space, close #818 2024-10-11 09:31:27 +08:00
Innei 0c306bc34a
fix: only can add feed to owned lists, fixed #863
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-10 23:32:56 +08:00
Innei 1665a5b2a8
fix: subscription group category name ellipsis
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-10 22:41:17 +08:00
Stephen Zhou 71abbc9b8e
fix: translation tooltip z index 2024-10-10 22:29:42 +08:00
Stephen Zhou 3b67b2c0a7
feat: implement immersive translation functionality with caching support in entry content module (#714) 2024-10-10 22:27:46 +08:00
Stephen Zhou eb1a9440b5
fix: mark all as read height
part of #811
2024-10-10 20:22:50 +08:00
Innei f8ccd74a9c
fix: if inline image is too wider, fallback to block image
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-10 20:12:16 +08:00
Stephen Zhou b18e4a2bd4
fix: picture action button position
part of #811
2024-10-10 20:11:20 +08:00
Brendan Dash 81a35e046e
fix: cmdk panel layout (#854)
* fix: cmdk panel layout

* fix: cmdk panel changed some styles
2024-10-10 20:00:57 +08:00
Innei 3af93e3776
fix: fake profile avatar position when resize
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-10 19:53:20 +08:00
Innei a4fefd9926
chore: power page subview title
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-10 19:53:20 +08:00
Stephen Zhou 3edee63a5a
fix: profile category overflow
part of #811
https://github.com/radix-ui/primitives/issues/2722
2024-10-10 19:49:18 +08:00
Stephen Zhou 58d251e6e4
fix: translation tooltip width
part of #811
2024-10-10 19:28:14 +08:00
DIYgod 142c0f5712
feat: tx types filter 2024-10-10 19:22:57 +08:00
DIYgod b19fc2be2e
feat: remove userId query for wallet get 2024-10-10 18:35:11 +08:00
DIYgod 80f1b0fd28
feat: remove power modal 2024-10-10 18:00:36 +08:00
DIYgod b54603b82b
Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	apps/renderer/src/components/user-button.tsx
#	apps/renderer/src/modules/power/transaction-section/index.tsx
2024-10-10 17:50:44 +08:00
DIYgod 6aeb66683b
feat: independent power page 2024-10-10 17:44:11 +08:00
Innei ddfcffeda5
fix: dropmenu icon prop passive, profile avatar button cls
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-10 17:20:09 +08:00
Innei f490d7d62f
refactor: power modal
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-10 16:58:08 +08:00
Innei d4a2cf6816
chore: disable `no-floating-promises`
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-10 16:00:57 +08:00
Brendan Dash db1d19076c
fix: set cmdf container `z-index` to `1000` (#859) 2024-10-10 15:48:36 +08:00
Kieran Cui 3ce0a88cb6
fix: discover page's trending icon is offset. (#856) 2024-10-10 15:07:37 +08:00
Johnny 81ca589c95
fix: avatar element masking button (#852) 2024-10-10 15:04:54 +08:00
Innei f11eb19815
fix: context menu item title should use title case
Signed-off-by: Innei <i@innei.in>
2024-10-10 14:50:11 +08:00
Innei afb7997de2
fix: type error
Signed-off-by: Innei <i@innei.in>
2024-10-10 14:39:41 +08:00
Innei 86ce165717
fix: code language detection more approximate
Signed-off-by: Innei <i@innei.in>
2024-10-10 14:34:57 +08:00
Innei 2aa4fe118e
chore: split achievement code
Signed-off-by: Innei <i@innei.in>
2024-10-10 14:06:09 +08:00
Innei e09dce467b
fix: trending icon
Signed-off-by: Innei <i@innei.in>
2024-10-10 13:44:12 +08:00
Innei 8ff4343c46
chore(ui): optimize user avatar transition
Signed-off-by: Innei <i@innei.in>
2024-10-10 13:35:50 +08:00
Innei 25a505a221
fix: generate invite code modal power icon style
Signed-off-by: Innei <i@innei.in>
2024-10-10 13:11:04 +08:00
Innei f023d6296a
chore: simply code
Signed-off-by: Innei <i@innei.in>
2024-10-10 12:00:08 +08:00
Przeblysk 57e818f783
fix: Mouse click may briefly overlap with background elements (#848) 2024-10-10 11:28:43 +08:00
Jerry Wong 9230cf7175
fix: update entry action notifications and translations (#836) 2024-10-10 11:17:48 +08:00
Kaffi Y. 22a72ac15b
fix: navigating from a tts player doesn't work properly (#828)
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2024-10-10 11:04:41 +08:00
Stephen Zhou 2663c1181c
chore: enable eslint rules require type check 2024-10-10 10:51:25 +08:00
Stephen Zhou b5cfd8255b
chore: fix test 2024-10-10 10:15:07 +08:00
Stephen Zhou c881d799e2
feat: delete list 2024-10-10 09:45:32 +08:00
DIYgod 555428cbb5
feat: wider user drop menu 2024-10-10 02:31:48 +08:00
Innei c7f74cf746
fix: clear local data when login other account and store window pos before quit
Signed-off-by: Innei <i@innei.in>
2024-10-10 00:21:06 +08:00
Innei 14369dbb22
init
Signed-off-by: Innei <i@innei.in>
2024-10-09 23:20:21 +08:00
Stephen Zhou b72d4557df
fix: check eagle when available 2024-10-09 22:01:29 +08:00
DIYgod baab5b993f
feat: registerPushNotifications (#812)
* feat: registerPushNotifications

* chore: auto-fix linting and formatting issues

* feat: post message token

* feat: newEntryNotification action

* feat: handle notification click event
2024-10-09 20:03:56 +08:00
Stephen Zhou 68e650957d
chore: typecheck 2024-10-09 19:56:22 +08:00
Innei 1e03bf66e1
fix: only valid feed can be claimed
Signed-off-by: Innei <i@innei.in>
2024-10-09 19:22:11 +08:00
Innei d5fe10a95f
fix(readability): respect origin html charset
Signed-off-by: Innei <i@innei.in>
2024-10-09 18:26:28 +08:00
Innei a4c1dc231c
fix: document title change when entry changed
Signed-off-by: Innei <i@innei.in>
2024-10-09 18:10:58 +08:00
Innei 6c4c543708
feat(trending): implement trending feature and components (#820)
* init

Signed-off-by: Innei <i@innei.in>

* update

Signed-off-by: Innei <i@innei.in>

* fix: update styles

Signed-off-by: Innei <i@innei.in>

* fix: hover

Signed-off-by: Innei <i@innei.in>

* update scroll

Signed-off-by: Innei <i@innei.in>

* update i18n

Signed-off-by: Innei <i@innei.in>

* chore: auto-fix linting and formatting issues

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <Innei@users.noreply.github.com>
2024-10-09 17:58:00 +08:00
Innei b7a054f313
feat: support shortcut to toggle wide mode
Signed-off-by: Innei <i@innei.in>
2024-10-09 17:38:58 +08:00
Kaffi Y. 190a18e332
fix: hidden menu item is not filtered out on native (#830) 2024-10-09 17:08:04 +08:00
Stephen Zhou 5c8b02625e
fix: allow clear translation target in action 2024-10-09 16:56:20 +08:00
Innei c520448847
fix(shortcut): replace `meta` to `ctrl` in windows
Signed-off-by: Innei <i@innei.in>
2024-10-09 16:42:03 +08:00
Przeblysk 56ca95bd9d
fix: improve ActionCard state management and UI (#825)
* feat: Make the actions' SettingCollapsible openState independent, rather than judging the data

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: Przeblysk <Przeblysk@users.noreply.github.com>
2024-10-09 16:07:29 +08:00
Cesaryuan f83278bff8
feat: trim social media view end redundant br elements (#826) 2024-10-09 15:58:41 +08:00
Stephen Zhou dd0364d1a9
feat: silence action (#823) 2024-10-09 15:37:56 +08:00
Innei 1292fd41aa
fix: `NotSupport` width reactive
Signed-off-by: Innei <i@innei.in>
2024-10-09 15:27:40 +08:00
Innei da74fceb25
chore: manual chunk more
Signed-off-by: Innei <i@innei.in>
2024-10-09 14:08:58 +08:00
Innei a37e927e93
fix: import circular in dev login page
Signed-off-by: Innei <i@innei.in>
2024-10-09 11:40:05 +08:00
Stephen Zhou f5f521300f
fix: layout shift 2024-10-09 10:05:23 +08:00
Cesaryuan b4fed7801b
fix: change copy title icon (#817)
Co-authored-by: cesaryuan <cesaryuan@users.noreply.github.com>
2024-10-09 09:57:08 +08:00