Commit 31179f1
Nils Bars
Split student-facing views and api.py into dedicated API packages
- Move JSON endpoints out of `view/api.py` into `services_api/` (SSH
proxy + container callbacks) and `frontend_api/` (SPA `/api/v2/*` +
scoreboard). `view/build_status.py` hosts the admin build-status poll.
- Delete Flask-rendered registration, restore-key, scoreboard, and
chooser landing pages along with their templates, static JS/CSS, and
vendored chart assets; the SPA serves these under `/v2/*`.
- Drop `SCOREBOARD_VIEW` setting and the view resolver — only one
scoreboard renderer exists.
- Redirect `/`, `/student`, and `/student/` straight to the configured
SPA landing page; admin navbar drops its public student links.
- Rework the Vue scoreboard charts to plot only per-team improvements,
use distinct marker shapes, and support drag-pan / wheel-zoom /
shift-drag box-zoom via `chartjs-plugin-zoom`; clamp the x-axis at
the earliest data point and preserve zoom state across data polls.
- Refresh `ARCHITECTURE.md`, `SCOREBOARD.md`, `CLAUDE.md`, and
`README.md` to describe the current package layout.1 parent ac43286 commit 31179f1
46 files changed
Lines changed: 2918 additions & 3756 deletions
File tree
- .claude
- docs
- spa-frontend
- src
- api
- components/scoreboard
- tests
- helpers
- unit
- webapp/ref
- core
- frontend_api
- model
- services_api
- static
- css
- js
- ranking
- scoreboard
- vendor
- templates
- scoreboard
- view
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| 161 | + | |
| 162 | + | |
159 | 163 | | |
160 | 164 | | |
161 | 165 | | |
| |||
195 | 199 | | |
196 | 200 | | |
197 | 201 | | |
198 | | - | |
| 202 | + | |
199 | 203 | | |
200 | 204 | | |
201 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| |||
0 commit comments