-
Notifications
You must be signed in to change notification settings - Fork 3
Shanbady/topic channel page header fixes #1063
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
Conversation
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 9430286 | Triggered | Generic Password | 7a06117 | docker-compose.yml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
|
@Ferdi we have a way of preserving the ordering based off of the field which I can add to this pr. I can also linkify the breadcrumbs but had some questions
|
|
@Ferdi regarding the OCW in the nav - this appears to be a data issue. the nav text comes from what is supposed to be the "long title" but for the OCW offeror object it is "ocw". |
jkachel
left a comment
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.
Looks better on desktop and the info box is better on mobile. Just a few more spacing things:
- On desktop, the info box has 16px padding where it should be 32px
- On mobile:
- the space under the infobox is 64px where it should be 16px
- the space above the infobox should be 48px (16+32 in the figma) where now it is 24px
- the space above the breadcrumb is 48px where it should be 32px
- the spacing between the elements in the "left"/content pane should be 16px, except above the logo where it's 32px
I'd consider doing a shared component later. |
|
Regarding Breadcrumbs - Yes, these should eventually be in component form. https://www.smashingmagazine.com/2022/04/breadcrumbs-ux-design/
Regarding DataPairs for Units Page Offerings Because they are on separate lines. Thanks! |
@shanbady the unit/offeror data should match what's in this document: https://docs.google.com/document/d/1-Kyull4biR4XhSsPK6ZLHhqEOLyUEdnQjP6Xlvqe2zI/edit#heading=h.1z6344o0szco According to the doc, the title should be "OpenCourseWare" I opened a PR #1079 that I think will correct it, but I'm not sure. If it needs work, please take over the branch from me and fix it. |
jkachel
left a comment
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.
The spacing on mobile is still just a bit off on mobile. I added some comments - they're based on some futzing with the layout in the CSS inspector so may need a bit of adjustment in situ.
jkachel
left a comment
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.
LGTM 👍

What are the relevant tickets?
Closes https://github.com/mitodl/hq/issues/4542 and https://github.com/mitodl/hq/issues/4540 and #1045
Description (What does it do?)
This PR fixes 3 sets of issues. Some style changes to the channel page banner make it more inline with the figma (see https://github.com/mitodl/hq/issues/4542 and https://github.com/mitodl/hq/issues/4540) and the addition of a configurable dark overlay to channel page banners (#1045)
Screenshots (if appropriate):
How can this be tested?
desktop:
mobile: