Skip to content

Voyager ship/notifications updates#3949

Open
simon0820s wants to merge 3 commits intoava-labs:masterfrom
Voyager-Ship:voyager-ship/notifications-updates
Open

Voyager ship/notifications updates#3949
simon0820s wants to merge 3 commits intoava-labs:masterfrom
Voyager-Ship:voyager-ship/notifications-updates

Conversation

@simon0820s
Copy link
Contributor

@simon0820s simon0820s commented Mar 10, 2026

Notifications updates

Add content preview, content security validation, and quick notification creation from hackathons

Description

This PR introduces improvements to the notifications workflow, focusing on better UX when composing notifications and stronger content security validation.

Changes

Content Preview Card

  • Added a Content Preview card to the notification creation form.
  • Supports rendering of:
    • text/plain
    • text/markdown
    • text/html
  • Allows users to preview how the notification will appear before sending it.

Content Security Validation

  • Implemented validation to prevent unsafe content from being submitted.
  • The system now detects and blocks potentially dangerous elements such as:
    • <script> tags
    • HTML event handlers (e.g. onclick, onerror)
    • unsafe URLs like javascript:
    • forbidden HTML tags (iframe, object, embed, etc.)

Hackathon Notification Shortcut

  • Added a Create Notification button in the Hackathon Edit page.
  • Enables admins/devrels to quickly create notifications directly from a hackathon.

Outcome

These changes:

  • Improve the notification authoring experience
  • Add content security safeguards
  • Provide a faster workflow for sending hackathon-related notifications.

@vercel
Copy link

vercel bot commented Mar 10, 2026

@simon0820s is attempting to deploy a commit to the Ava Labs Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant