Files
wekan/client/features
Lauri Ojansivu 7ccd987eb1 Give each board an announcement of its own.
The site has one announcement for everybody; the reporter's teams needed a
reminder per board. A board admin writes it in the board menu, Board
announcement, and turns it on. Every member then sees it as a banner on the
board, as plain text, until they dismiss it; an edit gives it a new version,
so it shows again. Dismissing records the version the server reads, for a
board the user can see, so a client cannot dismiss a future edit in advance.
The text is trimmed and bounded, and an empty one cannot be turned on.

tests/boardAnnouncement.test.cjs covers showing, dismissing, editing and
the bounds; the board menu order guard includes the new item, admin only. A
Playwright case checks the banner and the dismissal. New text is in English,
pending Transifex.

Thanks to TiibCD and xet7 !

Fixes #1566.
2026-10-08 12:19:38 +03:00
..