Skip to content

[Teach-428] Update styles on Diversity Survey - #51576

Merged
levadadenys merged 2 commits into
stagingfrom
denys/teach/teach-428
Apr 28, 2023
Merged

[Teach-428] Update styles on Diversity Survey#51576
levadadenys merged 2 commits into
stagingfrom
denys/teach/teach-428

Conversation

@levadadenys

Copy link
Copy Markdown
Contributor

[Teach-428] Update styles on Diversity Survey

Before:
Знімок екрана 2023-04-27 о 22 31 22

After:
Знімок екрана 2023-04-27 о 22 41 50

Links

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@levadadenys
levadadenys requested review from a team April 27, 2023 19:46
#submit
%button.btn-primary#submitSurvey{type: "submit"} Submit
%span#noanswer{onclick: "return submitSurvey(false)"} Prefer not to answer
%button#noanswer{onclick: "return submitSurvey(false)"} Prefer not to answer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for updating this!

@@ -3507,6 +3507,18 @@ code {

#noanswer {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do you know if there are other elements with ids noanswer and survey. Unfortunately, they're pretty generic ids...

@levadadenys levadadenys Apr 27, 2023

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Nice catch, thanks!
Agree, those are not very specific IDs.
Luckally, we only have them for this specific survey.

  • #noanswer styles are set specifically to be aplied if #noanswer is a child of #diversity_survey. So until we add another #diversity_survey for some reason 😄, everything will be fine.

Знімок екрана 2023-04-28 о 00 11 12

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Безіменний

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for checking and all the screenshots!

@bethanyaconnor bethanyaconnor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! One question to double check for any unintended consequences but otherwise looks good!

@hannahbergam hannahbergam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎉

@levadadenys
levadadenys merged commit d9f7d0b into staging Apr 28, 2023
@levadadenys
levadadenys deleted the denys/teach/teach-428 branch April 28, 2023 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants