-
Notifications
You must be signed in to change notification settings - Fork 69
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
VACMS-19163: changed required astrisk to after #19882
base: main
Are you sure you want to change the base?
Conversation
Checking composer.lock changes... |
Checking composer.lock changes... |
GitHub Workflows (.github/workflows/*.yml)Have you...
|
Checking composer.lock changes... |
…dSpotlightCLPrequired
Checking composer.lock changes... |
Checking composer.lock changes... |
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.
@@ -125,3 +125,9 @@ | |||
#block-vagovclaro-content .paragraph.paragraph--type--magichead-group { | |||
border: var(--va-gray-lightest) solid 1px; | |||
} | |||
|
|||
#field-clp-spotlight-link-teasers-values .form-item__label::after |
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.
NIT:
The opening bracket should go on this line.
|
||
#field-clp-spotlight-link-teasers-values .form-item__label::after | ||
{ | ||
color: #F00; /* Red color for the asterisk */ |
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.
NIT:
Comments here are not necessary IMO. The styles speak for themselves here.
#field-clp-spotlight-link-teasers-values .form-item__label::after | ||
{ | ||
color: #F00; /* Red color for the asterisk */ | ||
content: "*"; /* Adds an asterisk before the label text */ |
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.
SHOULD:
If you decide to leave the comments in, this will need to be updated to use after instead of before.
Checking composer.lock changes... |
Checking composer.lock changes... |
@@ -125,3 +125,11 @@ | |||
#block-vagovclaro-content .paragraph.paragraph--type--magichead-group { | |||
border: var(--va-gray-lightest) solid 1px; | |||
} | |||
|
|||
#field-clp-spotlight-link-teasers-values .form-item__label::after { |
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 selector isn't completely accurate in that it is targetted even when the field isn't required. Is there some reason we can't add the [required]
attribute to the selector?
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.
I discovered the styles for the asterisk on form.css and was trying to follow it consistency. I can update and add [required].
Checking composer.lock changes... |
Tugboat has finished building the preview for this pull request! Links:
Dashboard: |
Description
Relates to #19163
QA steps
name: "Campaign Landing Page - Spotlight Validation"
description: QA test for ensuring required fields and validation indicators appear correctly when editing a Campaign Landing Page, and that error messages are properly linked to the corresponding fields.
steps:
step: "Go to Tugboat instance Log in and create a new Campaign Landing Page."
expected_result: "Login and successfully go to create a Campaign Landing Page"
step: "Fill out the required fields in the Hero Banner, Why This Matters, What You Can Do, VA Benefits sections. and Selection settings"
expected_result: "Required fields are filled out without issues."
expected_result: "Node is saved successfully."
expected_result: "Spotlight section is enabled."
expected_result: "The 'List of links with summaries' field is marked with a red asterisk."
expected_result: "Link teaser is added successfully."
expected_result: "Node is saved successfully without errors."
expected_behavior:
Definition of Done
Select Team for PR review
CMS Team
Public websites
Facilities
User support
Accelerated Publishing
Is this PR blocked by another PR?
DO NOT MERGE
Does this PR need review from a Product Owner
Needs PO review
CMS user-facing announcement
Is an announcement needed to let editors know of this change?