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

feat: [M3-8172] - Add CopyableTextField story and clean up components #10912

Merged

Conversation

hana-linode
Copy link
Contributor

@hana-linode hana-linode commented Sep 9, 2024

Description 📝

Add CopyableTextField story and merge CopyableAndDownloadableTextField component into CopyableTextField

Preview 📷

Screen.Recording.2024-09-09.at.4.16.48.PM.mov

How to test 🧪

Verification steps

(How to verify changes)

  • Run storybook locally and verify changes
  • There should be no regressions in the app where CopyableTextField is used

As an Author I have considered 🤔

Check all that apply

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/Improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • 👣 Providing comprehensive reproduction steps
  • 📑 Providing or updating our documentation
  • 🕛 Scheduling a pair reviewing session
  • 📱 Providing mobile support
  • ♿ Providing accessibility support

@hana-linode hana-linode self-assigned this Sep 9, 2024
@hana-linode hana-linode marked this pull request as ready for review September 9, 2024 20:30
@hana-linode hana-linode requested a review from a team as a code owner September 9, 2024 20:30
@hana-linode hana-linode requested review from mjac0bs and jaalah-akamai and removed request for a team September 9, 2024 20:30
Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Hana, nice clean up!

✅ Tested functionality in working Storybook story
✅ Confirmed CopyableTextFields are working as expected throughout the app, including in Profile API Token creation and Service Transfers
✅ Confirmed no styling regressions

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this PR fixed a styling bug in prod here where the Download button is hover state colored (blue) when the dialog was opened. 👍🏼

Prod This Branch
Screenshot 2024-09-11 at 10 17 57 AM Screenshot 2024-09-11 at 10 18 21 AM

@mjac0bs mjac0bs added the Approved Multiple approvals and ready to merge! label Sep 11, 2024
Copy link

Coverage Report:
Base Coverage: 86.43%
Current Coverage: 86.64%

@hana-linode hana-linode merged commit 5163579 into linode:develop Sep 11, 2024
19 checks passed
@hana-linode hana-linode deleted the M3-8172-add-copyabletextfield-story branch September 11, 2024 18:58
nikhagra-akamai pushed a commit to nikhagra-akamai/manager that referenced this pull request Sep 23, 2024
…linode#10912)

## Description 📝
Add CopyableTextField story and merge `CopyableAndDownloadableTextField` component into `CopyableTextField`

## How to test 🧪
### Verification steps
(How to verify changes)
- Run storybook locally and verify changes
- There should be no regressions in the app where `CopyableTextField` is used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! Storybook
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants