Skip to content

fix: replace deprecated bootstrap things#5858

Merged
rjsparks merged 6 commits into
ietf-tools:mainfrom
larseggert:fix-deprecated
Jul 18, 2023
Merged

fix: replace deprecated bootstrap things#5858
rjsparks merged 6 commits into
ietf-tools:mainfrom
larseggert:fix-deprecated

Conversation

@larseggert

Copy link
Copy Markdown
Collaborator

Fixes #5857

@codecov

codecov Bot commented Jun 21, 2023

Copy link
Copy Markdown

Codecov Report

Merging #5858 (3c219e6) into main (09f3477) will decrease coverage by 0.05%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##             main    #5858      +/-   ##
==========================================
- Coverage   88.67%   88.63%   -0.05%     
==========================================
  Files         288      288              
  Lines       40001    40014      +13     
==========================================
- Hits        35471    35466       -5     
- Misses       4530     4548      +18     
Impacted Files Coverage Δ
ietf/ietfauth/widgets.py 84.61% <ø> (ø)
ietf/nomcom/views.py 92.90% <33.33%> (-0.22%) ⬇️
ietf/doc/utils.py 87.15% <100.00%> (+0.01%) ⬆️
ietf/nomcom/templatetags/nomcom_tags.py 70.83% <100.00%> (+3.64%) ⬆️
ietf/submit/forms.py 79.02% <100.00%> (+0.03%) ⬆️

... and 3 files with indirect coverage changes

Comment thread ietf/templates/base.html Outdated
{% analytical_body_top %}
<a class="visually-hidden visually-hidden-focusable" href="#content">Skip to main content</a>
<nav class="navbar navbar-expand-lg {% if server_mode and server_mode != "production" %} navbar-light bg-warning {% else %} navbar-dark bg-secondary {% endif %} {% if navbar_mode %} {{ navbar_mode }} {% else %} fixed-top {% endif %}">
<nav class="navbar navbar-expand-lg {% if server_mode and server_mode != "production" %} navbar-light bg-warning {% else %} bg-secondary {% endif %} {% if navbar_mode %} {{ navbar_mode }} {% else %} fixed-top {% endif %}">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I read what's at https://getbootstrap.com/docs/5.2/components/navbar/ differently. It says there that navbar-light has been deprecated and that navbar-dark is still around, but re-implemented?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The migration notes for 5.3 mentions navbar-dark being deprecated:
https://getbootstrap.com/docs/5.3/migration/#color-modes-1

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but navbar-light is also still deprecated, no?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rjsparks navbar-light also gone now

@NGPixel NGPixel changed the title Fix deprecated bootstrap things fix: replace deprecated bootstrap things Jun 28, 2023
@rjsparks rjsparks requested a review from NGPixel July 18, 2023 15:48
@rjsparks rjsparks merged commit 9d5d9d5 into ietf-tools:main Jul 18, 2023
@larseggert larseggert deleted the fix-deprecated branch July 21, 2023 13:10
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Replace deprecated bootstrap features with alternatives

3 participants