-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
refactor: use cypress design button in launchpad #27795
refactor: use cypress design button in launchpad #27795
Conversation
Passing run #53629 ↗︎Details:
Review all test suite changes for PR #27795 ↗︎ |
@@ -154,7 +153,7 @@ | |||
|
|||
<script lang="ts" setup> | |||
import { useI18n } from '@cy/i18n' | |||
import Button from '@packages/frontend-shared/src/components/Button.vue' |
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.
Is this button still used or can we delete this code? '@packages/frontend-shared/src/components/Button.vue'
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.
To keep the PR of a decent size, I only worked on the LaunchPad for now.
In a 2nd PR, I will process the app and delete the unused Button.
Co-authored-by: Emily Rohrbough <[email protected]>
This reverts commit 9ffbcf2.
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.
Code looks good to me. I tried looking at Percy diffs but it appears that the build is stuck possibly. Feel free to ping me if you have a link to Percy diffs once those are ready. If there aren't really any visual diffs worth noting, then I'm good 👍
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Related to cypress-io/cypress-design#189
Assumptions
pending
is alwaysdisabled
so the variants are mergedsm
is 24 px tall, set the size accordinglylg
is 40 px tall, set the size accordinglylight-indigo
useExternalLink()
hook directly when necessary.