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

chore(dashboard): a few more fixes #6985

Merged
merged 1 commit into from
Nov 13, 2024
Merged

chore(dashboard): a few more fixes #6985

merged 1 commit into from
Nov 13, 2024

Conversation

LetItRock
Copy link
Contributor

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

Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for novu-stg-vite-dashboard-poc ready!

Name Link
🔨 Latest commit 8a9dbc4
🔍 Latest deploy log https://app.netlify.com/sites/novu-stg-vite-dashboard-poc/deploys/673499773bcde1000855136c
😎 Deploy Preview https://deploy-preview-6985--novu-stg-vite-dashboard-poc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

</Link>
</SidebarContent>
<Separator />
{!EXCLUDED_EDITOR_TYPES.includes(step?.type ?? '') && (
Copy link
Contributor Author

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' });
Copy link
Contributor Author

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

Comment on lines +43 to +51
useEffect(() => {
if (isNotSupportedEditorType) {
navigate('..', { relative: 'path' });
}
}, [isNotSupportedEditorType, navigate]);

if (isNotSupportedEditorType) {
return null;
}
Copy link
Contributor Author

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';
Copy link
Contributor Author

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

@LetItRock LetItRock merged commit bc9a0d3 into next Nov 13, 2024
33 checks passed
@LetItRock LetItRock deleted the a-few-more-fixes branch November 13, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants