-
Notifications
You must be signed in to change notification settings - Fork 4
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
YALB-1416: Bug: Empty Headings in HTML | YALB-1312: Bug: Style views Event Time Period radio buttons | YALB-1215: Dials: Banner heading levels #407
Conversation
…ed state visual feedback, add temporary styles for event period
…ed state visual feedback, add temporary styles for event period
Created multidev environment pr-407 for yalesites-platform. |
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.
This all looks so good. I did have one question about the events. I'm still seeing the radio button circle selectors on the events, but not in the other selectable radio button items. Should we hide them as well--they look hidden on the other radios on that configuration? If not, I think this is ready! If it is, feel free to re-request review and I'll be happy to.
Great 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.
YALB-1416: Approved
YALB-1312: Approved, but wanted to find out if this was going to get an icon ahead of getting merged? Looks good to merge now and we can always add the icon later.
YALB-1215: I'm seeing a "None" option and I checked and there is a different way we're handling those dial fields. Mainly using the allowed_values_function
and default_value_callback
in the configs themselves. It's not something you can set in the Drupal UI, but in code. I can help if you'd like, or you can reference these guys (specifically the field_style_color
on the callout component:
web/profiles/custom/yalesites_profile/modules/custom/ys_themes/config/install/ys_themes.component_overrides.yml
web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.callout.field_style_color.yml
web/profiles/custom/yalesites_profile/config/sync/field.storage.block_content.field_style_color.yml
@dblanken-yale Those radios for "Event Time Period" should look like the other Radios in the Views Basic form. @codechefmarc I tried rebuilding what we were working on - moving the |
Well, once it finishes building. I hit comment too soon 😆 |
|
…alesites-project into yalb-1416-empty-headings
@codechefmarc This is ready for another look, please.
If you add a new Views -> Event component you should see: yalb-1416-event-period-icons.mp4 |
@joetower - yup, that will work, but, in researching yesterday I found a better way to do this that will be easier for translators in that the image isn't inside the translated text:
And yes, I really like this idea much better than doing it in a background image, so we should create a tech debt ticket to change out all of them - it seemed it was much easier for you to style as well. |
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.
@codechefmarc I tested this on my PR and it's due to atomic's changes not being in release versions yet. If you make a branch mirroring this one from develop and rebuild, it shows fine. No worries there. |
YALB-1416: Bug: Empty Headings in HTML | YALB-1312: Bug: Style views Event Time Period radio buttons | YALB-1215: Dials: Banner heading levels
Description of work
checked
state change on click, to provide visual feedback. Changes in this branch.field_heading_level
adds the field to Banners (CTA and Hero) and wires it toheading_level
in the Storybook components. Includes component library work here: YALB-1215: Dials: Banner heading levels component-library-twig#285Functional testing steps:
Testing: YALB-1215: Dials: Banner heading levels
h2
.heading level
toh1
h1
yalb-1215-grand-hero-h1.mp4
h1
if you change it: https://pr-407-yalesites-platform.pantheonsite.io/node/16/layoutTesting: YALB-1416: Bug: Empty Headings in HTML
Testing: YALB-1312: Bug: Style views Event Time Period radio buttons
yalb-event-form-updates-be.mp4
And if you add a new Views Events block:
yalb-1416-event-form-updates-be.mp4