summaryrefslogtreecommitdiff
path: root/src/components/shared
AgeCommit message (Collapse)Author
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-07-03feat(proxies): add fixed selection feature and related translationsLarvan2
2026-06-21refactor: replace unmaintained @reach/tooltip with Radix UILarvan2
- 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]>
2026-06-21refactor: migrate recoil to jotai and react-table v7 to v8Larvan2
- 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]>
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-18chore: modify chartLarvan2
2026-04-15build(deps)!: update dependsOlivi
2026-03-15refactor: reorganize codeLarvan2
2025-12-31fix: 修复图标对齐的问题iFlygo
2025-12-27chore: adjust styleLarvan2
2023-06-21fix: dnd && modal && reset && chainzephyr
2023-05-25chore: theme style (#44)nb5p
* chore: theme style
2023-05-17chore: proxy card stylecubemaze
2023-05-13chore: theme stylecubemaze
2023-04-13chore: some optimization (#25)Larvan2
* chore: some optimization * adjust
2023-02-28fix: i18n not following system language settingkunish
2023-01-27chore: optimize development workflowkunish
2023-01-27fix: remove .btnStart unexpected margin-rightkunish
2022-11-03feat: correct quotation markskaniwow
2022-06-12Revert "Merge branch 'haishanh-master'"Matain
This reverts commit e4e921e0b93f74bf126ca80cbb83f5e912f73a88, reversing changes made to a825925cc97d95762634d234ef06be1627a21fb1.
2022-06-12Merge branch 'master' of https://github.com/haishanh/yacd into haishanh-masterMatain
2022-06-12Always show update and health check buttons for proxy providerHaishan
ref #649
2022-06-06Run prettierHaishan
2022-06-06Make button slightly bigger than beforeHaishan
2022-06-05Fix theme switcher button shape on iOSHaishan
2022-06-02chore: adjust page styleMetaCubeX
2022-05-27chore: dashboard styleMetaCubeX
2022-03-06Make theme switch a native select/option menuHaishan
2022-03-06Add support of automatic switch color schemeLASER-Yi
2021-11-13Make log stream pause global stateHaishan
2021-06-13Support switch theme on backend config pageHaishan
2021-06-06Fix FAB style by dropping in react-tiny-fab sourceHaishan
2021-06-06Stop use postcss-nested postcss-extend-ruleHaishan
2021-06-05Update config page styleHaishan
2021-05-30Use viteHaishan
2021-02-28feat: add FAB action button to update all proxy providersHaishan
2021-02-23Refine title styleCzBiX
Only show backend host when there are multiple backends.
2020-12-06build: upgrade depsHaishan
2020-12-06chore: minor input and select style tweakHaishan
2020-12-06feat: initial Chinese UI language supportHaishan
2020-11-13chore: remove husky and lint-stagedHaishan
2020-11-01chore: run ts-migrateHaishan
2020-10-31feat: display current backend host in titleHaishan
for https://github.com/haishanh/yacd/issues/531
2020-08-06refactor: improve a11yHaishan
2020-06-20feat: add a simple filter for proxy namesHaishan
2020-06-07added: modal prompt to close previous connections when switch proxyHaishan
2020-05-25add: add loading status to test latency buttonHaishan
2020-05-17fix: add background color to html select elementHaishan
see also https://github.com/haishanh/yacd/issues/483
2020-05-14chore: lib classnames -> clsxHaishan
2020-05-14add: button to pause connection refreshHaishan