Commit Graph
61 Commits
Author SHA1 Message Date
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
DIYgod 133a067840 fix: testnet explorer url 2024-10-21 03:54:36 +08:00
DIYgod e6a665aad9 feat: get level multiplier from server configs and reward description 2024-10-21 03:28:21 +08:00
Innei 42b1df1108 Merge remote-tracking branch 'origin/dev' into feat/beta-public
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-17 19:53:21 +08:00
Innei 2718c93321 fix: add csrf token on header
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-17 19:47:54 +08:00
Jerry WongandInnei 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
Innei 485d2d5d35 pref: use slice instead of replace
Signed-off-by: Innei <i@innei.in>
2024-10-15 00:46:58 +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 f09cd8107e fix!: adjust external share page route
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-14 22:00:42 +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
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 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
Stephen Zhou c3abc06978 fix: do not filter figure, add pre fallback
close #847
2024-10-12 09:53:48 +08:00
Innei f84ac4b2a3 refactor: follow
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-11 19:50:41 +08:00
Innei b69c6f97c8 update
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-11 16:17:09 +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
Stephen Zhou 3b67b2c0a7 feat: implement immersive translation functionality with caching support in entry content module (#714) 2024-10-10 22:27:46 +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 2663c1181c chore: enable eslint rules require type check 2024-10-10 10:51:25 +08:00
Innei 14369dbb22 init
Signed-off-by: Innei <i@innei.in>
2024-10-09 23:20:21 +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
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
Cesaryuan f83278bff8 feat: trim social media view end redundant br elements (#826) 2024-10-09 15:58:41 +08:00
Stephen Zhou be581f603c chore: stop ab test for image proxy 2024-10-08 16:31:14 +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
Innei e5fc18fd9a fix(ui): fetch error toast margin
Signed-off-by: Innei <i@innei.in>
2024-10-07 20:54:28 +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
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. 5285ea4ad9 refactor: optimize ui of error toast (#766) 2024-10-06 00:19:02 +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
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
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 71749fa505 refactor: get html media info implement, fixed #671
Signed-off-by: Innei <i@innei.in>
2024-10-01 20:06:41 +08:00
CesaryuanandInnei 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
Innei e0bcb718ae fix(media-preview): solve image cls
Signed-off-by: Innei <i@innei.in>
2024-09-27 12:33:37 +08:00
Stephen Zhou ab8c9e5988 fix: can not render code, close #640 2024-09-27 10:10:28 +08:00
Hyden Liu 449ba07633 feat(about): copy your environment (#649) 2024-09-27 01:48:38 +08:00
DIYgod 192d5bc8a6 feat: filter small media for social media and pictures view 2024-09-25 02:39:07 +08:00
Stephen Zhou 65e69cd40a Merge branch 'dev' into ab 2024-09-22 16:34:02 +08:00
Innei 7dbf48b92c fix: determine snowflake id
Signed-off-by: Innei <i@innei.in>
2024-09-22 13:50:28 +08:00
DIYgod 78bcc5562b feat: tiny styles 2024-09-21 23:37:58 +08:00
InneiandDIYgod eaf1cd27af feat: achievement (#512)
* done

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

* fix loading

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

* feat: i18n

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

* update hono

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

* fix: chain

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

* feat: spaces and words

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: DIYgod <i@diygod.me>
2024-09-21 23:21:58 +08:00