Skip to content

Adding a Button component #16592

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

Merged
merged 8 commits into from
Mar 2, 2023
Merged

Adding a Button component #16592

merged 8 commits into from
Mar 2, 2023

Conversation

selfcontained
Copy link
Contributor

@selfcontained selfcontained commented Feb 27, 2023

Description

Adding new <Button/> component to normalize how we use buttons and how they appear. Still more details we can work through as we apply this to other spots using vanilla <button> tags, but this is a start that works for the use cases below.

Updated the following locations to use the new component, as they provided a variety of styles.

  • Confirmation Modal - buttons in the footer
  • Onboarding flow - Continue button
  • User Settings => Profile - Update profile, and Delete account)
  • Environment Variables - Create/Update modal
  • Create Workspace button on Workspaces page
  • New Create workspace page - Create workspace button, w/ loading state

Related Issue(s)

Fixes #16441

How to test

  • Check out the places listed above on the Dashboard and verify the buttons look as expected.

Release Notes

NONE

Documentation

Build Options:

  • /werft with-github-actions
    Experimental feature to run the build with GitHub Actions (and not in Werft).
  • leeway-no-cache
    leeway-target=components:all
  • /werft no-test
    Run Leeway with --dont-test
Publish Options
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer Options
  • with-ee-license
  • with-slow-database
  • with-dedicated-emulation
  • with-ws-manager-mk2
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated

Preview Environment Options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-bmh-button-component.2 because the annotations in the pull request description changed
(with .werft/ from main)

@selfcontained
Copy link
Contributor Author

selfcontained commented Feb 28, 2023

/werft run with-preview=true

👍 started the job as gitpod-build-bmh-button-component.3
(with .werft/ from main)

@selfcontained
Copy link
Contributor Author

selfcontained commented Feb 28, 2023

/werft run with-clean-slate-deployment=true recreate-vm=true

👍 started the job as gitpod-build-bmh-button-component.4
(with .werft/ from main)

@selfcontained selfcontained force-pushed the bmh/button-component branch from 95d6011 to 3ee2e6b Compare March 1, 2023 23:27
@selfcontained selfcontained marked this pull request as ready for review March 1, 2023 23:30
@selfcontained selfcontained requested a review from a team March 1, 2023 23:30
@selfcontained selfcontained requested a review from gtsiolis as a code owner March 1, 2023 23:30
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Mar 1, 2023
@roboquat roboquat merged commit f21a77b into main Mar 2, 2023
@roboquat roboquat deleted the bmh/button-component branch March 2, 2023 06:53
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/L team: webapp Issue belongs to the WebApp team
Projects
Status: In Validation
Development

Successfully merging this pull request may close these issues.

Extract button component
3 participants