Skip to content
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

feat: animate error text replacing helper text #1916

Merged
merged 19 commits into from
Nov 2, 2020

Conversation

johnbister
Copy link
Contributor

Closes #1653

Changelog

Swapping a few pngs for gifs to add clarification for usage.

Added
text-input-usage-2.gif
inline-error-message.gif
dropdown-usage-14.gif
select-usage-1.gif

Removed
text-input-usage-2.png
Inline_error_message.png
dropdown-usage-14.png
select-usage-1.png

Test/Review
New gifs can be reviewed at:

components>text input>usage>validation and errors
patterns>forms>client side validation
components>dropdown>usage>invalid
components>select>usage>validation

@vercel
Copy link

vercel bot commented Oct 23, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/carbon-design-system/carbondesignsystem/1tkvsd7a2
✅ Preview: https://carbondesignsystem-git-add-error-text-gifs.carbon-design-system.now.sh

@johnbister johnbister marked this pull request as ready for review October 23, 2020 16:53
@johnbister johnbister requested a review from a team October 23, 2020 16:53
@johnbister johnbister requested a review from a team as a code owner October 23, 2020 16:53
Fix tooltip title for select invalid state gif

Co-authored-by: emyarod <emyarod@users.noreply.github.com>
Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

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

looks good to me pending content review

@alisonjoseph alisonjoseph requested a review from a team October 27, 2020 18:12
@ghost ghost requested review from aagonzales and removed request for a team October 27, 2020 18:12
Copy link
Member

@aagonzales aagonzales left a comment

Choose a reason for hiding this comment

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

woohoo these look good!

Copy link
Contributor

@janchild janchild left a comment

Choose a reason for hiding this comment

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

@johnbister, these look great. It's nice to see movement on the pages. A couple of content suggestions:

  • Dropdown. The helper text and the error message should reference "user" instead of "project" because you're setting the role for the user.
  • Select. The same goes for Select; you should reference "user" instead of "project".

That's it! Thanks!

Changing helper/error text to 'user' from 'project'.
Changing helper/error text to 'user' from 'project'.
Changing helper text to 'user' from 'project'.
@johnbister
Copy link
Contributor Author

@janchild Good catch! I changed the helper/error text to 'user'. Let me know if you see anything else. Thanks!

@janchild
Copy link
Contributor

@johnbister I actually realized that there are two static images that will need to be updated to the same wording. Are you able to take care of those too? Thank you! Sorry I missed those on the first pass through.

They are here: https://carbondesignsystem-git-add-error-text-gifs.carbon-design-system.vercel.app/components/dropdown/usage/#dropdown

Fix helper text to show 'user' instead of 'project'.
Fix helper text to show 'user' instead of 'project'.
Fix helper text to show 'user' instead of 'project'.
Fix helper text to show 'user' instead of 'project'.
@johnbister
Copy link
Contributor Author

Copy link
Contributor

@janchild janchild left a comment

Choose a reason for hiding this comment

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

🎉 Thanks, @johnbister!

@kodiakhq kodiakhq bot merged commit c926686 into carbon-design-system:master Nov 2, 2020
@johnbister johnbister deleted the add-error-text-gifs branch May 5, 2021 16:07
natashadecoste pushed a commit to natashadecoste/carbon-website that referenced this pull request May 19, 2021
…1916)

* swap input text error png for gif

* swap pattern form error text png to gif

* swap dropdown helper text png to gif

* swap select helper text png to gif

* Update src/pages/components/select/usage.mdx

Fix tooltip title for select invalid state gif

Co-authored-by: emyarod <emyarod@users.noreply.github.com>

* Delete dropdown-usage-14.gif

Changing helper/error text to 'user' from 'project'.

* Add dropdown-usage-14.gif

Changing helper/error text to 'user' from 'project'.

* Delete select-usage-1.gif

Changing helper text to 'user' from 'project'.

* Add fixed select-usage-1.gif

Changing helper text to 'user' from 'project'.

* Delete dropdown-usage-9a.png

Fix helper text to show 'user' instead of 'project'.

* Delete dropdown-usage-9b.png

Fix helper text to show 'user' instead of 'project'.

* Add dropdown-usage-9a.png

Fix helper text to show 'user' instead of 'project'.

* Add dropdown-usage-9b.png

Fix helper text to show 'user' instead of 'project'.

Co-authored-by: emyarod <emyarod@users.noreply.github.com>
Co-authored-by: Alessandra Davila <aledavila@ibm.com>
natashadecoste pushed a commit to natashadecoste/carbon-website that referenced this pull request May 19, 2021
…1916)

* swap input text error png for gif

* swap pattern form error text png to gif

* swap dropdown helper text png to gif

* swap select helper text png to gif

* Update src/pages/components/select/usage.mdx

Fix tooltip title for select invalid state gif

Co-authored-by: emyarod <emyarod@users.noreply.github.com>

* Delete dropdown-usage-14.gif

Changing helper/error text to 'user' from 'project'.

* Add dropdown-usage-14.gif

Changing helper/error text to 'user' from 'project'.

* Delete select-usage-1.gif

Changing helper text to 'user' from 'project'.

* Add fixed select-usage-1.gif

Changing helper text to 'user' from 'project'.

* Delete dropdown-usage-9a.png

Fix helper text to show 'user' instead of 'project'.

* Delete dropdown-usage-9b.png

Fix helper text to show 'user' instead of 'project'.

* Add dropdown-usage-9a.png

Fix helper text to show 'user' instead of 'project'.

* Add dropdown-usage-9b.png

Fix helper text to show 'user' instead of 'project'.

Co-authored-by: emyarod <emyarod@users.noreply.github.com>
Co-authored-by: Alessandra Davila <aledavila@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature[animation]: illustrate error text replacing help text
6 participants