Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Conversation

@ocket8888
Copy link
Contributor

@ocket8888 ocket8888 commented Oct 7, 2021

This fixes #6255

It also removes a bunch of rules that were redundant, unused, and/or ineffectual, and simplifies the header's styling by using scss rule nesting.

I also removed a few more instances of !important, many of which appeared to exist only to override other instances of !important. In doing so, I believe I fixed a bug where the active menu item's color in the sidebar was not changing to match the indicator strip, which caused sidebar links being hovered to be styled exactly like sidebar links that were active.

This also fixes some invalid HTML I found in the sidebar


Which Traffic Control components are affected by this PR?

  • Traffic Portal

What is the best way to verify this PR?

start up traffic portal in a production environment, verify that all text in the header is visible with sufficient contrast to the background.

If this is a bugfix, which Traffic Control versions contained the bug?

  • master

PR submission checklist

  • This PR has no tests because behavior is unchanged
  • This PR has no documentation because behavior is unchanged
  • This PR has a CHANGELOG.md entry
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY

@ocket8888 ocket8888 added bug something isn't working as intended Traffic Portal v1 related to Traffic Portal version 1 low impact affects only a small portion of a CDN, and cannot itself break one labels Oct 7, 2021
@zrhoffman zrhoffman added this to the 6.0.1 milestone Oct 7, 2021
Copy link
Member

@shamrickus shamrickus left a comment

Choose a reason for hiding this comment

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

LGTM

  • Both prod mode and non look as they should.

@shamrickus shamrickus merged commit b02bbe7 into apache:master Oct 7, 2021
zrhoffman pushed a commit that referenced this pull request Oct 7, 2021
…le (#6258)

* Fix unreadable/inaccessible CDN notification text in prod environments

Also removes a ton of redundant and/or unused rules and/or selectors

* Fix double-highlighting menu items

* Remove a bunch of duplicate/ineffectual rules/selectors and uses of !important

* Update CHANGELOG

(cherry picked from commit b02bbe7)
@ocket8888 ocket8888 deleted the tp/fix-notification-text-in-prod branch October 7, 2021 21:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug something isn't working as intended low impact affects only a small portion of a CDN, and cannot itself break one Traffic Portal v1 related to Traffic Portal version 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unreadable Prod Mode CDN Notifications in Traffic Portal

3 participants