-
Notifications
You must be signed in to change notification settings - Fork 0
feat: version 2 #295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
feat: version 2 #295
Changes from all commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
de6a110
fix: eslint prettier
lorenzocorallo 1d9086d
feat: temporary route to test new golang parser output
lorenzocorallo d774314
feat: bring back student's id and course/location filtering
lorenzocorallo 5e8da7e
feat: correct filtering on course
lorenzocorallo 96a8901
ci: update Actions runner to ubuntu-latest
lorenzocorallo 54f9bba
ci: fix pnpm version in preview.yml
lorenzocorallo beea066
feat: biome replaces everything
lorenzocorallo c98ebe4
fix: biome check fix, manual fixes
lorenzocorallo a44ad2e
feat: upgrade tailwind, vite, node
lorenzocorallo 454b1b9
feat: poc tanstack router + query
toto04 b522c20
fix: reduce with no initial value? (#291)
lorenzocorallo 6a29174
fix: missing file rename in previous commit
lorenzocorallo 8b3d0b9
fix: missing classname merging in Footer
lorenzocorallo e46cd49
style: fix font classname
lorenzocorallo 17d17e5
style: button default with cursor pointer
lorenzocorallo 0deea91
build(biome): exclude routeTree.gen.ts from checks, run lint:fix
lorenzocorallo d23367e
Merge branch 'main' into beta
lorenzocorallo d354a20
ci: add test workflow
lorenzocorallo 812af7e
build: bump node engine and pnpm packageManager versions
lorenzocorallo b03f8d6
feat: route to view ranking table, start cleaning previous stuff
lorenzocorallo 8d79f2e
feat: source route
lorenzocorallo 58cc2d0
feat: privacy route
lorenzocorallo 2b0d6a7
feat: about route, update credits
lorenzocorallo 9952705
feat: finish migration to app file-based routes
lorenzocorallo 7e08945
feat: make breadcrumb work again
lorenzocorallo 985c0c1
feat: massive cleanup, ranking phase utilities and types
lorenzocorallo 3d10e16
fix: matricola header name and filter placeholder
lorenzocorallo 9d5d14b
fix: reinstall shadcn component "command"
lorenzocorallo 9828f10
style: missing cursor pointer in Removable component
lorenzocorallo 691fda3
style: all buttons have cursor-pointer by default
lorenzocorallo 8d51ffb
feat: bring back course-location filters
lorenzocorallo 0da539d
feat: react-compiler
lorenzocorallo 72b5696
refactor: move home-related routes into a single folder
lorenzocorallo 85e6b2c
build: remove orphan dependencies
lorenzocorallo 0c0d7db
feat: remote data fetch, json type fix
lorenzocorallo 5da8c45
Merge branch 'main' into beta
lorenzocorallo 087ece6
fix(router): use hash history for gh pages
lorenzocorallo 17dac78
fix: use correct env to detect production
lorenzocorallo 66c789a
feat: query-factory, custom devtools to change data source
lorenzocorallo a101afe
fix: ranking page recovery on data source error
lorenzocorallo fc8056d
feat: zustand time (it allows prefetching pattern)
lorenzocorallo 6dbb9d7
Merge branch 'main' into beta
lorenzocorallo 385b68c
style: fix pages alignment
lorenzocorallo f017d16
feat: new UI for Ranking picker flow (#293)
lorenzocorallo deb41ad
style: fix breadcrumb ranking info on mobile
lorenzocorallo fbaad02
fix: react-compiler not compatible with table/pagination
lorenzocorallo e341033
style: temporary fix for tooltip not working on mobile
lorenzocorallo 63d42c4
chore: biome
lorenzocorallo e479a4d
release: v2.0.0
lorenzocorallo e279fe2
fix: location select not working with react-compiler
lorenzocorallo df97eac
style: arabic numbers in ranking selector, extra-eu badge dashed border
lorenzocorallo a2b0b22
fix: revert debug code, add aria-label to home button in breadcrumb
lorenzocorallo 6c8d4e3
fix: font not applied everywhere
lorenzocorallo 3e14c4a
feat: search by student id in homepage
lorenzocorallo 7524831
style: new year select style
lorenzocorallo e8ed42f
feat: font, eng rankings not available, some style changes
lorenzocorallo 8581ac1
fix: remove unused icon import
lorenzocorallo 1945160
chore: remove old file router.tsx
lorenzocorallo 039e282
fix: import createRoot only from react-dom
lorenzocorallo 3984038
fix: guard for empty filters
toto04 700c27a
Merge branch 'beta' of https://github.com/polinetworkorg/rankings int…
toto04 359122c
fix: rendering Location components as JSX instead of functions
lorenzocorallo c9c1be8
fix: accessing zero-index array without guard
lorenzocorallo 57de576
fix: throw on failed fetch
toto04 4e86462
Merge branch 'beta' of https://github.com/polinetworkorg/rankings int…
toto04 8af45e2
fix: handle course with no locations
lorenzocorallo 4cc08cb
fix: cleanup resize listener
toto04 0f1b413
fix: correct year param parsing
lorenzocorallo 9c5f2bd
fix: better handling of side effects when switching dark mode
toto04 4e28aa0
Merge branch 'beta' of https://github.com/polinetworkorg/rankings int…
toto04 44fe38b
fix: wrong field for phase in PathBreadcrumb
lorenzocorallo 8dacb69
fix: error boundaries
toto04 c26f536
fix(a11y): aria label for student code input
toto04 9b0098d
fix: location case insensitive in tabs selector
lorenzocorallo 7e732ed
fix: better tailwind selector maybe?
lorenzocorallo 40bc8c8
fix: guard on years in ArchiveTip
lorenzocorallo 2e4f63e
ci: explicit permissions on test workflow
toto04 d589e23
fix: `DarkModeContext` props typedefs
toto04 84f55ee
feat: use localstorage instead of search params for persisting ID sea…
toto04 7800bd7
fix: specify value as location.toLowerCase in Combobox
lorenzocorallo 5fafb6b
fix: typo in biome config
lorenzocorallo 088066d
fix: remove old component
lorenzocorallo b15acd3
fix: text typo in location select
toto04 81bb692
Merge branch 'beta' of https://github.com/polinetworkorg/rankings int…
toto04 a6478e7
chore: remove redundant file exclusions in `biome.jsonc`
toto04 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }, | ||
toto04 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "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" } } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" | ||
toto04 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| }, | ||
| "packageManager": "pnpm@10.17.1", | ||
toto04 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "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" | ||
| } | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.