-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
chore(dashboard): batch of small fixes #6977
Conversation
✅ Deploy Preview for novu-stg-vite-dashboard-poc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -53,7 +53,7 @@ const MenuItem = ({ | |||
<span className="text-xs">{children}</span> | |||
{disabled && ( | |||
<Badge kind="pill" variant="soft" className="ml-auto opacity-40"> | |||
<BadgeContent variant="neutral">soon</BadgeContent> | |||
<BadgeContent variant="neutral">coming soon</BadgeContent> |
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.
@@ -67,6 +67,7 @@ export function ConfigureWorkflow() { | |||
<FormField | |||
control={control} | |||
name="name" | |||
defaultValue="" |
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.
fixes the react warning about changing input from uncontrolled to controlled
@@ -235,7 +235,7 @@ export const AddNode = (_props: NodeProps<NodeType>) => { | |||
} | |||
|
|||
return ( | |||
<div className="flex w-[300px] justify-center"> | |||
<div className="flex w-[300px] cursor-pointer justify-center"> |
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.
add step button cursor pointer fix: https://linear.app/novu/issue/NV-4684/workflow-overview-two-in-one-react-flow-and-cursor-on-hover
@@ -102,7 +102,7 @@ export const WorkflowList = () => { | |||
) : ( | |||
<> | |||
{workflowsQuery.data.workflows.map((workflow) => ( | |||
<WorkflowRow workflow={workflow} /> | |||
<WorkflowRow key={workflow._id} workflow={workflow} /> |
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.
react missing key warning
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.
📦
What changed? Why was the change needed?
The batch of small improvements.
Screenshots
Expand for optional sections
Related enterprise PR
Special notes for your reviewer