Commit Graph

533 Commits

Author SHA1 Message Date
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
Innei 766ce6732c
perf: compress and split main entry bundle size
Signed-off-by: Innei <i@innei.in>
2024-10-09 00:53:27 +08:00
Cesaryuan a3576b04e8
fix: monospace font always be NSimSun on Windows (#806) 2024-10-08 20:42:41 +08:00
Cesaryuan 1f57ab2ac7
feat: add copy title to context menu of feed entry (#801)
Co-authored-by: cesaryuan <cesaryuan@users.noreply.github.com>
2024-10-08 19:31:24 +08:00
Stephen Zhou be581f603c
chore: stop ab test for image proxy 2024-10-08 16:31:14 +08:00
Stephen Zhou 9a09545f97
chore: format 2024-10-08 15:47:18 +08:00
Stephen Zhou e33aa5f0c7
feat: image proxy for avatar images (#524)
Co-authored-by: hyoban <hyoban@users.noreply.github.com>
2024-10-08 15:46:37 +08:00
Innei e6a50427b3
fix: about page copy button style
Signed-off-by: Innei <i@innei.in>
2024-10-08 14:17:38 +08:00
Innei 6ef652f7b2
chore: use `IN_ELECTRON` constant
Signed-off-by: Innei <i@innei.in>
2024-10-08 14:14:42 +08:00
Jerry Wong 892ceb2269
feat: add more words i18n (#785)
* feat: add more words i18n

* chore: auto-fix linting and formatting issues

* Update DateItem.tsx

Co-authored-by: Innei <tukon479@gmail.com>

* Update DateItem.tsx

Co-authored-by: Innei <tukon479@gmail.com>

* chore: auto-fix linting and formatting issues

* update

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

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: jerryc127 <jerryc127@users.noreply.github.com>
Co-authored-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <i@innei.in>
2024-10-08 12:36:29 +08:00
Innei e5fc18fd9a
fix(ui): fetch error toast margin
Signed-off-by: Innei <i@innei.in>
2024-10-07 20:54:28 +08:00
Kaffi Y. 066e9d40e9
refactor: make resizing more natural (#771) 2024-10-07 20:49:58 +08:00
Cesaryuan 208d09b8d9
fix: media preview bug when zero size, close #764 (#765)
* fix: media preview bug when zero size, close #764

* fix: consider NaN case

* fix: add props.style

* chore: style

---------

Co-authored-by: Innei <i@innei.in>
2024-10-07 20:25:58 +08:00
CHANX d2b5cc36e9
feat(ui): enhance context menu with hover effects, disable option, and quick list creation (#787)
* feat: disabled when exceed invite limitation

* feat: add item hover

* fix: create list minimum value is 0

* feat: add actions settings loading

* feat: hide menu when enabled is false

* feat: change opacity when menu is disabled

* feat: add quick access for add feed to list

* fix: unify list item hover style

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

* refactor: create list modal

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

* update

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

* unify style

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

* native app style

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

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <i@innei.in>
2024-10-07 18:04:14 +08:00
vin ce72b7a57f
refactor: delete redundant types (#791) 2024-10-07 17:00:24 +08:00
Konv Suu dcb765ecb4
fix: enable pointer events for action buttons in media preview (#790) 2024-10-07 11:46:28 +08:00
Innei dc1f6c1bfe
chore: store image blurhash in local db
Signed-off-by: Innei <i@innei.in>
2024-10-06 18:34:40 +08:00
Innei 170c41f981
fix: star icon position in list item
Signed-off-by: Innei <i@innei.in>
2024-10-06 18:27:24 +08:00
Innei 097e6dd4a5
refactor: entry content gird container
Signed-off-by: Innei <i@innei.in>
2024-10-06 18:15:28 +08:00
Innei 0c582f24e7
fix: toc width logic
Signed-off-by: Innei <i@innei.in>
2024-10-06 16:50:08 +08:00
Innei e0890d5b38
fix: input box table style
Signed-off-by: Innei <i@innei.in>
2024-10-06 16:18:18 +08:00
Innei a162b3be9f
feat(wide-mode): support `esc` to return back
Signed-off-by: Innei <i@innei.in>
2024-10-06 15:36:21 +08:00
Kaffi Y. 7ef5dfc036
fix: setting modal should be resizable from bottomRight only (#769) 2024-10-06 14:29:00 +08:00
Kaffi Y. 8d951436df
fix: setting modal's edge round is covered by content background (#768) 2024-10-06 14:01:09 +08:00
Kaffi Y. 5285ea4ad9
refactor: optimize ui of error toast (#766) 2024-10-06 00:19:02 +08:00
Innei c0d49e5436
fix(entry-layout): only padding left in wide mode
Signed-off-by: Innei <i@innei.in>
2024-10-05 23:51:40 +08:00
Innei baae2701e4
refactor: toc codebase
Signed-off-by: Innei <i@innei.in>
2024-10-05 22:19:01 +08:00
Innei 535afe2393
feat(toc): redesign toc item in wide mode
Signed-off-by: Innei <i@innei.in>
2024-10-05 22:12:37 +08:00
Innei 6697ff58b3
fix: i18n key and dark mode in wide mode and transition other ux fix
Signed-off-by: Innei <i@innei.in>
2024-10-05 21:27:15 +08:00
Jerry Wong 5de856a91a
chore: add missing vocabulary for zh-CN, zh-TW, and zh-HK and add words
* feat: Add missing vocabulary for zh-CN, zh-TW, and zh-HK
feat: More text configurable for multiple languages

* fix: no-extra-keys error

* update

* update

* update

* update

---------

Co-authored-by: Innei <i@innei.in>
2024-10-05 16:55:49 +08:00
newraina 52e730525d
fix: external layout header margin (#754)
* fix: external layout header margin

* chore: auto-fix linting and formatting issues
2024-10-05 16:53:01 +08:00
DIYgod 657dcf0ff2
fix: lists check 2024-10-05 14:29:45 +08:00
DIYgod 4aac049583
fix: lists read all 2024-10-05 14:21:58 +08:00
DIYgod a3a7c82ea6
fix: inbox data refreshment 2024-10-05 13:56:29 +08:00
DIYgod 346db5ad48
feat: wide mode 2024-10-05 13:25:56 +08:00
DIYgod e474bbf45d
feat: update icons 2024-10-05 02:40:54 +08:00
Innei e05d2bab75
refactor: vite config and re-optimize chunks
Signed-off-by: Innei <i@innei.in>
2024-10-05 00:37:08 +08:00
Innei 8c6753d4a6
feat: native menu add `hide` prop
Signed-off-by: Innei <i@innei.in>
2024-10-04 22:42:02 +08:00
DIYgod f0767e2ad9
fix: types 2024-10-04 04:13:12 +08:00
DIYgod ecb2d33979
fix: fetch inbox entry 2024-10-04 04:06:34 +08:00
DIYgod 61d9a48310
feat: inbox unread data updating 2024-10-04 03:48:41 +08:00
DIYgod edbdc86261
fix: useFeedHeaderTitle 2024-10-04 03:21:17 +08:00
DIYgod 6da8bce04c
feat: inbox set read and unread 2024-10-04 03:20:54 +08:00
DIYgod 6da197c76b
feat: inbox list api 2024-10-04 01:39:56 +08:00
DIYgod 2b496c4e49
fix: subscription inbox data 2024-10-04 00:52:23 +08:00
Innei a66a415ad3
refactor: hydrate service interface
Signed-off-by: Innei <i@innei.in>
2024-10-03 23:30:36 +08:00
Innei 020ea017eb
chore: fix typo
Signed-off-by: Innei <i@innei.in>
2024-10-03 23:16:08 +08:00
Innei 66cca8ad7a
fix: populated image src in markdown
Signed-off-by: Innei <i@innei.in>
2024-10-03 23:11:10 +08:00
DIYgod 2fba746447
feat: inbox (#742)
* feat: display inbox in feed list

* feat: inbox creation and modification and deletion

* feat: seperate feed-form and list-form

* feat: inbox form

* fix: types

* feat: navigation with listId

* fix: listId

* feat: fetch inbox entry

* fix: types

* feat: use feedicon and feedtitle for inbox item

* feat: get inbox by id

* feat: inbox list

* feat: inbox text

* feat: inbox deletion confirmation

* chore: auto-fix linting and formatting issues

* feat: INBOXES_EMAIL env

* chore: auto-fix linting and formatting issues
2024-10-03 22:24:36 +08:00
Innei 426a1d48dd
fix: populate image src
Signed-off-by: Innei <i@innei.in>
2024-10-03 14:06:54 +08:00
Wayne Zhang ebceaf6be4
fix(styles): align the styles of Skeleton and Item (#749) 2024-10-03 11:48:42 +08:00
Hyden Liu a4cbec45e2
fix: resolve content blur after modal dragged (#746) 2024-10-02 20:07:08 +08:00
Innei a89ad8be84
feat: add overflow tooltip for feed title
Signed-off-by: Innei <i@innei.in>
2024-10-01 23:00:45 +08:00
Innei 5ef516f0eb
refactor: split list store from feed store (#654)
* init

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

* update

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

* fix: type

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

* chore: auto-fix linting and formatting issues

* refactor: list

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

* chore: auto-fix linting and formatting issues

* feat: hydrate list data

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

* chore: auto-fix linting and formatting issues

* feat: context feed to list action

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

* update

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

* add tooltip

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

* cetner

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

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <Innei@users.noreply.github.com>
2024-10-01 22:30:25 +08:00
Innei 16938f6078
fix: view source content in picture view
Signed-off-by: Innei <i@innei.in>
2024-10-01 20:08:12 +08:00
Innei 71749fa505
refactor: get html media info implement, fixed #671
Signed-off-by: Innei <i@innei.in>
2024-10-01 20:06:41 +08:00
Innei 1ac465cbb9
fix: discover recommendation card link button style
Signed-off-by: Innei <i@innei.in>
2024-10-01 19:38:32 +08:00
Innei b688848dac
feat(image): blurhash for entry media preview, and other adjustment
Signed-off-by: Innei <i@innei.in>
2024-10-01 18:57:44 +08:00
Soya 34f462f287
fix(modal): limit setting modal drag range (#732)
* fix: Limit setting modal drag range

* fix: modal drag add onMeasureDragConstraints

* fix: only plus windows

* fix: useCallback && height replace constant
2024-10-01 14:06:57 +08:00
Innei 5146dd2348
fix: modal title overflow tooltip
Signed-off-by: Innei <i@innei.in>
2024-09-30 22:35:34 +08:00
Innei 6f94ec5027
feat: masonry item blur hash and html render also
Signed-off-by: Innei <i@innei.in>
2024-09-30 22:31:52 +08:00
Innei a954eb93bc
fix(styles): user subscription modal list item style
Signed-off-by: Innei <i@innei.in>
2024-09-30 22:31:52 +08:00
Whitewater 8d259878c3
fix: truncate long title in dialog title (#729) 2024-09-30 21:23:35 +08:00
DIYgod 6d765044fb
fix: source content loading status 2024-09-30 21:13:02 +08:00
Innei 447803488c
fix: entry column title top overflow
Signed-off-by: Innei <i@innei.in>
2024-09-30 20:56:35 +08:00
Kieran Cui 361b09eb23
fix: grid mode for images and video content page, shadow not fully displayed when the mouse hovers over (#727)
Co-authored-by: cuikaipeng <cuikaipeng@users.noreply.github.com>
2024-09-30 20:39:06 +08:00
Innei 14c7028347
fix: media preview image fixed size
Signed-off-by: Innei <i@innei.in>
2024-09-30 17:34:36 +08:00
colmugx 553f71b1ba
feat(corner-player): support now playing (#717)
* feat(corner-player): support now playing

* fix(corner-player): remove comment

* fix(corner-player): remove mediaSessionAtom

* update

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

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <i@innei.in>
2024-09-30 17:22:20 +08:00
Innei b615c171d5
fix: entry column title line height
Signed-off-by: Innei <i@innei.in>
2024-09-30 17:19:01 +08:00
Jerry Wong 5309491298
fix(ui): entry title line height (#608)
* fix: display title bug

* Update EntryListHeader.tsx
2024-09-30 17:12:07 +08:00
Przeblysk 2520ddb0f4
fix: wrong opening status of newly added feed (#726) 2024-09-30 16:56:21 +08:00
Stephen Zhou b0a88312f5
fix: reset state 2024-09-30 15:59:45 +08:00
Przeblysk cb2078da70
feat: Remember the open state of the category, Ensure that each View'… (#709) 2024-09-30 14:40:20 +08:00
Konata 37a436eac5
chore(transition): apply natural transition for avatar dropdown (#693)
* feat:more natural transition

* fix: role for list item and scroller

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

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <i@innei.in>
2024-09-29 19:58:47 +08:00
Jerry Wong 440de7b737
fix: tooltip content of open image and improve i18n support (#689)
feat: complete zh-TW and zh-HK
fix: tooltip content of open image

Co-authored-by: Innei <i@innei.in>
2024-09-29 18:59:54 +08:00
Innei c0e2f92793
chore: extract skeleton also
Signed-off-by: Innei <i@innei.in>
2024-09-29 17:14:47 +08:00
Innei 715683339b
refactor: extract `getItemComponentByView`
Signed-off-by: Innei <i@innei.in>
2024-09-29 17:13:36 +08:00
Alan Ye 4478517566
fix(i18n/en): enhance English grammar (#698)
* fix(i18n/en): enhance English grammar

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: at-wr <at-wr@users.noreply.github.com>
2024-09-29 16:58:47 +08:00
Whitewater 8ba5822a29
feat: view source content in app (#655)
* feat: support source content view

* refactor: use context menu for toggling source content view

* refactor: update source content view entry

* refactor: show source content in modal in social media and video

* refactor: add SourceContentView component for displaying external content

* feat: add banner for unsupported websites in SourceContentView

* refactor: replace iframe with SourceContentView in source content modal

* chore: clean code

* chore: update i18n

* fix: overflow in image view

* chore: add fi icon

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

* fix: improve loading stability  in SourceContentView

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <i@innei.in>
2024-09-29 16:57:36 +08:00
Innei 248369afe6
fix: drawer top edge anchor
Signed-off-by: Innei <i@innei.in>
2024-09-29 16:51:32 +08:00
duo 12f3965f6a
fix: ShortcutMode cannot be closed using shortcuts keys (#708)
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
2024-09-29 14:20:47 +08:00
Innei f1ce5df581
fix: don't auto focus in user profile modal
Signed-off-by: Innei <i@innei.in>
2024-09-29 14:19:56 +08:00
Stephen Zhou a060986fa3
fix: reset feed search, close #701 2024-09-29 10:23:01 +08:00
Stephen Zhou fd30789d86
fix: add feed from url, close #686 2024-09-29 09:58:33 +08:00
Stephen Zhou 553ba7d61f
fix: remove clamp limit, close #688 2024-09-29 09:23:51 +08:00
DIYgod 0016a0742b
feat: webhook action setting 2024-09-29 04:17:51 +08:00
DIYgod 31591d68d5
feat: smaller lists image 2024-09-29 01:42:07 +08:00
DIYgod 9698fa69d1
feat: optimize no showUnreadCount dot display 2024-09-29 00:52:12 +08:00
Innei 843ffd3927
chore: fix i18n usage
Signed-off-by: Innei <i@innei.in>
2024-09-28 19:04:36 +08:00
Jerry Wong 213a4bce2c
feat(i18n): conditional display of 'browser' or 'new tab' (#692) 2024-09-28 18:36:56 +08:00
Innei 3352e8c292 fix: add safe inset-top for Windows, fixed #576
Signed-off-by: Innei <i@innei.in>
2024-09-28 18:31:58 +08:00
Innei 3dd705f3a4
fix: media fallback src overflow
Signed-off-by: Innei <i@innei.in>
2024-09-28 16:04:05 +08:00
Innei 2f15900b08
fix: downgrade vitest
Signed-off-by: Innei <i@innei.in>
2024-09-28 15:49:09 +08:00
Innei 234cdd3c71
fix(i18n): duplicated keys
Signed-off-by: Innei <i@innei.in>
2024-09-28 15:27:31 +08:00
Innei 60f1af2409
fix(i18n-selector): hover cls 2024-09-28 14:00:53 +08:00
Innei 7c76761ae7
chore: update deps
Signed-off-by: Innei <i@innei.in>
2024-09-28 13:45:42 +08:00
Stephen Zhou 033887693b
fix: proxy sp1.piokok.com and video preview url 2024-09-28 09:06:56 +08:00
Konv Suu 935c87de28
fix: add i18n in preview-media (#675) 2024-09-28 04:22:39 +08:00
Konata e6459a5b63
feat(user-profile): smoother height switching (#674) 2024-09-28 00:22:20 +08:00
Innei 9239483081
fix: image blurhash `aspectRatio`
Signed-off-by: Innei <i@innei.in>
2024-09-27 19:21:29 +08:00
DIYgod 242d0aa55e
feat: preview media min width 2024-09-27 18:47:02 +08:00
DIYgod 5e6d73a728
feat: optimize compact picture entry preview title 2024-09-27 18:42:45 +08:00
Innei 3f170d050d
fix: use difference `layoutId` to fix date element layout transition, fixed #664
Signed-off-by: Innei <i@innei.in>
2024-09-27 17:35:26 +08:00
Cesaryuan 1eae565fb3
fix: null reference introduced in ab8c9e5 (#667)
* fix: null reference introduced in ab8c9e5988

* update

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

* fix: code block change theme flash

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

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <i@innei.in>
2024-09-27 17:08:32 +08:00
Stephen Zhou ccda8875e9
fix: avoid image cls in entry content (#666) 2024-09-27 16:37:59 +08:00
Konv Suu 86d7b8cc12
fix: add rounded class to video fallback message (#665) 2024-09-27 14:26:57 +08:00
Jerry Wong f99ba5de91
fix: modify the Tooltip content of the list dates title (#663) 2024-09-27 14:16:55 +08:00
Innei e0bcb718ae
fix(media-preview): solve image cls
Signed-off-by: Innei <i@innei.in>
2024-09-27 12:33:37 +08:00
Innei c8cdfd1e94
fix: change to `EllipsisHorizontalTextWithTooltip` to feed link
Signed-off-by: Innei <i@innei.in>
2024-09-27 11:47:39 +08:00
Konv Suu 7db50669b5
fix: add truncate class to feed link (#660) 2024-09-27 11:40:44 +08:00
Cesaryuan 634978f427
fix: picture entry preview in Grid view (#658)
Co-authored-by: cesaryuan <cesaryuan@gmail.com>
2024-09-27 10:24:47 +08:00
Stephen Zhou ab8c9e5988
fix: can not render code, close #640 2024-09-27 10:10:28 +08:00
Stephen Zhou 4751447ce2
fix: preview media entry background color in dark mode 2024-09-27 09:29:58 +08:00
DIYgod 29f2c0ca41
feat: picture entry preview modal 2024-09-27 04:41:59 +08:00
Innei 8e6021740f
feat(cmdk): persist search type
Signed-off-by: Innei <i@innei.in>
2024-09-27 02:09:55 +08:00
Hyden Liu 449ba07633
feat(about): copy your environment (#649) 2024-09-27 01:48:38 +08:00
Whitewater 39ef8c9f0e
refactor: extract component from EntryContent (#617)
* refactor: extract EntryTitle component from EntryContent

* refactor: extract SupportCreator component from EntryContent
2024-09-27 01:48:01 +08:00
DIYgod f96cf01bde
feat: filter adding feeds to lists in lists context menu 2024-09-27 01:24:14 +08:00
DIYgod afb79a27fb
feat: context menu of adding feeds to lists 2024-09-27 00:53:56 +08:00
Innei eb20dfd705
chore: remove `UserButton` tooltip
Signed-off-by: Innei <i@innei.in>
2024-09-27 00:00:21 +08:00
CHANX 6be812d127
chore(i18n): add some i18n in zh (#616)
* feat(i18n): add feed button

* feat(i18n): add shortcuts

* feat: add type I18nKeysForShortcuts
2024-09-26 17:18:42 +08:00
Noah da2e8230a1
feat(i18n): add de (#538)
* feat(i18n): add de

* fix: error

* fix: order

---------

Co-authored-by: Innei <i@innei.in>
2024-09-26 17:16:32 +08:00
Hyden Liu 71bb3235d7
fix(corner-player): pause playback when player finishes (#646)
* fix(corner-player): pause playback when player finishes

* fix(corner-player): seek full when player finishes
2024-09-26 17:15:43 +08:00
legao b993ae050e
fix: cls when star in gird item (#636)
* fix: grid item UI

The star icon causes layout shift, and the original line height settings may lead to the title being truncated

* fix: cls

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

* fix: hono

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

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <i@innei.in>
2024-09-26 14:53:52 +08:00
Innei 419c9cfd51
fix: add manual refresh of achievement status (#642)
* fix: mint

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-09-26 14:39:48 +08:00
Innei 85a52ad1df
fix: nightly build ci
Signed-off-by: Innei <i@innei.in>
2024-09-26 13:22:52 +08:00
Innei 7ed9ea196f
fix: catch electron call bridge error
Signed-off-by: Innei <i@innei.in>
2024-09-26 13:01:15 +08:00
houseme 5539570c83
chore(ci): add AutoCorrect action (#638)
* chore(ci): add AutoCorrect action

* chore(ci): add AutoCorrect action for build and lint

* chore(ci): AutoCorrect fix example-data.json

* chore(ci): fix AutoCorrect action config
2024-09-26 11:58:59 +08:00
Innei 23d6988a63
fix: add en lang fixed#641
Signed-off-by: Innei <i@innei.in>
2024-09-26 11:23:12 +08:00
Innei cf897d74db
fix: add missing commit file
Signed-off-by: Innei <i@innei.in>
2024-09-26 10:51:40 +08:00
Innei f420e78ca9
fix: list data store and list edit form
Signed-off-by: Innei <i@innei.in>
2024-09-26 10:49:38 +08:00
Innei 9fe48c5713
fix(i18n): relative time add `ago` postfix
Signed-off-by: Innei <i@innei.in>
2024-09-26 09:27:29 +08:00
DIYgod c0d2663df9
feat: display subs and earn for lists list 2024-09-26 02:46:19 +08:00
huanfei d9bb74937b
fix: display white block (#633) 2024-09-26 00:42:09 +08:00
Innei 2290760cbb
feat: expose present user profile modal for electron
Signed-off-by: Innei <i@innei.in>
2024-09-25 22:04:31 +08:00
xiaomo afecb71b46
fix(style): add `thumbnail` for video preview (#632)
* style: fix the FloatMutedButton mispositioning

* feat: add thumbnail

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

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <i@innei.in>
2024-09-25 20:14:13 +08:00
Innei 5104ad1964
chore: add testid for debug
Signed-off-by: Innei <i@innei.in>
2024-09-25 20:03:30 +08:00
Hyden Liu ea6fbc27e6
fix: prevent translation popup from being obscured by time display (#631) 2024-09-25 17:35:26 +08:00
Innei 69be8d4b26
refactor(app): electron follow feed in main window modal
Signed-off-by: Innei <i@innei.in>
2024-09-25 17:07:22 +08:00
Innei 18fdaa2061
fix(image): error fallback
Signed-off-by: Innei <i@innei.in>
2024-09-25 16:44:34 +08:00
Innei e5d9a5475a
chore: typo
Signed-off-by: Innei <i@innei.in>
2024-09-25 16:01:20 +08:00
Stephen Zhou 40dfbde85e
fix: show fallback media when loading error (#615) 2024-09-25 10:15:56 +08:00
DIYgod 192d5bc8a6
feat: filter small media for social media and pictures view 2024-09-25 02:39:07 +08:00
DIYgod a45071b75d
feat: update discord link 2024-09-25 01:43:39 +08:00
Laitron 3751363d45
feat(i18n): added Turkish language (#544)
Signed-off-by: Laiq <meetlq@outlook.com>
2024-09-24 21:38:40 +08:00
Innei a61bd173a9
feat(lottie): star lottie
Signed-off-by: Innei <i@innei.in>
2024-09-24 21:32:49 +08:00
Innei 68ad4483a4
chore(i18n): `actions` translation
Signed-off-by: Innei <i@innei.in>
2024-09-24 20:49:51 +08:00
Innei 95d17f5732
fix: adjust slide up modal aspect ratio
Signed-off-by: Innei <i@innei.in>
2024-09-24 20:46:49 +08:00
Innei 5933ceab63
fix(invitation): reset app data then logout
Signed-off-by: Innei <i@innei.in>
2024-09-24 20:31:48 +08:00
Innei ff4d0af262
feat: set mono font preset, fixed #594
Signed-off-by: Innei <i@innei.in>
2024-09-24 17:36:52 +08:00
Innei a0ef6a2211
chore: optional chain for sort
Signed-off-by: Innei <i@innei.in>
2024-09-24 17:23:17 +08:00
Innei f7afd373de
fix: catch setTTS execption
Signed-off-by: Innei <i@innei.in>
2024-09-24 16:53:25 +08:00
Innei 83b4031405
fix(error): filter user is empty
Signed-off-by: Innei <i@innei.in>
2024-09-24 16:42:13 +08:00
Innei 447cbb276d
chore: filter sentry error
Signed-off-by: Innei <i@innei.in>
2024-09-24 16:40:32 +08:00
Innei a81c09b087
chore: add not support device width tip
Signed-off-by: Innei <i@innei.in>
2024-09-24 15:16:57 +08:00
Innei 43c89e007d
fix(i18n): hk language resource
Signed-off-by: Innei <i@innei.in>
2024-09-24 15:12:12 +08:00
Innei 1c5a1ef9a5
fix(masonry): in view mark read and scroll out mark read
Signed-off-by: Innei <i@innei.in>
2024-09-24 14:18:33 +08:00
Innei 98e899df09
fix(i18n): i18n key should can nested
Signed-off-by: Innei <i@innei.in>
2024-09-24 12:51:19 +08:00
Innei 34b9a20acf
fix(i18n): fix json nested key fixes #605
Signed-off-by: Innei <i@innei.in>
2024-09-24 12:38:25 +08:00
Innei 0f566e757b
fix: login button transition
Signed-off-by: Innei <i@innei.in>
2024-09-24 12:33:01 +08:00
GinWU ff14738eea
fix: search items ensure unique keys (#597) 2024-09-24 12:21:39 +08:00
Innei 650aeeb099
fix(login-button): add overflow
Signed-off-by: Innei <i@innei.in>
2024-09-23 23:59:15 +08:00
Innei d19d5c13d6
refactor: picture view masonry (#588)
* store

* update

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

* resize

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

* cleanup

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

* fix(ci): auto fix

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

* chore: update

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

* update

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

---------

Signed-off-by: Innei <i@innei.in>
2024-09-23 20:59:44 +08:00
Sunghyun Kim 2ae12c9d2b
feat(i18n): Korean and fallback language name (#582)
* Add Korean translations for error messages, UI elements, and shortcuts.

Created new JSON files with Korean translations for individual error messages, various UI components, application settings, and keyboard shortcuts to improve localization and enhance user experience for Korean-speaking users.

* feat: completion langs

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

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <i@innei.in>
2024-09-23 20:58:15 +08:00
Auuu Nya 0a89c2ff73
fix: list manage Modal button zh-cn word wrap (#590) 2024-09-23 20:31:08 +08:00
DIYgod 831f0f892a
fix: types 2024-09-23 20:27:58 +08:00
DIYgod c3b9fc9e75
feat: force lists to be sorted by alphabetical 2024-09-23 20:25:15 +08:00
DIYgod f262e1162e
feat: feature flag for image proxy (#534) 2024-09-23 20:16:30 +08:00
DIYgod 3a7ed50c55
feat: followed status for external follow button 2024-09-23 20:15:52 +08:00
DIYgod 9cfe2ab685
fix: lists edit follow modal in external page 2024-09-23 20:08:55 +08:00
DIYgod 0c4c3c5873
feat: display feed list in lists external page 2024-09-23 19:42:30 +08:00
DIYgod 46e246aa17
feat: list api in subscription modal 2024-09-23 19:42:29 +08:00
Innei 09eae80f3e
feat: compatible profile query by username
Signed-off-by: Innei <i@innei.in>
2024-09-23 19:35:14 +08:00
DIYgod 48b86d275a
Merge branch 'dev' into ab 2024-09-23 18:47:31 +08:00
DIYgod b57f43fbcc
fix: lists date group 2024-09-23 18:32:17 +08:00
DIYgod 36fbbddc6d
feat: sort list by insertedat 2024-09-23 18:01:43 +08:00
Kuizuo d8ddffbc48
fix: improve input component display on focus (#581)
- Change viewportClassName from 'p-1' to 'px-1'
- Ensures input is fully visible when focused
2024-09-23 11:04:23 +08:00
Stephen Zhou e420451afc
fix: use insertedAt as cursor for list (#580) 2024-09-23 11:01:20 +08:00
Evan Zhang b5aeada3cb
fix: require title for list form (#575)
Co-authored-by: Evan <sutchilde@outlook.com>
2024-09-23 00:20:28 +08:00
Innei a026c6e34c
fix: transcation table text overflow
Signed-off-by: Innei <i@innei.in>
2024-09-22 22:10:20 +08:00
Innei 0658c4ab6b
fix: import type error
Signed-off-by: Innei <i@innei.in>
2024-09-22 21:15:37 +08:00
Jerry Wong e2b8ec8862
feat: add more words i18n (#516)
* feat: some word i18n

* feat: add object-cover to feed icon, add zh-HK and zh-TW errors lang

* feat: add more words i18n

* update

* resolve merge conflict

* resole

* resolve merge conflict

* resolve merge conflict

* Update apps/renderer/src/modules/claim/hooks.ts

Co-authored-by: Innei <tukon479@gmail.com>

* Update apps/renderer/src/hooks/biz/useSubscriptionActions.tsx

Co-authored-by: Innei <tukon479@gmail.com>

* Update apps/renderer/src/modules/discover/import.tsx

Co-authored-by: Innei <tukon479@gmail.com>

* update

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

* update

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

* update

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

* update

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

* update

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

* update

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

* update

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

* update

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

* update

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

* update

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

* update

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

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <i@innei.in>
2024-09-22 21:05:29 +08:00
Innei 09d77657a0
fix: app width limit to 1024px
Signed-off-by: Innei <i@innei.in>
2024-09-22 19:22:54 +08:00
Stephen Zhou e7081cf485
Revert "refactor: migrate to webp"
This reverts commit 973553b0e9.
2024-09-22 17:01:09 +08:00
Innei f1b86b3068
fix(styles): add gap for received button
Signed-off-by: Innei <i@innei.in>
2024-09-22 16:49:26 +08:00
Stephen Zhou 65e69cd40a
Merge branch 'dev' into ab 2024-09-22 16:34:02 +08:00
Innei 3c0f4e779c
feat(invitation): add signout button
Signed-off-by: Innei <i@innei.in>
2024-09-22 16:31:44 +08:00
Innei 176afa72ba
fix: user avatar use profile data if userId passed, fixed #550
Signed-off-by: Innei <i@innei.in>
2024-09-22 15:56:02 +08:00
Innei bbc2bef800
fix: catch access stylesheet error
Signed-off-by: Innei <i@innei.in>
2024-09-22 15:45:52 +08:00
Innei 539f3bc599
fix: add lock when login button click
Signed-off-by: Innei <i@innei.in>
2024-09-22 15:42:37 +08:00
DIYgod fbbb2a98b2
fix: empty title break 2024-09-22 15:28:42 +08:00
DIYgod e089b9b919
Revert "fix: catch access stylesheet error"
This reverts commit 16a62310e3.
2024-09-22 15:16:42 +08:00
Innei 61ca6b452b
fix: read entry history more button position
Signed-off-by: Innei <i@innei.in>
2024-09-22 14:43:00 +08:00
Innei 2eaabf0038
fix(read-history): hover card alaway open
Signed-off-by: Innei <i@innei.in>
2024-09-22 14:36:07 +08:00
Innei 96bb514254
fix(achievement): loading button style
Signed-off-by: Innei <i@innei.in>
2024-09-22 14:04:23 +08:00
Innei 47fc1ff7c4
fix(list): adjust power fee
Signed-off-by: Innei <i@innei.in>
2024-09-22 14:00:51 +08:00
Innei f3798c5a2a
fix: panel spiltter z-index
Signed-off-by: Innei <i@innei.in>
2024-09-22 13:58:06 +08:00
Innei 7dbf48b92c
fix: determine snowflake id
Signed-off-by: Innei <i@innei.in>
2024-09-22 13:50:28 +08:00
Innei f9a244c389
fix(table): table head align
Signed-off-by: Innei <i@innei.in>
2024-09-22 13:24:40 +08:00
Innei fd361e8886
fix: generate-i18n scripti
Signed-off-by: Innei <i@innei.in>
2024-09-22 11:59:30 +08:00
DIYgod 1e212effad
feat: display certification in discover form 2024-09-22 11:44:09 +08:00