-
Notifications
You must be signed in to change notification settings - Fork 19
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
Enhancement: Add an extra info modal component #1098
Conversation
✅ Deploy Preview for orion-design ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for orion-design ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One design nit.
Would be nice to make a tooltip component for this in the future, so that the information is in close proximity to what it's related to (pretty common pattern too)
@@ -0,0 +1,34 @@ | |||
<template> | |||
<button v-bind="attrs" type="button" @click.stop.prevent="show = true"> | |||
<p-icon icon="QuestionMarkCircleIcon" solid /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little padding would let the text and ? icon breath, maybe just a pl-1
or pl-2
class
Uses the code form the RBAC info modal to create a general extra info modal component. To be used in https://github.com/PrefectHQ/prefect/pull/8295 and https://github.com/PrefectHQ/nebula-ui/pull/2308