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

Implement new buttons design #43662

Merged
merged 3 commits into from
Jul 4, 2024
Merged

Implement new buttons design #43662

merged 3 commits into from
Jul 4, 2024

Conversation

bl-nero
Copy link
Contributor

@bl-nero bl-nero commented Jun 28, 2024

This PR is a first in a chain.

Due to the complexity of the change, it's closely tied to a follow-up Enterprise PR https://github.com/gravitational/teleport.e/pull/4532.

The scope of this change is to implement the new design and only change the actual UIs in places where it's strictly necessary to keep the build green. Subsequent UI modifications will be addressed in a follow-up OSS PR #43663.

Known issues:

  • minor UI glitches
  • SSO buttons are incorrectly styled

Screenshot 2024-06-28 at 20 25 12

Deviations from the designs:

  • Due to text layout glitches, border widths were unified at 1.5px.
  • The minimal neutral state text color were changed to slightly muted (originally: muted) because in broader UI context, it looked like a disabled one.
  • There is an additional parameter called inputAlignment that stems from my discussions with Kenny and was not a formal part of the original design.

Figma: https://www.figma.com/design/Gpjs9vjhzUKF1GDbeG9JGE/Application-Design-System?node-id=6642-29063&t=TpbLdA8lOaDrWW0d-0

Contributes to #43175

Manual tests: Reviewed all the stories in our storybook, comparing them side by side with the master copy. Glitches will be addressed in a follow-up PR to keep this one scoped.

@bl-nero bl-nero added the no-changelog Indicates that a PR does not require a changelog entry label Jun 28, 2024
@bl-nero bl-nero enabled auto-merge July 4, 2024 10:34
@bl-nero
Copy link
Contributor Author

bl-nero commented Jul 4, 2024

Note: pushed with --force to trigger a GH check that failed to start.

@bl-nero bl-nero added this pull request to the merge queue Jul 4, 2024
Merged via the queue into master with commit 39bd011 Jul 4, 2024
38 checks passed
@bl-nero bl-nero deleted the bl-nero/buttons branch July 4, 2024 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a PR does not require a changelog entry size/md ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants