| 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.
|
|
Connections, config, backend, home, logs and rules components were
scattered flat under src/components/ while their hooks/utils already
lived under src/modules/<feature>/, making each feature hard to locate
as a unit. Move them into components/<connections,config,backend,home,
logs,rules>/ to match the layout convention documented in CLAUDE.md,
and drop the dead components/rules/rules.hooks.tsx re-export shim.
Co-Authored-By: Claude Sonnet 5 <[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]>
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit e4e921e0b93f74bf126ca80cbb83f5e912f73a88, reversing
changes made to a825925cc97d95762634d234ef06be1627a21fb1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|