Skip to content

feat: add resetControlImage prop for testing custom icons#209

Merged
jessicamcinchak merged 1 commit intomainfrom
jess/uat-reset-icons
Oct 17, 2022
Merged

feat: add resetControlImage prop for testing custom icons#209
jessicamcinchak merged 1 commit intomainfrom
jess/uat-reset-icons

Conversation

@jessicamcinchak
Copy link
Copy Markdown
Member

@jessicamcinchak jessicamcinchak commented Oct 14, 2022

adds resetControlImage ENUM property to specify a custom icon to show on the reset control button. Defaults to our current unicode arrow.

This is a bit of a tricky UAT request because we need to make a whole release. Once an icon is decided on, an ENUM property will likely be unnecessary and we can clean this up. If we decide to go with one of these new options, it may also be worth considering to source all icons from Carbon rather than mixing libraries?

resetControlImage value display
unicode (default) Screenshot from 2022-10-14 10-11-37
reset Screenshot from 2022-10-14 10-09-53
trash Screenshot from 2022-10-14 10-10-16
erase Screenshot from 2022-10-14 10-10-30

@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 14, 2022

Deploy Preview for oslmap ready!

Name Link
🔨 Latest commit feecab5
🔍 Latest deploy log https://app.netlify.com/sites/oslmap/deploys/63491ccf44e0e80008452ee6
😎 Deploy Preview https://deploy-preview-209--oslmap.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@jessicamcinchak
Copy link
Copy Markdown
Member Author

@jessicamcinchak jessicamcinchak requested a review from a team October 14, 2022 08:26
Copy link
Copy Markdown
Contributor

@DafyddLlyr DafyddLlyr left a comment

Choose a reason for hiding this comment

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

Looks good!

Agree it's a tricky / slow one to test. I think a single icon library is probably best from realistically to try to maintain a standard look and feel.

Let's see what the feedback is!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants