github-actions[bot]
49c1a87a67
chore: release v2.8.2 ( #769 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-05 19:09:15 +08:00
qwqcode
ec7f81cb83
chore(docs): import artalk css via node
2024-02-05 19:01:39 +08:00
qwqcode
4b115d7b6a
perf(ui/editor): optimize editor styles for narrow-width screens
2024-02-05 17:19:53 +08:00
qwqcode
1bae6d8d2a
perf(ui/editor): modify editor plug-in text buttons to icons for brevity
2024-02-05 17:19:53 +08:00
qwqcode
bdafa19470
perf(ui/editor): place Cancel Reply at the bottom of editor area ( #644 )
2024-02-05 17:19:40 +08:00
qwqcode
342236b6a7
perf(ui/lite): disable ArtalkLite preview config option by default
2024-02-05 17:05:00 +08:00
qwqcode
ffce9f9e85
fix(style): replace style break-all with break-word in content el ( #644 )
2024-02-05 15:05:58 +08:00
github-actions[bot]
42da621dfc
chore: release v2.8.1 ( #766 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-04 22:21:43 +08:00
qwqcode
e181a6d5dd
perf(style/sidebar): improve some detail in sidebar
2024-02-04 21:55:59 +08:00
qwqcode
7873b21fb7
fix(ui/scroll): scroll into view issue when relativeTo parameter is provided
2024-02-04 21:53:02 +08:00
qwqcode
2a219518a4
feat(ui/goto): improved solution of navigating to comment via link hash ( #693 ) ( #765 )
2024-02-04 21:47:06 +08:00
qwqcode
afa7888db0
chore(typo): fix comment typo
2024-02-04 20:26:34 +08:00
qwqcode
f6a589d5b2
refactor(ui/list): refactor the list layout manager
2024-02-04 20:25:21 +08:00
qwqcode
41a09d5996
refactor(ui/comment): loose coupling between Comment and Context
2024-02-04 20:15:28 +08:00
qwqcode
191977c0df
feat(api): add GET /comments/:id endpoint ( #764 )
2024-02-04 20:08:38 +08:00
qwqcode
3c88c0c29c
docs: supplement and refine fe-api.md
2024-02-04 02:22:49 +08:00
qwqcode
35aab6bedc
fix(ui/list): unable to reply or delete comments after switching pagination
2024-02-04 01:40:07 +08:00
qwqcode
17033dc111
fix(ui/no_comment): always appears when creating comment
2024-02-03 23:45:48 +08:00
qwqcode
559df60f0d
fix(ui/pv): missing pageTitle field in the PV request
2024-02-03 23:12:12 +08:00
qwqcode
22d4ec1c31
chore(docs): rename IP region in zh-CN
2024-02-03 21:44:37 +08:00
github-actions[bot]
46e2a15116
chore: release v2.8.0 ( #756 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-01 00:19:18 +08:00
qwqcode
29bf49958f
perf(ui/pagination): replace the prev/next text on pagination buttons with icons ( #743 )
2024-01-31 23:59:58 +08:00
qwqcode
2fcad539ca
perf(ui/i18n): refine some translation ( #743 )
2024-01-31 23:28:56 +08:00
qwqcode
45b79124c9
chore(ui/deps): bump deps for ui
2024-01-31 20:27:14 +08:00
qwqcode
2b44452234
refactor(ui): optimize init and update lifecycle events
2024-01-31 19:44:40 +08:00
qwqcode
0e0b53fe9e
perf(ui/sidebar): prevent potential token leakage by clearing query in iframe url
...
The previous referrer policy was already set to `strict-origin`, but to further enhance security, this modification was made.
2024-01-30 23:07:37 +08:00
qwqcode
dba5ba5277
fix(ui/no_comment): flickering when clearing list before fetch
2024-01-30 22:24:53 +08:00
qwqcode
942aaf654f
fix(ui/sidebar): incorrectly increasing pv count in sidebar ( #724 )
2024-01-30 20:27:19 +08:00
qwqcode
37e0091502
perf(ui/conf): support for watching partial changes in config with watchConf() ( #755 )
2024-01-30 19:14:09 +08:00
Frost Ming
082bfc63d1
fix(ui/editor): prevent propagation of click event in editor ( #734 )
...
Signed-off-by: Frost Ming <me@frostming.com >
2024-01-29 14:12:21 +08:00
qwqcode
0de8009e65
feat(ui/admin): add logout button in admin panel ( #488 ) ( #753 )
...
fixes #488
2024-01-29 13:56:02 +08:00
qwqcode
a5e4c81e72
fix(ui/sidebar_layer): sidebar still displays when login is required
2024-01-29 13:34:51 +08:00
qwqcode
c52c26145c
fix(ui/layer): unexpected behavior with multiple items when closing
2024-01-29 00:47:50 +08:00
qwqcode
f5e310a182
chore(ui/ctx): remove token public in context
2024-01-28 22:14:24 +08:00
qwqcode
0828b91602
refactor(ui/comment): rename class Comment to CommentNode
2024-01-28 22:13:20 +08:00
qwqcode
c4f664e412
refactor(ui/ctx): add getComments and getCommentNodes in context ( #752 )
...
* refactor(ui/ctx): add `getComments` and `getCommentNodes` func in context
* fix import
2024-01-28 22:03:15 +08:00
qwqcode
a084c50095
refactor(transfer): normalize transfer payload parameter name
2024-01-28 13:33:03 +08:00
qwqcode
4689492bf5
fix(ui/pagination): auto load list when scroll reaches bottom
2024-01-26 17:09:56 +08:00
qwqcode
6ee9ee9ea4
fix(ui/lite): correct the instance name for compiling ArtalkLite ( #740 )
2024-01-26 11:45:22 +08:00
qwqcode
8e3a743ed8
fix(i18n): sidebar language cannot be changed
...
Also follow 0d35e66
2024-01-26 11:42:39 +08:00
qwqcode
9550a16a0c
chore(fetch): returns empty object when json deserialize failed
2024-01-25 01:07:48 +08:00
qwqcode
589850d311
refactor(api): refactor HTTP API to version 2 ( #735 )
...
* refactor(api): refactor HTTP API to version 2
* refactor: remove forced site_origin check
* refactor: update http client
* fix
* add more api description and error code
* reduce nestings in response structures
* separate unread
* refactor(api/comments): get comments
* refactor: frontend api module
* chore: remove vite temporary file
* chore: restore swagger file
* update
* 移除为管理员分配站点名的站点隔离功能,简化实现
* refactor pagesAllFetch
* fix ci
* remove useless codes
* limiter protected paths
* add test for version endpoint
* rename handler code files
* code file separate
* fix some bug of interacting with backend
* add fetch error class for handling
* fix and rename
* refactor: checker support both `Promise` and callback fn
* fix new checker captcha iframe url
* rename and add swagger id field
* replace tab with spaces in go comment
* chore: refine
* complete the validate tag for request fields and enable `--defaultRequired`
90% of the request fields of our API are required,100% of response fields in our API are required.
Each field add validate:"required" is easy to miss.
* replace original api client with auto-generated codes
* artalk pkg apply new api client
* artalk-sidebar pkg apply new api client
* fix issues
* fix sidebar locale conf and refactor user login
* fix and refactor captcha and limiter
* fix ui testing
* add script to build http client by swagger.json
2024-01-24 21:33:30 +08:00
qwqcode
9ba9439831
chore(typo): fix typo for login in zh
2024-01-24 21:14:50 +08:00
github-actions[bot] and qwqcode
63165599ce
chore: release v2.7.3 ( #726 )
...
* chore: release v2.7.3
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: qwqcode <22412567+qwqcode@users.noreply.github.com >
2023-12-28 17:06:57 +08:00
qwqcode
a5b428d1ec
refactor(test/ui): add more ui api tests
2023-12-28 16:56:00 +08:00
qwqcode
cf3f9b1ac3
chore: patch pacakge.json for i18n exports
2023-12-28 15:43:30 +08:00
qwqcode
c212d67f49
perf(ui/build): better dts generation ( #689 )
...
* chore: move types as a subfolder of src
* perf(ui/build): better dts generation
* chore: update pnpm-lock.yaml
* chore: fix env variable on windows
* fix i18n types
2023-12-28 15:25:01 +08:00
qwqcode
b00a257699
docs: update ui api documentation
2023-12-26 22:18:43 +08:00
3698c0c593
refactor(ui/conf): better handling of mutable config ( #722 )
...
* fix(ui): mergeDeep causes some configurations to be overridden by the default configuration
* fix: config always get override by defaults
Signed-off-by: Frost Ming <me@frostming.com >
* refactor(ui/conf): better handling of mutable config
* chore: fix path issue on win env
* fix: mergeDeep avoid prototype pollution
BREAKING CHANGE: Directly referencing `artalk.conf` and `artalk.$root` is deprecated. Please use functions instead: `artalk.getConf()` and `artalk.getEl()`.
---------
Signed-off-by: Frost Ming <me@frostming.com >
Co-authored-by: syfxlin <i@ixk.me >
Co-authored-by: Frost Ming <me@frostming.com >
2023-12-26 22:13:37 +08:00
qwqcode
54729fbafc
chore(build): use vite internal mergeConfig func
2023-12-26 00:06:21 +08:00