gamut icon indicating copy to clipboard operation
gamut copied to clipboard

feat(PreviewTip): add preview tip

Open dreamwasp opened this issue 6 months ago • 3 comments

Overview

Add new PreviewTip component, restructures some shared tip components, and adds a 3ms delay to to hover/focus tips (like PreviewTip + ToolTip)

PR Checklist

  • [x] Related to designs: here
  • [x] Related to JIRA ticket: [gm-645]
  • [x] I have run this code to verify it works
  • [x] This PR includes unit tests for the code change
  • [x] This PR includes testing instructions tests for the code change
  • [x] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

  1. Go to the PreviewTip story
  2. Hover over one of the tips and see the text
  3. Turn on VO
  4. Tab into the tip
  5. Hear the tip announced
  6. Do the same for the floating variant
  7. ...
  8. Profit!

PR Links and Envs

Repository PR Link PR Env
Monolith Monolith PR Monolith Env
monorepo Portal Link Portal Env

dreamwasp avatar Aug 06 '24 18:08 dreamwasp