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): sms, push, chat editors show empty preview on validation error #7341

Merged

Conversation

LetItRock
Copy link
Contributor

What changed? Why was the change needed?

SMS, Push, Chat editors: when there is a validation error show an empty preview instead of having "No preview available".

Screenshots

Screen.Recording.2024-12-20.at.13.18.57.mov
Screen.Recording.2024-12-20.at.13.23.46.mov

Copy link

linear bot commented Dec 20, 2024

Copy link

netlify bot commented Dec 20, 2024

Deploy Preview for dev-web-novu ready!

Name Link
🔨 Latest commit 4520ad5
🔍 Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/6765642cc0f1000008a1098d
😎 Deploy Preview https://deploy-preview-7341.dashboard.novu-staging.co
📱 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.

Copy link

netlify bot commented Dec 20, 2024

Deploy Preview for dashboard-v2-novu-staging ready!

Name Link
🔨 Latest commit 4520ad5
🔍 Latest deploy log https://app.netlify.com/sites/dashboard-v2-novu-staging/deploys/6765642c98b5760008826d47
😎 Deploy Preview https://deploy-preview-7341.dashboard-v2.novu-staging.co
📱 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.

return (
<SmsPreviewContainer>
<SmsPhone smsBody="Preview not available" error={!isValidSmsPreview} />
<SmsPhone smsBody="" isLoading={isPreviewPending} />
Copy link
Contributor

Choose a reason for hiding this comment

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

Lovely!

@LetItRock LetItRock merged commit 24db592 into next Dec 20, 2024
35 checks passed
@LetItRock LetItRock deleted the nv-5095-sms-chat-push-editors-show-empty-preview-on-error branch December 20, 2024 15:55
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.

2 participants