| Age | Commit message (Collapse) | Author |
|
Wire up the mihomo rules API's extra fields (disabled, hitCount, hitAt)
and the /rules/disable endpoint so each rule can be toggled on/off and
shows its hit count. Also surface the rule provider's ruleCount for
RuleSet-type rules, since their own size field is always -1.
|
|
- replace recoil with jotai: atom({key,default}) -> atom(value),
useRecoilState -> useAtom, RecoilState -> PrimitiveAtom, drop RecoilRoot
(recoil is archived and blocks the React 19 upgrade)
- migrate react-table v7 to @tanstack/react-table v8 in ConnectionTable:
useTable/useSortBy -> useReactTable + getSortedRowModel; the internal
ConnectionColumn type and localStorage sort/visibility persistence are
kept intact and mapped to v8 ColumnDef inside the component
- drop the hand-written react-table type augmentation in custom.d.ts
(v8 ships its own types)
- add keyboard a11y to sortable table headers
Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
|
- migrate react-query@3 to @tanstack/react-query@5 (object-form API,
useSuspenseQuery for suspense-relied queries, isLoading -> isPending,
invalidateQueries object syntax)
- migrate ESLint 8 .eslintrc.yml to ESLint 9 flat config (eslint.config.mjs),
drop legacy airbnb-base/react-app configs and the dead flowtype plugin,
replace @typescript-eslint/* pair with the unified typescript-eslint
- remove unused deps: prop-types, regenerator-runtime
- add lint/typecheck scripts; auto-fix import ordering across src
Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
|
|