Skip to content

Add project announcements feature#6598

Draft
meyerlor wants to merge 1 commit into
3liz:masterfrom
meyerlor:feature/project-announcements
Draft

Add project announcements feature#6598
meyerlor wants to merge 1 commit into
3liz:masterfrom
meyerlor:feature/project-announcements

Conversation

@meyerlor
Copy link
Copy Markdown
Collaborator

@meyerlor meyerlor commented Feb 24, 2026

adds a project announcements feature that allows admins to show popup messages to map users when they open a project. Could be useful for things like maintenance notices, new data updates or feature announcements. To be honest, I'm not 100% sure if this feature is really necessary as a built-in thing. You could basically achieve something similar by just putting the announcement text on the landing page content. The main advantage here is the targeting (specific project/repository/group) and the "show only X times" logic - but whether this justifies the added complexity is a question for you to decide.

What is included:

  • Admin UI to create/edit/delete announcements (under LizMap menu)
  • Targeting by repository, project and user groups
  • Configurable max display count per user (so the popup is not shown every time)
  • Frontend modal popup using the existing #lizmap-modal
  • DB schema for PostgreSQL and SQLite, with upgrade migrations

Test plan

  • Fresh install: tables and ACL rights are created automatically
  • Upgrade from 3.9+: migration creates tables and assigns rights to admins
  • Create announcement in admin panel, verify it shows as modal on matching project
  • Verify group targeting works correctly
  • Verify max_display_count stops showing after X views
  • Test with anonymous users (sessionStorage fallback)

Want me to create it like this, or should I adjust something / should i stop working on it?

This is a small demonstration:
Announcement

When recording it, i just saw that it might also be an idea to faciliate the "Warnings" PopUp functionallity and extend it a little bit? Just brainstorming here.

Allows admins to create popup announcements shown to users when loading maps.
Supports targeting by repository, project, and user group with configurable
display count limits. Includes admin CRUD UI, frontend modal display via
Bootstrap 5, and DB schema for both PostgreSQL and SQLite.
@github-actions github-actions Bot added this to the 3.11.0 milestone Feb 24, 2026
@meyerlor meyerlor marked this pull request as draft February 24, 2026 12:51
@github-actions
Copy link
Copy Markdown

The Lizmap project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 2 months and is being automatically marked as "stale".
If there is no further activity on this pull request, it will be closed in two weeks.

@github-actions github-actions Bot added the stale This ticket might be closed soon label Apr 27, 2026
@meyerlor
Copy link
Copy Markdown
Collaborator Author

meyerlor commented May 2, 2026

unstale. not sure how to continue though

@3liz-bot 3liz-bot removed the stale This ticket might be closed soon label May 2, 2026
@mind84
Copy link
Copy Markdown
Collaborator

mind84 commented Jun 5, 2026

@meyerlor,

I think this feature can be very useful.

@rldhont @mdouchin what do you think about it?

Cheers!

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.

3 participants