Conversation
terabytesoftw
commented
Mar 6, 2026
| Q | A |
|---|---|
| Is bugfix? | ✔️ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Tests pass? | ❌ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #333 +/- ##
===========================================
Coverage 100.00% 100.00%
Complexity 43 43
===========================================
Files 10 10
Lines 277 311 +34
===========================================
+ Hits 277 311 +34 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR migrates the basic app UI toward Bootstrap 5.3+ styling, adds a client-side light/dark theme toggle, and updates linting configuration and documentation screenshots accordingly.
Changes:
- Add Bootstrap 5.3-compatible color mode toggling (localStorage +
data-bs-theme) and a navbar theme toggle button. - Refresh page layouts/styles (cards, navbar/footer colors, dark-mode tweaks like captcha inversion).
- Simplify PHPCS invocation via
phpcs.xml.dist, adjust CI linter workflow, and update README with screenshots/badges.
Reviewed changes
Copilot reviewed 15 out of 23 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| web/js/color-mode.js | Adds theme preference logic + navbar toggle behavior for Bootstrap color modes. |
| assets/AppAsset.php | Registers the new theme JS in the document head. |
| views/layouts/main.php | Adds data-bs-theme default and a navbar theme toggle button; adjusts navbar/footer classes. |
| web/css/site.css | Updates colors to Bootstrap CSS variables; adds dark-mode tweaks for forms/captcha. |
| views/site/login.php | Refactors login form markup to Bootstrap 5 input-group + floating label layout. |
| views/site/contact.php | Refactors contact form markup similarly; adjusts captcha layout. |
| views/site/index.php | Updates homepage layout to card-based Bootstrap 5 styling. |
| views/site/about.php | Wraps file path in an alert for Bootstrap 5 look. |
| views/site/error.php | Adds alert role + a “Go to Homepage” button and muted text styling. |
| tests/Unit/LogoutTest.php | Updates expected logout button class string. |
| tests/Unit/LoginTest.php | Updates expected logout button class string. |
| phpcs.xml.dist | Defines directories to lint via PHPCS config. |
| composer.json | Simplifies cs/cs-fix scripts to use PHPCS default config. |
| .github/workflows/linter.yml | Removes explicit directories input to shared linter workflow. |
| README.md | Adds responsive screenshots via <picture> and updates Docker badge link; adds License section. |
| docs/images/about-light.png | Adds updated screenshot asset. |
| docs/images/about-dark.png | Adds updated screenshot asset. |
| docs/images/contact-dark.png | Adds updated screenshot asset. |
| docs/images/contact-light.png | Adds updated screenshot asset. |
| docs/images/home-dark.png | Adds updated screenshot asset. |
| docs/images/home-light.png | Adds updated screenshot asset. |
| docs/images/login-dark.png | Adds updated screenshot asset. |
| docs/images/login-light.png | Adds updated screenshot asset. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 15 out of 23 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.