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

refactor: use cypress design button in launchpad #27795

Merged
merged 44 commits into from
Jan 19, 2024

Conversation

elevatebart
Copy link
Contributor

@elevatebart elevatebart commented Sep 12, 2023

Related to cypress-io/cypress-design#189

Assumptions

  • pending is always disabled so the variants are merged
  • size sm is 24 px tall, set the size accordingly
  • size lg is 40 px tall, set the size accordingly
  • the default size is different so I added size=32 when there is none
  • instead of using prefix and suffix icons, I use declarative html, the way it is described in the documentation
  • In global mode I replaced the "gray" (disabled) button with a light-indigo
  • Instead of embedding behavior for external links inside the "Button", I use the useExternalLink() hook directly when necessary.

@elevatebart elevatebart changed the title Refactor/use-cypress-design-button-in-launchpad refactor: use cypress design button in launchpad Sep 12, 2023
@elevatebart elevatebart marked this pull request as ready for review September 12, 2023 19:51
@cypress
Copy link

cypress bot commented Sep 12, 2023

Passing run #53629 ↗︎

0 669 1 0 Flakiness 0

Details:

Merge branch 'develop' into refactor/use-cypress-design-button-in-launchpad
Project: cypress Commit: 4bdaa9ca9e
Status: Passed Duration: 07:18 💡
Started: Jan 19, 2024 6:39 PM Ended: Jan 19, 2024 6:47 PM

Review all test suite changes for PR #27795 ↗︎

@elevatebart elevatebart marked this pull request as draft September 14, 2023 11:16
@elevatebart elevatebart marked this pull request as ready for review September 14, 2023 12:45
@@ -154,7 +153,7 @@

<script lang="ts" setup>
import { useI18n } from '@cy/i18n'
import Button from '@packages/frontend-shared/src/components/Button.vue'
Copy link
Member

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'

Copy link
Contributor Author

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.

yarn.lock Outdated Show resolved Hide resolved
Copy link
Contributor

@ryanjwilke ryanjwilke left a 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 👍

@CLAassistant
Copy link

CLAassistant commented Jan 12, 2024

CLA assistant check
All committers have signed the CLA.

@elevatebart elevatebart merged commit cdc42b9 into develop Jan 19, 2024
80 of 81 checks passed
@elevatebart elevatebart deleted the refactor/use-cypress-design-button-in-launchpad branch January 19, 2024 19:01
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jan 30, 2024

Released in 13.6.4.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.6.4, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants