Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
de6a110
fix: eslint prettier
lorenzocorallo Dec 5, 2025
1d9086d
feat: temporary route to test new golang parser output
lorenzocorallo Dec 5, 2025
d774314
feat: bring back student's id and course/location filtering
lorenzocorallo Dec 6, 2025
5e8da7e
feat: correct filtering on course
lorenzocorallo Dec 6, 2025
96a8901
ci: update Actions runner to ubuntu-latest
lorenzocorallo Dec 6, 2025
54f9bba
ci: fix pnpm version in preview.yml
lorenzocorallo Dec 6, 2025
beea066
feat: biome replaces everything
lorenzocorallo Dec 7, 2025
c98ebe4
fix: biome check fix, manual fixes
lorenzocorallo Dec 7, 2025
a44ad2e
feat: upgrade tailwind, vite, node
lorenzocorallo Dec 7, 2025
454b1b9
feat: poc tanstack router + query
toto04 Dec 7, 2025
b522c20
fix: reduce with no initial value? (#291)
lorenzocorallo Dec 7, 2025
6a29174
fix: missing file rename in previous commit
lorenzocorallo Dec 7, 2025
8b3d0b9
fix: missing classname merging in Footer
lorenzocorallo Dec 7, 2025
e46cd49
style: fix font classname
lorenzocorallo Dec 7, 2025
17d17e5
style: button default with cursor pointer
lorenzocorallo Dec 7, 2025
0deea91
build(biome): exclude routeTree.gen.ts from checks, run lint:fix
lorenzocorallo Dec 7, 2025
d23367e
Merge branch 'main' into beta
lorenzocorallo Dec 7, 2025
d354a20
ci: add test workflow
lorenzocorallo Dec 7, 2025
812af7e
build: bump node engine and pnpm packageManager versions
lorenzocorallo Dec 7, 2025
b03f8d6
feat: route to view ranking table, start cleaning previous stuff
lorenzocorallo Dec 8, 2025
8d79f2e
feat: source route
lorenzocorallo Dec 8, 2025
58cc2d0
feat: privacy route
lorenzocorallo Dec 8, 2025
2b0d6a7
feat: about route, update credits
lorenzocorallo Dec 8, 2025
9952705
feat: finish migration to app file-based routes
lorenzocorallo Dec 8, 2025
7e08945
feat: make breadcrumb work again
lorenzocorallo Dec 8, 2025
985c0c1
feat: massive cleanup, ranking phase utilities and types
lorenzocorallo Dec 8, 2025
3d10e16
fix: matricola header name and filter placeholder
lorenzocorallo Dec 8, 2025
9d5d14b
fix: reinstall shadcn component "command"
lorenzocorallo Dec 9, 2025
9828f10
style: missing cursor pointer in Removable component
lorenzocorallo Dec 9, 2025
691fda3
style: all buttons have cursor-pointer by default
lorenzocorallo Dec 9, 2025
8d51ffb
feat: bring back course-location filters
lorenzocorallo Dec 9, 2025
0da539d
feat: react-compiler
lorenzocorallo Dec 9, 2025
72b5696
refactor: move home-related routes into a single folder
lorenzocorallo Dec 9, 2025
85e6b2c
build: remove orphan dependencies
lorenzocorallo Dec 9, 2025
0c0d7db
feat: remote data fetch, json type fix
lorenzocorallo Dec 18, 2025
5da8c45
Merge branch 'main' into beta
lorenzocorallo Dec 18, 2025
087ece6
fix(router): use hash history for gh pages
lorenzocorallo Dec 18, 2025
17dac78
fix: use correct env to detect production
lorenzocorallo Dec 18, 2025
66c789a
feat: query-factory, custom devtools to change data source
lorenzocorallo Dec 22, 2025
a101afe
fix: ranking page recovery on data source error
lorenzocorallo Dec 22, 2025
fc8056d
feat: zustand time (it allows prefetching pattern)
lorenzocorallo Dec 22, 2025
6dbb9d7
Merge branch 'main' into beta
lorenzocorallo Dec 23, 2025
385b68c
style: fix pages alignment
lorenzocorallo Dec 23, 2025
f017d16
feat: new UI for Ranking picker flow (#293)
lorenzocorallo Jan 9, 2026
deb41ad
style: fix breadcrumb ranking info on mobile
lorenzocorallo Jan 24, 2026
fbaad02
fix: react-compiler not compatible with table/pagination
lorenzocorallo Jan 24, 2026
e341033
style: temporary fix for tooltip not working on mobile
lorenzocorallo Jan 24, 2026
63d42c4
chore: biome
lorenzocorallo Jan 24, 2026
e479a4d
release: v2.0.0
lorenzocorallo Jan 24, 2026
e279fe2
fix: location select not working with react-compiler
lorenzocorallo Jan 31, 2026
df97eac
style: arabic numbers in ranking selector, extra-eu badge dashed border
lorenzocorallo Jan 31, 2026
a2b0b22
fix: revert debug code, add aria-label to home button in breadcrumb
lorenzocorallo Jan 31, 2026
6c8d4e3
fix: font not applied everywhere
lorenzocorallo Jan 31, 2026
3e14c4a
feat: search by student id in homepage
lorenzocorallo Feb 1, 2026
7524831
style: new year select style
lorenzocorallo Feb 1, 2026
e8ed42f
feat: font, eng rankings not available, some style changes
lorenzocorallo Feb 1, 2026
8581ac1
fix: remove unused icon import
lorenzocorallo Feb 1, 2026
1945160
chore: remove old file router.tsx
lorenzocorallo Feb 1, 2026
039e282
fix: import createRoot only from react-dom
lorenzocorallo Feb 1, 2026
3984038
fix: guard for empty filters
toto04 Feb 1, 2026
700c27a
Merge branch 'beta' of https://github.com/polinetworkorg/rankings int…
toto04 Feb 1, 2026
359122c
fix: rendering Location components as JSX instead of functions
lorenzocorallo Feb 1, 2026
c9c1be8
fix: accessing zero-index array without guard
lorenzocorallo Feb 1, 2026
57de576
fix: throw on failed fetch
toto04 Feb 1, 2026
4e86462
Merge branch 'beta' of https://github.com/polinetworkorg/rankings int…
toto04 Feb 1, 2026
8af45e2
fix: handle course with no locations
lorenzocorallo Feb 1, 2026
4cc08cb
fix: cleanup resize listener
toto04 Feb 1, 2026
0f1b413
fix: correct year param parsing
lorenzocorallo Feb 1, 2026
9c5f2bd
fix: better handling of side effects when switching dark mode
toto04 Feb 1, 2026
4e28aa0
Merge branch 'beta' of https://github.com/polinetworkorg/rankings int…
toto04 Feb 1, 2026
44fe38b
fix: wrong field for phase in PathBreadcrumb
lorenzocorallo Feb 1, 2026
8dacb69
fix: error boundaries
toto04 Feb 1, 2026
c26f536
fix(a11y): aria label for student code input
toto04 Feb 1, 2026
9b0098d
fix: location case insensitive in tabs selector
lorenzocorallo Feb 1, 2026
7e732ed
fix: better tailwind selector maybe?
lorenzocorallo Feb 1, 2026
40bc8c8
fix: guard on years in ArchiveTip
lorenzocorallo Feb 1, 2026
2e4f63e
ci: explicit permissions on test workflow
toto04 Feb 1, 2026
d589e23
fix: `DarkModeContext` props typedefs
toto04 Feb 1, 2026
84f55ee
feat: use localstorage instead of search params for persisting ID sea…
toto04 Feb 2, 2026
7800bd7
fix: specify value as location.toLowerCase in Combobox
lorenzocorallo Feb 2, 2026
5fafb6b
fix: typo in biome config
lorenzocorallo Feb 2, 2026
088066d
fix: remove old component
lorenzocorallo Feb 2, 2026
b15acd3
fix: text typo in location select
toto04 Feb 2, 2026
81bb692
Merge branch 'beta' of https://github.com/polinetworkorg/rankings int…
toto04 Feb 2, 2026
a6478e7
chore: remove redundant file exclusions in `biome.jsonc`
toto04 Feb 2, 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
17 changes: 0 additions & 17 deletions .eslintrc.cjs

This file was deleted.

11 changes: 5 additions & 6 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,15 @@ jobs:
ref: refs/pull/${{ github.event.pull_request.number }}/merge

# Assuming you're using Node.js
- name: Setup Node.js
uses: actions/setup-node@v4
if: ${{ github.event.action != 'closed' }} # Skipping these steps if the PR has been closed
with:
node-version-file: "package.json"

- uses: pnpm/action-setup@v4
with:
run_install: false

- uses: actions/setup-node@v4
with:
node-version-file: "package.json"
cache: pnpm

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
test:
name: Typecheck and Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
run_install: false
- uses: actions/setup-node@v4
with:
node-version-file: "package.json"
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm run typecheck
- name: Run Biome
run: pnpm exec biome ci .
- name: Build
run: pnpm run build
36 changes: 0 additions & 36 deletions .prettierignore

This file was deleted.

10 changes: 0 additions & 10 deletions .prettierrc.json

This file was deleted.

80 changes: 80 additions & 0 deletions biome.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": {
"ignoreUnknown": false,
"includes": [
"**",
"!**/src/components/ui",
"!**/src/utils/data",
"!**/routeTree.gen.ts",
"!**/-old-components/"
]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"attributePosition": "auto",
"bracketSameLine": false,
"bracketSpacing": true,
"expand": "auto",
"useEditorconfig": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noVar": "error"
},
"nursery": {
"noFloatingPromises": "error",
"noMisusedPromises": "error",
"noUnnecessaryConditions": "error",
"noImportCycles": "warn",
"useSortedClasses": {
"level": "warn",
"options": {
"attributes": ["classList"],
"functions": ["cn"]
}
}
},
"correctness": {
"useJsonImportAttributes": "warn",
"noPrivateImports": "error"
}
},
"domains": {
"project": "recommended",
"react": "recommended"
}
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "es5",
"semicolons": "asNeeded",
"arrowParentheses": "always",
"bracketSameLine": false,
"quoteStyle": "double",
"attributePosition": "auto",
"bracketSpacing": true
}
},
"html": { "formatter": { "selfCloseVoidElements": "always" } },
"css": {
"parser": {
"tailwindDirectives": true
}
},
"assist": {
"enabled": true,
"actions": { "source": { "organizeImports": "on" } }
}
}
7 changes: 2 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,10 @@

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap"
rel="stylesheet"
/>
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap" rel="stylesheet">
</head>
<body
class="bg-white text-black scrollbar-thin scrollbar-track-slate-300 scrollbar-thumb-slate-400 dark:bg-slate-900 dark:text-white dark:scrollbar-track-slate-800 dark:scrollbar-thumb-slate-600"
class="bg-white text-black scrollbar-thin scrollbar-track-slate-300 scrollbar-thumb-slate-400 dark:bg-slate-900 dark:text-white dark:scrollbar-track-slate-800 dark:scrollbar-thumb-slate-600 font-custom"
>
<div id="root"></div>
<script type="module" src="./src/index.tsx"></script>
Expand Down
94 changes: 47 additions & 47 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
{
"name": "polinetwork-rankings",
"private": true,
"version": "1.14.2",
"version": "2.0.0",
"type": "module",
"scripts": {
"dev": "vite --open",
"build": "tsc && vite build",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"check": "biome check",
"check:fix": "biome check --write --unsafe"
},
"packageManager": "pnpm@10.17.1",
"engines": {
"node": ">=20.11.1",
"pnpm": "9.x.x"
"node": ">=24.5.0"
},
"packageManager": "pnpm@9.15.5",
"dependencies": {
"@radix-ui/react-dialog": "^1.0.4",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-popover": "^1.0.6",
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-select": "^1.2.2",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@tanstack/react-loaders": "0.0.1-beta.96",
"@tanstack/react-table": "^8.20.1",
"@tanstack/router": "0.0.1-beta.100",
"@tanstack/router-devtools": "0.0.1-beta.102",
"class-variance-authority": "^0.6.1",
"clsx": "^1.2.1",
"cmdk": "^0.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1",
"react-spinners": "^0.13.8",
"tailwind-merge": "^1.13.2",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-toggle": "^1.1.10",
"@radix-ui/react-toggle-group": "^1.1.11",
"@radix-ui/react-tooltip": "^1.2.8",
"@tailwindcss/vite": "^4.1.17",
"@tanstack/react-query": "^5.90.12",
"@tanstack/react-router": "^1.139.16",
"@tanstack/react-router-devtools": "^1.139.15",
"@tanstack/react-table": "^8.21.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"next-themes": "^0.4.6",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"react-error-boundary": "^6.1.0",
"react-icons": "^5.5.0",
"react-spinners": "^0.17.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
"tailwindcss-animate": "^1.0.7",
"url-join": "^5.0.0"
"url-join": "^5.0.0",
"zustand": "^5.0.9"
},
"devDependencies": {
"@types/node": "^20.4.1",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@types/url-join": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"@vitejs/plugin-react-swc": "^3.3.2",
"autoprefixer": "^10.4.14",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.9",
"postcss": "^8.4.31",
"prettier": "2.8.8",
"prettier-plugin-tailwindcss": "^0.2.8",
"tailwind-scrollbar": "^3.0.4",
"tailwindcss": "^3.3.2",
"typescript": "^5.1.6",
"vite": "^4.5.3"
"@biomejs/biome": "^2.3.8",
"@tanstack/router-plugin": "^1.139.14",
"@types/node": "^24.10.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.2",
"babel-plugin-react-compiler": "^1.0.0",
"tailwind-scrollbar": "^4.0.2",
"tailwindcss": "^4.1.17",
"typescript": "^5.9.3",
"vite": "^7.2.6"
}
}
Loading
Loading