-
Notifications
You must be signed in to change notification settings - Fork 0
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
Tidy up the info/warning panel and fix title/no title output #73
Conversation
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.
@nehakerung thank you for the comprehensive testing. As the note in PR description says, warning and announcement have an issue, and that was flagged to the Design System team. We're using the component directly, so it needs fixing in the DS. Perhaps @helenb could help with that when she does some DS work |
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 good, apart from the already noted issues 👍
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.
Worked as expected! LGTM =)
* main: Update the embed block to be a custom video embed that uses the design system video embed template (#62) Django Migration Linter Integration (#43) Tidy up the info/warning panel and fix title/no title output (#73) Introduce Functional Tests using Playwright and Behave #31 # Conflicts: # poetry.lock # pyproject.toml
What is the context of this PR?
This came up in a couple of conversations (Mike, Julia/Gill) and the main question was "where is the information panel?" (and "what is warn (branded) or ghost?")
So this PR tidies up the panel block choices remove the ones that are not listed on https://service-manual.ons.gov.uk/design-system/components (and dropping bare too). It adds the "information" choice and fixes the output for it when there is no title
How to review
Add a panel block on an information page or methodology page and check its output with various types.
Note
The panel component has an issue where the title overlaps the icon for the warning and announcement variants. DS issue for warning
Follow-up Actions
N/A