docs: update API.md, FRONTEND.md, MODULES.md, CLAUDE.md for Phase 1 and 2 completion

- API.md: add GET /config/schema endpoint docs; add GET|PUT /missions/rotation endpoints;
  fix mission response shape (name/filename/size_bytes/terrain); mark Phase 1+2 as done
- FRONTEND.md: add TagListEditor, useServerConfigSchema, useServerMissionRotation,
  useUpdateMissionRotation; update Mission/Mod type notes; remove planned hooks now live
- MODULES.md: update config_generator and missions_router descriptions
- CLAUDE.md: mark Phase 1 and 2 as Done
This commit is contained in:
Tran G. (Revernomad) Khoa
2026-04-17 20:35:39 +07:00
parent 4aae08420b
commit fe3bd81cae
4 changed files with 118 additions and 27 deletions

View File

@@ -58,15 +58,15 @@ Types below reflect the **current** API shape. Fields marked `(planned)` will be
| Phase | Feature | Status |
|-------|---------|--------|
| 1 | Config field UI widgets (textarea/toggle/select/tag-list per field) | Pending |
| 2 | Mission rotation table + multi-file upload | Pending |
| 1 | Config field UI widgets (textarea/toggle/select/tag-list per field) | Done |
| 2 | Mission rotation table + multi-file upload | Done |
| 3 | Mod display names (mod.cpp) + split-pane selector | Pending |
| 4 | Player Kick/Ban from Players tab via RCon | Pending |
| 5 | Historical log file browser + live log level filter | Pending |
**New endpoints added by the plan:**
- `GET /api/servers/{id}/config/schema` — per-field widget hints
- `GET|PUT /api/servers/{id}/missions/rotation` — mission rotation
- `GET /api/servers/{id}/config/schema` — per-field widget hints (**implemented**)
- `GET|PUT /api/servers/{id}/missions/rotation` — mission rotation (**implemented**)
- `POST /api/servers/{id}/players/{slot_id}/kick`
- `POST /api/servers/{id}/players/{slot_id}/ban`
- `GET /api/servers/{id}/logfiles`