summaryrefslogtreecommitdiff
path: root/src/components/rules
AgeCommit message (Collapse)Author
2026-07-05feat(rules): support enabling/disabling rules and show hit/entry countsHEADmasterLarvan2
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.
2026-07-03refactor(components): group feature components into per-feature foldersLarvan2
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]>
2026-06-21chore: modernize tooling and migrate to @tanstack/react-query v5Larvan2
- 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]>
2026-04-15build(deps)!: update dependsOlivi
2026-03-15refactor: reorganize codeLarvan2
2026-01-01chore: adjust styleLarvan2
2025-12-27chore: adjust styleLarvan2
2023-01-27chore: optimize development workflowkunish
2022-06-12Revert "Merge branch 'haishanh-master'"Matain
This reverts commit e4e921e0b93f74bf126ca80cbb83f5e912f73a88, reversing changes made to a825925cc97d95762634d234ef06be1627a21fb1.
2022-06-06Run prettierHaishan
2022-06-06Make button slightly bigger than beforeHaishan
2021-06-06Stop use postcss-nested postcss-extend-ruleHaishan
2021-02-28feat: add FAB action button to update all proxy providersHaishan
2021-02-28feat: change rules page FAB function from refresh to update providersHaishan
2021-01-04build: upgrade depsHaishan
2020-12-06build: upgrade depsHaishan
2020-11-13chore: remove husky and lint-stagedHaishan
2020-07-04feat: support rule providerHaishan