-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Implement the new design from #649 #694
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
base: master
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍(Review updated until commit dda7841)Here are some key observations to aid the review process:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements the new frontend design for LibreSpeed by introducing a complete redesign of the user interface, updating the build system, and adding documentation and tests for the new features.
- Introduces a modern HTML/CSS/JS frontend in index.html and index.js
- Updates Docker configuration and test scripts to support new frontend modes
- Provides updated documentation and sample configuration files
Reviewed Changes
Copilot reviewed 17 out of 31 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/javascript/index.js | New interactive JS logic for handling speed test state and UI updates |
| frontend/index.html | Redesigned HTML structure and UI elements based on the new design |
| frontend/README.md | Updated documentation for using and configuring the new frontend |
| docker/test/docker-compose.yml | Enhanced Docker compose file to support dual frontend/server modes |
| docker/test/README.md | Documentation for running end-to-end tests using the updated test configurations |
Files not reviewed (14)
- Dockerfile: Language not supported
- Dockerfile.alpine: Language not supported
- docker/entrypoint.sh: Language not supported
- docker/test/test-script.sh: Language not supported
- docker/ui.php: Language not supported
- frontend/settings.json: Language not supported
- frontend/styling/button.css: Language not supported
- frontend/styling/colors.css: Language not supported
- frontend/styling/dialog.css: Language not supported
- frontend/styling/fonts.css: Language not supported
- frontend/styling/index.css: Language not supported
- frontend/styling/main.css: Language not supported
- frontend/styling/results.css: Language not supported
- frontend/styling/server-selector.css: Language not supported
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
PR Compliance Guide 🔍(Compliance updated until commit 3a0e6b3)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit ec7b0ab
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Latest suggestions up to 3a0e6b3
Previous suggestions✅ Suggestions up to commit 4fc0932
✅ Suggestions up to commit dda7841
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
so env vars are honored
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
|
Persistent suggestions updated to latest commit b1111e5 |
|
Persistent suggestions updated to latest commit 3a0e6b3 |
|
The design is two years old by now... If you don't start using it some time soon it may already be old-fashioned 😝 On a more serious note; good to see this is still moving forward. |
|
i wanted to release it 2 weeks ago but still found issues. and now no time at all. but after x-mas hopefully... |
…d Docker (#742) * Initial plan * Add feature switch for new design with config and URL parameter support Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Improve error handling and prevent infinite redirect loops Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Update Dockerfiles and entrypoint to support design feature switch Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Update design-switch.js Co-authored-by: qodo-free-for-open-source-projects[bot] <189517486+qodo-free-for-open-source-projects[bot]@users.noreply.github.com> * fix: copy actions in entrypoint * Restructure design switch to place both designs at root level Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Flatten frontend assets in Docker to eliminate frontend directory Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * fix: entrypoint settings & server-list disable entrypoint bash debug * add link to modern design --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> Co-authored-by: sstidl <sstidl@users.noreply.github.com> Co-authored-by: qodo-free-for-open-source-projects[bot] <189517486+qodo-free-for-open-source-projects[bot]@users.noreply.github.com>
|
@copilot create a branch to address: i want this to be replaced in docker/entrypoint.sh with ENV Vars that have to be set. add documentation. |
* Initial plan * Add GDPR_EMAIL environment variable for Docker deployments Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Improve GDPR_EMAIL handling with proper escaping and loop Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Refine GDPR_EMAIL processing - skip index.html and improve escaping Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Optimize GDPR_EMAIL sed commands and improve escaping Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Clarify sed escaping comment for GDPR_EMAIL Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
User description
I will close #649 to follow up here in this PR. Thanks to @Timendus there for implementing it.
The when the merge is ready we will have a new design as proposed by @Chris-ZoGo in #585
PR Type
Enhancement
Description
Implement new fromScratch design for LibreSpeed frontend
Add complete HTML/CSS/JS frontend with modern UI components
Update Docker configurations to include frontend directory
Add server selection, gauges, and telemetry support
Diagram Walkthrough
File Walkthrough
10 files
Main application logic and UI renderingNew HTML structure with modern layoutMain stylesheet with design importsColor theme variables and paletteMain content area stylingButton styles with animationsServer dropdown selector stylingGauge and results display stylingModal dialog popup stylingInter font family declarations5 files
Global server list configurationFrontend settings and telemetry configUpdate Docker setup for frontend deploymentAdd frontend directory to Docker imageAdd frontend directory to Alpine image1 files
Frontend documentation and credits