Conversation
…ng pages, and CSS styles
… rejections are caught
… and improve content filename parsing
There was a problem hiding this comment.
Pull Request Overview
This PR introduces the initial release (v1) of a CTF challenge instance fallback page system. The implementation generates static HTML pages that display loading states and error messages while challenge instances are starting up or unavailable.
Key changes:
- Added HTML templates for standard and error loading pages with animated spinners
- Implemented JavaScript polling mechanism to check challenge readiness
- Created Python generator script to build static pages from templates and content
- Added Docker configuration for building and serving the static pages
Reviewed Changes
Copilot reviewed 16 out of 18 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/layouts/standard.html | Standard layout template with loading spinner and placeholder for challenge content |
| src/layouts/error.html | Error layout template with error code placeholder in title |
| src/js/main.js | JavaScript polling logic to detect when challenge instances become ready |
| src/generator.py | Python script to generate static HTML files by combining layouts, content, CSS, and JS |
| src/css/main.css | Base styles with theme support and responsive design |
| src/content/*.html | Content snippets for various loading and error states (404, 502, 503, 504, index) |
| Dockerfile | Multi-stage build configuration to generate and serve static files |
| docker-compose.yml | Development and production service configurations |
| README.md | Added development instructions for running the generator |
| .gitignore | Excludes generated public directory |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
## [1.0.0-r.2](v1.0.0-r.1...v1.0.0-r.2) (2025-11-15) ### Features * add release system ([30cefdd](30cefdd)) ### Bug Fixes * **ci:** update release system to use Release environment ([727c715](727c715))
|
Thank you for your contribution! Before we can proceed, please sign the Contributor License Agreement (CLA) by replying to this comment with "I have read the CLA Document and I hereby sign the CLA". You can find the CLA document here. I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
No description provided.