github-actions[bot]
0a89426c93
chore: release v2.7.2
2023-12-20 17:20:40 +00:00
qwqcode
7a026ef0e2
fix(sidebar): sidebar language switch and config save issue ( #708 )
2023-12-21 01:14:49 +08:00
qwqcode
855f6c261f
docs(i18n): add translation for open button
2023-12-20 23:35:58 +08:00
qwqcode
7099598a92
fix(ui): add referrerpolicy attribute for iframe ( #687 ) ( #707 )
2023-12-20 23:34:46 +08:00
qwqcode
ad8851ea94
fix(ui/pagination): auto switch page by url hashtag issue ( #693 )
2023-12-20 21:44:06 +08:00
qwqcode
def9dc2707
fix(ui/sidebar): refactor settings and fix save issue ( #677 ) ( #706 )
2023-12-20 20:53:04 +08:00
dependabot[bot]
441c4fa6a9
chore(deps/ui): bump the dev-deps group in /ui with 3 updates ( #698 )
...
Bumps the dev-deps group in /ui with 3 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) and [@vue/tsconfig](https://github.com/vuejs/tsconfig ).
Updates `@typescript-eslint/eslint-plugin` from 6.14.0 to 6.15.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.15.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.14.0 to 6.15.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.15.0/packages/parser )
Updates `@vue/tsconfig` from 0.5.0 to 0.5.1
- [Commits](https://github.com/vuejs/tsconfig/compare/v0.5.0...v0.5.1 )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-deps
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-deps
- dependency-name: "@vue/tsconfig"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 17:04:01 +08:00
da42676656
chore(deps): bump frontend deps ( #679 )
...
* chore: bump deps
* chore: add exports field
* chore: remove src folder
* fix: vite cjs deprecated warning
* chore(ci): fix test ci
* chore: update linter
---------
Co-authored-by: qwqcode <qwqcode@gmail.com >
Co-authored-by: qwqcode <22412567+qwqcode@users.noreply.github.com >
2023-12-19 16:54:34 +08:00
Mr.Hope and qwqcode
8918c62ffd
chore: update description and fix typos ( #684 )
...
* chore: update description
* chore: fix typos
* chore: tweaks
* chore: fix case
---------
Co-authored-by: qwqcode <qwqcode@gmail.com >
2023-12-18 21:21:42 +08:00
qwqcode
1b938752ff
fix(ui/dark-mode): potential memory leak issue in auto mode ( #688 )
2023-12-18 19:14:58 +08:00
qwqcode
f390b57fe7
refactor(ui): move window references into function scope ( #675 )
2023-12-18 19:05:57 +08:00
qwqcode
6d21a0f204
refactor(ui/api): losing coupling between Api and User
2023-12-18 18:37:18 +08:00
qwqcode
a1d0c37828
refactor(ui/user): user class no longer globally singleton
2023-12-18 18:37:18 +08:00
github-actions[bot]
763fbc417e
chore: release v2.7.1
2023-12-17 17:24:29 +00:00
qwqcode
776d5e66fe
docs(i18n): add translation of update notice
2023-12-18 01:22:53 +08:00
qwqcode
10c0975ce0
fix(build): generate source maps to ease debugging
2023-12-18 00:53:54 +08:00
qwqcode
7286642fc9
fix(ui): static method export issue in JS module ( #669 )
2023-12-18 00:46:56 +08:00
qwqcode
8db4fb3524
fix(cout-widget): loadCountWidget issue
2023-12-17 23:50:44 +08:00
github-actions[bot]
d7ea9ba43f
chore: release v2.7.0
2023-12-17 11:57:30 +00:00
qwqcode
bad248534c
docs: revise and add more examples
...
BREAKING CHANGE: The following top-level functions exported by the 'artalk' npm package have been deprecated: `Artalk.update`, `Artalk.reload`, and `Artalk.destroy`. These methods now require invocation on an instance created by either `Artalk.init` or `new Artalk`. Please utilize instance-level methods instead, such as `artalkInstance.update`. For more information, refer to [the documentation](https://artalk.js.org/guide/frontend/import-framework.html ). The update was implemented to enable the concurrent creation of multiple instances, adapting to situations where Vue components are simultaneously referenced across various pages. Initially, only a singular instance was permitted to mitigate memory leak concerns. However, this proved limiting for scenarios involving the caching of multiple component instances through 'keep-alive.' To better suit intricate SPA application needs, the choice was made to permit the creation of multiple independent instances. It's crucial to remember to manually invoke the `artalk.destroy` method when releasing components to avoid memory leaks (Issue #660 ).
2023-12-17 19:16:33 +08:00
qwqcode
c9ea8f6162
fix(lifecycle): create multi-instances at the same time ( #660 ) ( #663 )
2023-12-17 01:16:27 +08:00
qwqcode
87102cd3b0
refactor(ui/layer): better layer implements and independence ( #662 )
2023-12-17 01:10:22 +08:00
qwqcode
8b6bab828d
fix(ui/dark-mode): setDarkMode cannot save to instance config ( #661 )
2023-12-17 01:04:30 +08:00
qwqcode
1b878fb3cc
fix(ui): scroll to the center of the viewport issue
2023-12-13 18:57:03 +08:00
qwqcode
4e9afd9761
fix(ui/editor): fix position of the comment box when replying ( #643 ) ( #648 )
2023-11-20 19:21:44 +08:00
qwqcode
fb93231b35
feat(ui/test): add end-to-end (e2e) testing using Playwright
2023-11-05 22:45:53 +08:00
qwqcode
9dc2d83486
chore(dev): fix .eslintignore in vscode
...
Add this config in `.vscode/settings.json`: `{"eslint.workingDirectories": ["./path/to/nested/front/project"]}` In this case, your `.eslintignore` file should be located in the nested path location (you have a front project in a nested folder inside the main project at root).
2023-11-01 10:59:58 +08:00
qwqcode
d918caaf81
fix(ui/conf): sanitize noComment conf option for security ( #624 )
2023-10-31 20:11:47 +08:00
qwqcode
d44212bd90
refactor(ui/marked): separate markdown related codes
2023-10-30 20:13:18 +08:00
qwqcode
37d4ca76fa
refactor(ui): reduce coupling with ContextApi
2023-10-30 19:50:32 +08:00
qwqcode
8cc39f322c
chore(ui/deps): downgrade eslint-import-resolver-typescript
...
Downgrade `eslint-import-resolver-typescript` to version 2.7.0 to resolve linting issue on Windows development environment.
https://github.com/ArtalkJS/Artalk/discussions/621#discussioncomment-7416173
2023-10-29 22:59:47 +08:00
qwqcode
2b4e80651a
feat(ui): support scrollRelativeTo config option
2023-10-29 21:52:59 +08:00
qwqcode
415fa0f2e3
chore(ui/sidebar): fix sidebar dependant issues caused by refactoring
2023-10-29 21:51:54 +08:00
qwqcode
91809002d7
chore(ui): fix issues caused by refactoring
2023-10-29 19:01:16 +08:00
qwqcode
dcaad1b2d5
chore(ui/lint): follow the import/no-cycle eslint rule
2023-10-29 13:12:36 +08:00
qwqcode
5e635bba68
chore(ui/list): let the service of list non-optional
2023-10-28 20:33:38 +08:00
qwqcode
d136d086eb
refactor(ui/stat): losing coupling of CountWidget
2023-10-28 20:07:55 +08:00
qwqcode
9fe765f874
refactor(ui/api): loose coupling between Api and Context
2023-10-28 00:02:17 +08:00
qwqcode
72317ead34
refactor(ui): separate standalone admin-only-elem checker
2023-10-27 22:50:24 +08:00
qwqcode
75c7914fb1
refactor(ui/types): better ArtalkType import and export ( #620 )
2023-10-27 22:24:53 +08:00
qwqcode
863b4deec0
refactor(ui/conf): loose coupling between config and list fetch
2023-10-27 17:23:05 +08:00
qwqcode
6e6fd8d587
refactor(ui/marked): loose coupling with marked func
2023-10-27 16:32:24 +08:00
qwqcode
1608911328
refactor(ui/list): separate list into standalone components ( #618 )
...
* refactor(ui/list): separate the functions of list
* fix
* move files
2023-10-27 14:28:58 +08:00
qwqcode
87a62961b6
fix(style/list): replace float to text-align in footer part ( #619 )
2023-10-27 00:24:11 +08:00
qwqcode
e6a9748e70
refactor(ui/plugin): further divide functionality into plugins ( #615 )
...
* move stat to plugins folder
* move editor plugs to common plugins folder
* implement list-close-editor standalone plugin
* impl StateManager for Loose Coupling of Reply, Edit, and Submit Components
* rename
* remove Mover dep in editor edit state plugin
* rename editor state plugins
* refactor header plugin of editor
* separate header plugins
* add and remove event binding
* fix plugin btn ui refresh when conf updating
* rename editor plugins and remove plug classname suffix
* editor kit reload plugin when conf-loaded
* impl clear method in editor-kit class
* separate version-check from list
* separate unread from list
* make context maintain globally accessible `page` data
* rename plug to plugin
* wrap the options of List up
* separate functionalities of list
* rename
2023-10-20 17:14:53 +08:00
qwqcode
0f35532f0b
refactor(editor): refactor plug kit and events ( #613 )
2023-10-17 20:11:47 +08:00
qwqcode
d21e47f881
refactor(ui/event): refactor core event manager ( #611 )
2023-10-15 23:08:31 +08:00
qwqcode
8d11a239fa
refactor(editor): refactor editor plugin manager ( #609 )
...
* refactor(editor): refactor editor plugin manager
* update
* modify editorTravelBack to editorResetUI
2023-10-15 21:05:30 +08:00
github-actions[bot]
8867eb296c
chore: release v2.6.4
2023-10-12 06:19:33 +00:00
qwqcode
5ee9e76dcf
fix(style): fix copyright text overlay on send button ( #607 )
2023-10-12 13:35:24 +08:00