-
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): a few more fixes #6985
Conversation
✅ Deploy Preview for novu-stg-vite-dashboard-poc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
</Link> | ||
</SidebarContent> | ||
<Separator /> | ||
{!EXCLUDED_EDITOR_TYPES.includes(step?.type ?? '') && ( |
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.
do not show the Configure {channel} template
button for the step types: digest, delay, custom, trigger
@@ -34,9 +35,21 @@ export const EditStepSidebar = () => { | |||
); | |||
|
|||
const handleCloseSidebar = () => { | |||
navigate('../', { relative: 'path' }); | |||
navigate('..', { relative: 'path' }); |
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.
removed /
at the end of the URL
useEffect(() => { | ||
if (isNotSupportedEditorType) { | ||
navigate('..', { relative: 'path' }); | ||
} | ||
}, [isNotSupportedEditorType, navigate]); | ||
|
||
if (isNotSupportedEditorType) { | ||
return null; | ||
} |
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.
if step type is not supported, we should not allow opening the editor
@@ -34,7 +34,7 @@ import { | |||
AlertDialogTitle, | |||
} from '@/components/primitives/alert-dialog'; | |||
|
|||
const tabsContentClassName = 'h-full w-full px-3 py-3.5'; | |||
const tabsContentClassName = 'h-full w-full px-3 py-3.5 overflow-y-auto'; |
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.
scrollbar for the In-App Editor drawer content when there is not enough space
What changed? Why was the change needed?
A few more small improvements.
Screenshots
Expand for optional sections
Related enterprise PR
Special notes for your reviewer