Skip to content

feat(themes): add banner_message and banner_dismissible fields #38

Closed

Description

@wazolab

Context

Add two fields to the theme level to support a dismissible banner displayed in Vido.

Changes

DB schema

  • themes_translations.banner_message (text, nullable) — multilingual banner content (HTML)
  • themes.banner_dismissible (boolean, default true) — whether the banner can be dismissed by the user

SQL

  • themes_join view: aggregate banner_message from translations; select banner_dismissible from themes
  • projects() function: expose both fields in the theme JSON output

Directus

  • Field config for both fields in the admin UI

Swagger

  • Add both fields to the theme schema in elasa-0.2.swagger.yaml

Activity

  1. self-assigned this
    on Jul 30, 2026
  2. changed the title [-]feat(themes): add emergency_message and emergency_url fields[/-] [+]feat(themes): add banner_message and banner_dismissible fields[/+] on Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions