Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Refactor: Update feedback styles #133

Merged
merged 1 commit into from
Feb 24, 2023
Merged

Conversation

jonwaldstein
Copy link
Contributor

@jonwaldstein jonwaldstein commented Feb 23, 2023

Description

Updates to the feedback button include

  • Reduce container padding
  • Replace icon in button
  • Update button to toggle feedback modal
  • Update feedback modal action button text

Affects

  • The feedback button

Visuals

Screenshot 2023-02-22 at 9 34 09 PM

Testing Instructions

  • Pull branch
  • run npm run build
  • Load a next gen form and interact with the feedback button

Pre-review Checklist

  • Acceptance criteria satisfied and marked in related issue
  • Relevant @unreleased tags included in DocBlocks
  • Includes unit tests
  • Reviewed by the designer (if follows a design)
  • Self Review of code and UX completed

@jonwaldstein jonwaldstein marked this pull request as ready for review February 23, 2023 03:09
return (
<svg {...props} width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.3327 11.4993H2.66602L0.666016 13.4993V2.16602C0.666016 1.06602 1.56602 0.166016 2.66602 0.166016H11.3327C12.4327 0.166016 13.3327 1.06602 13.3327 2.16602V9.49935C13.3327 10.5993 12.4327 11.4993 11.3327 11.4993Z" fill="white"/>
<svg
Copy link
Contributor Author

@jonwaldstein jonwaldstein Feb 23, 2023

Choose a reason for hiding this comment

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

I tried to import this as an svg file and assign to an img src but it kept making a relative url as the src instead of an inline data src. This works fine in the next gen app but not here. Must be a webpack config thing since we're using laravel mix here. Should figure that out at some point for the future when using images / local icons.

@jonwaldstein
Copy link
Contributor Author

@kjohnson this is ready for review.

@kjohnson kjohnson merged commit f284578 into develop Feb 24, 2023
@kjohnson kjohnson deleted the refactor/feedback-button branch March 31, 2023 19:53
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.

2 participants