Skip to content

Define banners in the DB #9525

@ewjoachim

Description

@ewjoachim

What's the problem this feature will solve?
Setting up and removing occasional community banners seems quite painful

Describe the solution you'd like
There's an ongoing effort to put the Sponsors in the DB (#9512), I'm guessing surfing on the momentum on cleaning the sponsors part, we could also take the opportunity to define those banners in the DB too. I'm even wondering if it would made sense to have the same sponsor roles also able to set banners.

Additional context
I imagine we'd need:

  • A model with:
    • A text (potentially with links) that we want to display. XSS may be an interesting problem.
    • A begin and end date, this would allow being more precise on event start and end, and less relying on @ewdurbin 's ability to deploy at specific times
    • Maybe a color if there are choices.
  • An admin page to CRUD the banners

There's the question of translations, but as of today, banners are usually up for less time than the interval between weblate PR merges, so I guess most banners are already untranslated as of now.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions