-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: clean up some unexpected behavior and designs #21551
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
Conversation
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
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.
Changes look good, the Percy snapshots we have show diffs I'd expect from these changes (and the existing flake). I appreciate the thorough PR description too, I'll have to keep an eye out for these scenarios going forward.
We can point this PR to develop now 🚀
These look like good changes, gonna rerun CI for Percy. |
@marktnoonan when you have a minute I would love your eyes on this one. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
While checking if we could safely remove the safelist, I found a few odd designs.
Two color class bugs
In a few places around the app, we have multiple utility classes triggering the color of the text or the background.
Since CSS classes don't take order into account, one cannot have the following code expect a deterministic rendering:
It will depend on the position of both classes in the CSS file.
This use case is obvious. But when dynamic stuff is involved, it can be tricky. Look at the following vue use case.
If the CSS class
text-gray-600
is defined beforetext-indigo-600
in the CSS file, this button will never be gray when disabled. More deceptively, when building, the order might not be exactly the same and something that works in dev might not work in production.Retry is not in the designs
Everywhere there is an error in Figma I only see
Try again
notretry
.