-
Notifications
You must be signed in to change notification settings - Fork 4k
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
feat(dashboard): workflow template store cta on list page #7540
Conversation
✅ Deploy Preview for dev-web-novu ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for dashboard-v2-novu-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -19,12 +19,12 @@ export function WorkflowCard({ | |||
}: WorkflowCardProps) { | |||
return ( | |||
<Card | |||
className="border-stroke-soft min-h-[138px] min-w-[250px] border shadow-none hover:cursor-pointer" | |||
className="border-stroke-soft min-h-[120px] min-w-[250px] border shadow-none hover:cursor-pointer" |
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.
Made the cards smaller in height
export function CreateWorkflowPage() { | ||
const navigate = useNavigate(); | ||
const location = useLocation(); | ||
|
||
const { submit, isLoading: isCreating } = useCreateWorkflow(); |
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.
Move this to be router navigatable instead of the button wrapper
steps.map((step, index) => ( | ||
<React.Fragment key={index}> | ||
<WorkflowStep step={step} /> | ||
{index < steps.length - 1 && <div className="h-px w-6 bg-gray-200" />} |
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 is this div for? Is it a separator?
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.
It's the connector line between the steps
What changed? Why was the change needed?
Screenshots
Expand for optional sections
Related enterprise PR
Special notes for your reviewer