Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
351522a
refactor: migrate from react-router-dom to @tanstack/react-router
claude Nov 20, 2025
39e1831
fix: complete TanStack Router migration
claude Nov 20, 2025
228ab97
fix: resolve all remaining TypeScript errors in TanStack Router migra…
claude Nov 20, 2025
7c7308b
fix: resolve all TypeScript errors in TanStack Router migration
claude Nov 20, 2025
ac74153
refactor: improve TanStack Router type safety and add Zod validation
claude Nov 21, 2025
9fbb823
fix: improve navigation type safety in admin pages
claude Dec 9, 2025
3caa448
refactor: eliminate as any casts from route navigation
claude Dec 9, 2025
a7f1e5f
refactor: use TanStack Router relative navigation with from property
claude Dec 9, 2025
4d50bc8
refactor: eliminate all 'as any' casts from navigation hooks
claude Dec 10, 2025
34240bc
fix: properly type assert search params with strict: false
claude Dec 12, 2025
a8bf05a
refactor: remove type assertions from search params using runtime val…
claude Dec 12, 2025
05bcd45
refactor: simplify search param access by relying on router-level val…
claude Dec 12, 2025
5e4f128
refactor: remove strict: false from all useParams and useRouteContext…
claude Dec 12, 2025
e0c554c
refactor: remove 'as string' type assertions from navigation params
claude Dec 13, 2025
a2e18a0
fix: add optional chaining for params in beforeLoad functions
claude Dec 13, 2025
6cf9b51
ci: add lint workflow for typecheck and linting
chiptus Mar 31, 2026
6709260
fix: resolve all TypeScript errors for TanStack Router hooks
claude Mar 31, 2026
30073b5
fix
chiptus Mar 31, 2026
2028bfe
refactor: address PR review feedback
claude Mar 31, 2026
193a12a
refactor: address additional PR review feedback
claude Mar 31, 2026
10db104
fix timeline state
chiptus Mar 31, 2026
caaff88
refactor: apply strict route typing pattern to useUrlState
claude Mar 31, 2026
e282244
refactor: address PR review comments
claude Apr 1, 2026
eb59071
fix: address remaining PR review comments
claude Apr 1, 2026
927599a
refactor: implement TanStack Router best practices
claude Apr 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lint

on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]

jobs:
lint:
name: Typecheck and Lint
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run typecheck
run: pnpm run typecheck

- name: Run lint
run: pnpm run lint
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
npx lint-staged
pnpm run typecheck
2 changes: 1 addition & 1 deletion .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"ignorePatterns": ["dist"],
"ignorePatterns": ["dist", "src/routeTree.gen.ts"],
"overrides": [
{
"files": ["**/*.{ts,tsx}"],
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"@tanstack/react-query": "^5.56.2",
"@tanstack/react-query-devtools": "^5.81.2",
"@tanstack/react-query-persist-client": "^5.85.9",
"@tanstack/react-router": "^1.136.18",
"@types/marked": "^5.0.2",
"@types/react-helmet": "^6.1.11",
"@vercel/speed-insights": "^1.2.0",
Expand All @@ -85,7 +86,6 @@
"react-helmet-async": "^2.0.5",
"react-hook-form": "^7.53.0",
"react-resizable-panels": "^2.1.3",
"react-router-dom": "^6.26.2",
"recharts": "^2.12.7",
"sonner": "^1.5.0",
"tailwind-merge": "^2.5.2",
Expand All @@ -104,6 +104,8 @@
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@tanstack/router-devtools": "^1.136.18",
"@tanstack/router-vite-plugin": "^1.136.18",
"@types/node": "^22.5.5",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand All @@ -129,7 +131,8 @@
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"oxlint --fix",
"prettier --write"
"prettier --write",
"bash -c 'pnpm run typecheck'"
],
"*.{json,css,scss,md}": [
"prettier --write"
Expand Down
Loading
Loading