Commit Graph
107 Commits
Author SHA1 Message Date
Stephen Zhou b18e4a2bd4 fix: picture action button position
part of #811
2024-10-10 20:11:20 +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
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
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
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 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
Stephen Zhou 2663c1181c chore: enable eslint rules require type check 2024-10-10 10:51:25 +08:00
DIYgod 555428cbb5 feat: wider user drop menu 2024-10-10 02:31:48 +08:00
InneiandInnei 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
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
Innei da74fceb25 chore: manual chunk more
Signed-off-by: Innei <i@innei.in>
2024-10-09 14:08:58 +08:00
Stephen Zhouandhyoban 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 6ef652f7b2 chore: use IN_ELECTRON constant
Signed-off-by: Innei <i@innei.in>
2024-10-08 14:14:42 +08:00
Kaffi Y. 066e9d40e9 refactor: make resizing more natural (#771) 2024-10-07 20:49:58 +08:00
CesaryuanandInnei 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
CHANXandInnei 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
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 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
Kaffi Y. 7ef5dfc036 fix: setting modal should be resizable from bottomRight only (#769) 2024-10-06 14:29:00 +08:00
Kaffi Y. 5285ea4ad9 refactor: optimize ui of error toast (#766) 2024-10-06 00:19:02 +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
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
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
InneiandInnei 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 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
Whitewater 8d259878c3 fix: truncate long title in dialog title (#729) 2024-09-30 21:23:35 +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
Innei 248369afe6 fix: drawer top edge anchor
Signed-off-by: Innei <i@innei.in>
2024-09-29 16:51:32 +08:00
duoandStephen Zhou 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 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
Stephen Zhou 033887693b fix: proxy sp1.piokok.com and video preview url 2024-09-28 09:06:56 +08:00