renovate
846350bbb1
chore: bump up oxlint version to v0.16.9 ( #12122 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs ) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint )) | [`0.16.8` -> `0.16.9`](https://renovatebot.com/diffs/npm/oxlint/0.16.8/0.16.9 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>oxc-project/oxc (oxlint)</summary>
### [`v0.16.9`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.16.9 ): oxlint v0.16.9
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.16.8...oxlint_v0.16.9 )
#### \[0.16.9] - 2025-05-03
##### Features
- [`63f02a8`](https://redirect.github.com/oxc-project/oxc/commit/63f02a8 ) linter: Add react/forward_ref_uses_ref ([#​10506](https://redirect.github.com/oxc-project/oxc/issues/10506 )) (x6eull)
- [`a3ada34`](https://redirect.github.com/oxc-project/oxc/commit/a3ada34 ) linter: Implement fixer for unicorn/prefer-number-properties ([#​10693](https://redirect.github.com/oxc-project/oxc/issues/10693 )) (camc314)
- [`e97a4e0`](https://redirect.github.com/oxc-project/oxc/commit/e97a4e0 ) linter: Add fixer to unicorn/prefer-spread ([#​10691](https://redirect.github.com/oxc-project/oxc/issues/10691 )) (camc314)
- [`a69a0ee`](https://redirect.github.com/oxc-project/oxc/commit/a69a0ee ) linter: Add eslint/block-scoped-var ([#​10237](https://redirect.github.com/oxc-project/oxc/issues/10237 )) (yefan)
- [`387af3a`](https://redirect.github.com/oxc-project/oxc/commit/387af3a ) linter: Report vars only used as types ([#​10664](https://redirect.github.com/oxc-project/oxc/issues/10664 )) (camc314)
- [`eac205f`](https://redirect.github.com/oxc-project/oxc/commit/eac205f ) linter: Add unicorn/consistent-assert rule ([#​10653](https://redirect.github.com/oxc-project/oxc/issues/10653 )) (Shota Kitahara)
- [`0e6a727`](https://redirect.github.com/oxc-project/oxc/commit/0e6a727 ) linter: Add autofixer for eslint/radix ([#​10652](https://redirect.github.com/oxc-project/oxc/issues/10652 )) (yefan)
- [`fb070c4`](https://redirect.github.com/oxc-project/oxc/commit/fb070c4 ) linter/no-extra-boolean-cast: Implement auto-fixer ([#​10682](https://redirect.github.com/oxc-project/oxc/issues/10682 )) (DonIsaac)
- [`432cd77`](https://redirect.github.com/oxc-project/oxc/commit/432cd77 ) linter/no-new-wrapper: Implement auto-fixer ([#​10680](https://redirect.github.com/oxc-project/oxc/issues/10680 )) (DonIsaac)
##### Bug Fixes
- [`4ee95ec`](https://redirect.github.com/oxc-project/oxc/commit/4ee95ec ) editor: Activate extension when astro files are opened too ([#​10725](https://redirect.github.com/oxc-project/oxc/issues/10725 )) (Sysix)
- [`46665bd`](https://redirect.github.com/oxc-project/oxc/commit/46665bd ) langage_server: Fix initialize nested configs ([#​10698](https://redirect.github.com/oxc-project/oxc/issues/10698 )) (Sysix)
- [`eb3f37c`](https://redirect.github.com/oxc-project/oxc/commit/eb3f37c ) language_server: On configuration change, send updated diagnostics to the client ([#​10764](https://redirect.github.com/oxc-project/oxc/issues/10764 )) (Sysix)
- [`8c499c6`](https://redirect.github.com/oxc-project/oxc/commit/8c499c6 ) linter: Fix panic when doing code gen on regexp ([#​10769](https://redirect.github.com/oxc-project/oxc/issues/10769 )) (camc314)
- [`8e99abf`](https://redirect.github.com/oxc-project/oxc/commit/8e99abf ) linter: Fix grammer in no unused vars diagnostic msg ([#​10770](https://redirect.github.com/oxc-project/oxc/issues/10770 )) (camc314)
- [`b38338a`](https://redirect.github.com/oxc-project/oxc/commit/b38338a ) linter: Make require post message target origin a fixer a suggestion ([#​10754](https://redirect.github.com/oxc-project/oxc/issues/10754 )) (camc314)
- [`48c542d`](https://redirect.github.com/oxc-project/oxc/commit/48c542d ) linter: Skip linting vue <script> where `lang` is not js / ts ([#​10740](https://redirect.github.com/oxc-project/oxc/issues/10740 )) (Boshen)
- [`c9575f6`](https://redirect.github.com/oxc-project/oxc/commit/c9575f6 ) linter: Fix false positive in react/exhaustive deps ([#​10727](https://redirect.github.com/oxc-project/oxc/issues/10727 )) (camc314)
- [`d8d8f64`](https://redirect.github.com/oxc-project/oxc/commit/d8d8f64 ) linter: Shorten span of promise/prefer-await-to-then ([#​10717](https://redirect.github.com/oxc-project/oxc/issues/10717 )) (camc314)
- [`a88e349`](https://redirect.github.com/oxc-project/oxc/commit/a88e349 ) linter: Mark `isNan` and `isFinite` as dangerous fixes in `unicorn/prefer-number-properties` ([#​10706](https://redirect.github.com/oxc-project/oxc/issues/10706 )) (Sysix)
- [`f4ab05f`](https://redirect.github.com/oxc-project/oxc/commit/f4ab05f ) linter: Panic in unicorn/no-useless-spread ([#​10715](https://redirect.github.com/oxc-project/oxc/issues/10715 )) (camc314)
- [`06f1717`](https://redirect.github.com/oxc-project/oxc/commit/06f1717 ) linter: False positive in no unused vars when importing value used as type ([#​10690](https://redirect.github.com/oxc-project/oxc/issues/10690 )) (camc314)
- [`746b318`](https://redirect.github.com/oxc-project/oxc/commit/746b318 ) linter: False positive in typescript/explicit-function-return-type with `satisfies` ([#​10668](https://redirect.github.com/oxc-project/oxc/issues/10668 )) (camc314)
- [`cce1043`](https://redirect.github.com/oxc-project/oxc/commit/cce1043 ) linter: False positive in typescript/explicit-function-return-type ([#​10667](https://redirect.github.com/oxc-project/oxc/issues/10667 )) (camc314)
- [`c89da93`](https://redirect.github.com/oxc-project/oxc/commit/c89da93 ) linter: False positive in eslint/curly on windows ([#​10671](https://redirect.github.com/oxc-project/oxc/issues/10671 )) (camc314)
- [`374e19e`](https://redirect.github.com/oxc-project/oxc/commit/374e19e ) linter: False positive in react/jsx-curly-brace-presence ([#​10663](https://redirect.github.com/oxc-project/oxc/issues/10663 )) (camc314)
- [`e7c2b32`](https://redirect.github.com/oxc-project/oxc/commit/e7c2b32 ) linter: Move `consistent-assert` to `pedantic` ([#​10665](https://redirect.github.com/oxc-project/oxc/issues/10665 )) (camc314)
- [`344ef88`](https://redirect.github.com/oxc-project/oxc/commit/344ef88 ) linter: False positive in `eslint/no-unused-vars` when calling inside sequence expression ([#​10646](https://redirect.github.com/oxc-project/oxc/issues/10646 )) (Ulrich Stark)
- [`98bcd5f`](https://redirect.github.com/oxc-project/oxc/commit/98bcd5f ) lsp: Incorrect quick fix offset in vue files ([#​10742](https://redirect.github.com/oxc-project/oxc/issues/10742 )) (camc314)
##### Documentation
- [`275fe71`](https://redirect.github.com/oxc-project/oxc/commit/275fe71 ) editor: `oxc.flags` are not related to `oxlint` ([#​10645](https://redirect.github.com/oxc-project/oxc/issues/10645 )) (Sysix)
##### Refactor
- [`2efe3f0`](https://redirect.github.com/oxc-project/oxc/commit/2efe3f0 ) linter: Move run on regex node to utils ([#​10772](https://redirect.github.com/oxc-project/oxc/issues/10772 )) (camc314)
##### Testing
- [`1c4f90f`](https://redirect.github.com/oxc-project/oxc/commit/1c4f90f ) editor: Add test for nested config serverity ([#​10697](https://redirect.github.com/oxc-project/oxc/issues/10697 )) (Sysix)
- [`9ebf3d4`](https://redirect.github.com/oxc-project/oxc/commit/9ebf3d4 ) language_server: Refactor tester to use WorkspaceWorker ([#​10730](https://redirect.github.com/oxc-project/oxc/issues/10730 )) (Sysix)
- [`5a709ad`](https://redirect.github.com/oxc-project/oxc/commit/5a709ad ) language_server: Add test for `init_nested_configs` ([#​10728](https://redirect.github.com/oxc-project/oxc/issues/10728 )) (Sysix)
- [`2615758`](https://redirect.github.com/oxc-project/oxc/commit/2615758 ) language_server: Fix slow test ([#​10659](https://redirect.github.com/oxc-project/oxc/issues/10659 )) (Alexander S.)
- [`fd18aaa`](https://redirect.github.com/oxc-project/oxc/commit/fd18aaa ) language_server: Skip slow test ([#​10658](https://redirect.github.com/oxc-project/oxc/issues/10658 )) (overlookmotel)
- [`f6f1c5c`](https://redirect.github.com/oxc-project/oxc/commit/f6f1c5c ) lsp: Include fixed content in lsp snapshots ([#​10744](https://redirect.github.com/oxc-project/oxc/issues/10744 )) (camc314)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-05-04 05:34:35 +00:00
forehalo
45df4568a4
feat(admin): bump react-router and adapt new routes package ( #11887 )
...
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added new admin routes: "auth", "setup", and "notFound" for improved navigation and access within the admin interface.
- Introduced a utility for simplified and flexible lazy loading of React components with fallback support.
- **Improvements**
- Updated routing structure in the admin frontend for clearer route management and enhanced Sentry integration.
- Centralized route definitions for easier maintenance and consistency.
- Upgraded dependencies to support the latest React Router and React versions.
- Enhanced asynchronous handling in setup form navigation.
- **Chores**
- Updated project references and workspace dependencies for better package management.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-24 09:17:59 +00:00
forehalo
681c61a300
chore(admin): allow config avatar public path ( #11689 )
...
close #11677
2025-04-15 12:54:55 +00:00
forehalo
7257f1b55b
chore(server): remove enable flag in mail config ( #11680 )
...
close #11625
2025-04-15 09:18:10 +00:00
JimmFly
53dff7a158
fix(admin): adjust available upgrade button style ( #11489 )
2025-04-07 05:25:34 +00:00
JimmFly
3ecdc377fe
fix(admin): unable to log into admin panel ( #11451 )
2025-04-04 10:39:20 +00:00
JimmFly
adbd41130c
fix(admin): adjust import users dialog styles ( #11436 )
...
close AF-2456 AF-2454 AF-2441 AF-2422
2025-04-04 04:52:50 +00:00
forehalo
1386a66579
chore(server): hide not configurable module ( #11406 )
2025-04-02 12:44:20 +00:00
forehalo
dad858014f
feat(admin): adapt new config system ( #11360 )
...
feat(server): add test mail api
feat(admin): adapt new config system
2025-04-01 15:00:10 +00:00
JimmFly
eda680ccdc
fix(admin): adjust admin panel settings style ( #11291 )
...
Adjusted the style of some runtime configurations to match the new parameters.
Adjusted the style of dialog and right sidebar.
close AF-2411 AF-2412 AF-2413 AF-2422
2025-03-31 10:26:07 +00:00
forehalo
0ea38680fa
refactor(server): config system ( #11081 )
2025-03-27 12:32:28 +00:00
JimmFly
57ebb6baba
chore: adjust CSV template button style ( #11226 )
...
close AF-2396
2025-03-27 07:10:15 +00:00
JimmFly
eb8fe91525
fix(admin): unable to select all users in current page ( #11155 )
...
close AF-2380
2025-03-26 10:16:18 +00:00
JimmFly
28854ef274
fix(admin): adjust admin panel style ( #11065 )
...
close AF-2353 AF-2354 AF-2355 AF-2356 AF-2358 AF-2360 AF-2362 AF-2363 AF-2364 AF-2389
Fixed some UI issues.
2025-03-26 03:16:14 +00:00
JimmFly
7df06ea98b
feat(admin): add server version check ( #10816 )
2025-03-13 18:45:56 +08:00
JimmFly
bed4074bdb
feat(admin): add import and export users to admin panel ( #10810 )
2025-03-13 18:45:17 +08:00
JimmFly
e96302ccb2
feat(admin): add ban user to admin panel ( #10780 )
2025-03-13 18:44:13 +08:00
JimmFly
21aa47c094
feat(admin): make the left navigation bar collapsable ( #10774 )
2025-03-13 09:57:10 +00:00
liuyi
7e61a0b2fc
refactor(graphql): codegen ( #10626 )
2025-03-06 12:06:19 +08:00
JimmFly
cb37c25b14
chore: adjust share menu styles ( #10630 )
...
close AF-2270 AF-2193 AF-2067
2025-03-05 10:42:56 +00:00
EYHN
cddef4c2f6
fix(admin): fix the admin app ( #9233 )
2024-12-23 03:06:31 +00:00
Brooooooklyn
ea746e3d77
chore: disable rules in oxlint ( #9154 )
2024-12-13 10:49:35 +00:00
devin-ai-integration
e100d252b2
fix(core): add null checks for timeout refs and event listeners for React 19 compatibility ( #9116 )
...
## Description
- Add null checks before clearTimeout calls in colorful-fallback.tsx, edgeless.dialog.tsx, and local.dialog.tsx
- Fix event listener cleanup in unfolding.tsx
- Update tsconfig.jsx to use react-jsx transform
## Testing
- [x] Verified type safety improvements for React 19 compatibility
- [x] Ensured proper cleanup of event listeners and timeouts
- [x] Confirmed no unintended side effects from the changes
Link to Devin run: https://app.devin.ai/sessions/2e790f3ea0d84402837ec6c3c6f83e4c
2024-12-12 09:43:42 +00:00
Boshen
c349a24e95
chore: upgrade oxlint to v0.13.2 ( #8891 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
2024-11-26 17:56:35 +08:00
Cats Juice
06dda70319
feat(mobile): ios oauth & magic-link login ( #8581 )
...
Co-authored-by: EYHN <cneyhn@gmail.com >
2024-10-28 14:12:33 +08:00
EYHN
5e56ec65e3
refactor(core): adjust core struct ( #8218 )
...
packages/frontend/core/src
hooks -> components/hooks
atoms -> components/atoms
layouts -> components/layouts
providers -> components/providers
mixpanel -> @affine/track
~~shared~~
~~unexpected-application-state~~
2024-09-13 11:31:21 +00:00
forehalo
25969a34e8
refactor: avoid runtime config object ( #8202 )
2024-09-13 07:27:11 +00:00
JimmFly
5c67f98e90
fix(admin): nav bar incorrectly active state ( #7870 )
2024-09-05 09:35:22 +00:00
forehalo
5a2f93f035
chore(admin): disable ai settings ( #7877 )
2024-08-15 02:50:46 +00:00
liuyi
57449c1530
fix(server): redirect to setup page if not initialized ( #7875 )
2024-08-14 21:02:16 +08:00
darkskygit
339c39c1ec
feat: improve prompt management ( #7853 )
2024-08-14 08:38:36 +00:00
JimmFly
994b539507
fix(admin): user form not dynamically updating as expected ( #7858 )
...
- Fixed the issue that a certain feature must be enabled when creating a user
- Fixed the issue that the modified content was not reset to the default content when exiting the user form without saving after modification
- Fixed the issue that the content did not switch as expected when switching user forms of different users
https://github.com/user-attachments/assets/02567021-9342-4ed1-be77-3bdcbb3d86ab
2024-08-14 04:28:15 +00:00
JimmFly
05247bb24e
fix(admin): frequent query requests in the search ( #7854 )
2024-08-14 03:49:45 +00:00
forehalo
015247345c
chore(admin): organize massive routes ( #7857 )
2024-08-14 03:34:38 +00:00
forehalo
0ec1995add
fix(admin): organize admin panel ( #7840 )
2024-08-13 14:51:54 +08:00
JimmFly
6dea831d8a
fix(admin): handle error login status ( #7646 )
...
Fix unhandled error login status, modify style
https://github.com/user-attachments/assets/0b40807d-e17a-4d23-a168-4894adfa5998
2024-08-13 14:51:54 +08:00
JimmFly
b214003968
feat(admin): add prompt management page ( #7611 )
...
close AF-907
Supports online modification of prompt, but does not support custom ai key yet

2024-08-13 14:51:54 +08:00
JimmFly
bf6e36de37
feat(admin): add server runtime config settings ( #7618 )
2024-08-13 14:51:31 +08:00
JimmFly
7f7c0519a0
feat(admin): add config page to admin ( #7619 )
2024-08-13 14:38:39 +08:00
JimmFly
ccf225c8f9
feat(admin): add self-host setup and user management page ( #7537 )
2024-08-13 06:11:03 +00:00
Brooooooklyn
0fe672efa5
feat(admin): init project ( #7197 )
2024-06-18 06:01:13 +00:00