Skip to content
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): Template store modal #7436

Open
wants to merge 50 commits into
base: next
Choose a base branch
from
Open

Conversation

scopsy
Copy link
Contributor

@scopsy scopsy commented Jan 6, 2025

What changed? Why was the change needed?

  • New Template Store Modal for workflow templates
  • Feature Flag for Template Store
  • 10 base templates (to be adjusted)

https://www.loom.com/share/79642309ee494f56bb71ca0f1ea8c267

Screenshots

CleanShot 2025-01-06 at 11 12 42
CleanShot 2025-01-06 at 11 12 33
CleanShot 2025-01-06 at 11 12 28

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

Copy link

github-actions bot commented Jan 6, 2025

LaunchDarkly flag references

🔍 2 flags added or modified

Name Key Aliases found Info
IS_AI_TEMPLATE_STORE_ENABLED IS_AI_TEMPLATE_STORE_ENABLED
IS_V2_TEMPLATE_STORE_ENABLED IS_V2_TEMPLATE_STORE_ENABLED

/>
</form>
</Form>
<CreateWorkflowForm onSubmit={handleSubmit} />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Separated the form from the button, to be reused in the template store

@@ -141,4 +141,4 @@ function ButtonGroupIcon<T extends React.ElementType>({
}
ButtonGroupIcon.displayName = BUTTON_GROUP_ICON_NAME;

export { ButtonGroupRoot as Root, ButtonGroupItem as Item, ButtonGroupIcon as Icon };
export { ButtonGroupIcon, ButtonGroupItem, ButtonGroupRoot };
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Missing exports


const HoverCardArrow = HoverCardPrimitive.Arrow;

export { HoverCard, HoverCardArrow, HoverCardContent, HoverCardPortal, HoverCardTrigger };
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Missing Exports

controlValues?: any;
}

export function StepPreview({ type, controlValues }: StepPreviewProps) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

adds the ability to provide a step preview on hover

return (
<div
className={`grid ${
mode === WorkflowMode.FROM_PROMPT ? 'mx-auto w-full max-w-xl grid-cols-1' : 'grid-cols-3'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will be used by the AI suggestions PR

Copy link

pkg-pr-new bot commented Jan 6, 2025

Open in Stackblitz

@novu/client

npm i https://pkg.pr.new/novuhq/novu/@novu/client@7436

@novu/headless

npm i https://pkg.pr.new/novuhq/novu/@novu/headless@7436

@novu/node

npm i https://pkg.pr.new/novuhq/novu/@novu/node@7436

@novu/notification-center

npm i https://pkg.pr.new/novuhq/novu/@novu/notification-center@7436

novu

npm i https://pkg.pr.new/novuhq/novu@7436

@novu/providers

npm i https://pkg.pr.new/novuhq/novu/@novu/providers@7436

@novu/shared

npm i https://pkg.pr.new/novuhq/novu/@novu/shared@7436

commit: b9d81c8

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Eslint

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Eslint order

@scopsy scopsy marked this pull request as ready for review January 6, 2025 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant