Skip to content
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

migrate to Bootstrap 5, implement light/dark mode #1445

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

srabraham
Copy link
Member

The main reason to upgrade was to allow dark mode, which is something
various nighttime Operators have been requesting for a while. This
upgrade forced various other smaller changes too. The pages all look
a bit different, but hopefully mostly for the better.

I had to upgrade DataTables to get to a Bootstrap 5-compatible version.

One other tweak in this PR is that the instructions on the Field Report
page are turned into an accordion (a Bootstrap 5 thing), so that they
can be hidden by default.

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

Attention: Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 69.71%. Comparing base (c862c72) to head (f83ccd1).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/ims/application/_external.py 0.00% 2 Missing ⚠️
src/ims/element/page/_page.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1445      +/-   ##
==========================================
- Coverage   69.73%   69.71%   -0.03%     
==========================================
  Files         181      181              
  Lines        8987     8987              
  Branches     1493     1493              
==========================================
- Hits         6267     6265       -2     
- Misses       2615     2616       +1     
- Partials      105      106       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@srabraham srabraham force-pushed the 2024-12-10-bootstrap5 branch from 1927a03 to ad0594f Compare December 10, 2024 22:03
The main reason to upgrade was to allow dark mode, which is something
various nighttime Operators have been requesting for a while. This
upgrade forced various other smaller changes too. The pages all look
a bit different, but hopefully mostly for the better.

I had to upgrade DataTables to get to a Bootstrap 5-compatible version.

One other tweak in this PR is that the instructions on the Field Report
page are turned into an accordion (a Bootstrap 5 thing), so that they
can be hidden by default.
@srabraham srabraham force-pushed the 2024-12-10-bootstrap5 branch from ad0594f to f83ccd1 Compare December 10, 2024 23:14
@srabraham srabraham merged commit 4f28452 into master Dec 11, 2024
11 of 13 checks passed
@srabraham srabraham deleted the 2024-12-10-bootstrap5 branch December 11, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants