| 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]>
|
|
|
|
translations
|
|
|
|
|
|
|
|
Turn on `strict: true`, which enables strictFunctionTypes,
strictBindCallApply, strictPropertyInitialization, noImplicitThis,
useUnknownInCatchVariables and alwaysStrict — all already satisfied (0
errors). noImplicitAny (~180) and strictNullChecks (~87) are kept off
explicitly and left as incremental follow-ups.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
|
- bump react, react-dom and @types to 19.x
- already on createRoot; no findDOMNode / function-component defaultProps /
propTypes usage, and all React-consuming deps (react-modal, react-tabs,
@hello-pangea/dnd, react-window, etc.) declare React 19 support
- typecheck, lint and build all pass
Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
|
- add a shared Tooltip wrapper around @radix-ui/react-tooltip that keeps
the @reach-style `label` API, so call sites barely change
- add a global RadixTooltip.Provider in AppProviders
- replace the custom useTooltip/TooltipPopup positioning in Proxy.tsx with
Radix auto-positioning
- migrate reach tooltip CSS to a .tooltip-content class
- drop @reach/visually-hidden (was unused; the visually-hidden CSS class
is unrelated)
Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
|
- 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]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
update dependencies & change style in Home
|
|
|
|
|
|
|
|
|
|
Overview
|
|
|
|
|
|
chore: Adapt the `hidden` field for proxy groups
|
|
Adapts to the `hidden` field in policy groups, the GUI does not display proxy groups tags where `hidden: true`.
|
|
Adapts to the `hidden` field in policy groups, the GUI does not display proxy groups tags where `hidden: true`.
|
|
|
|
|
|
|
|
|
|
|
|
feat: add ru translate
|
|
fix(ui): prevent sidebar shrink / svg compression on connections page
|
|
Body: Add min-width:0 / flex-shrink:0 to flex containers so sidebar stays stable and the overview svg doesn’t get squashed when the connections toolbar expands.
|
|
fix(sidebar): remove min-width to fix SVG misalignment on connections
|
|
|
|
|
|
|
|
add title query param
|
|
|
|
|
|
|