Commit Graph
9 Commits
Author SHA1 Message Date
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
Lauri Ojansivu 7bf6f8a44b Move Scrum settings above Change color in Board Settings.
Scrum settings is now a group of its own between Rules and Change color,
with a rule between it and Change color. It stays board-admin only. The
menu order guard and the Board View docs diagram follow the new order.

Thanks to xet7 !
2026-10-02 15:55:10 +03:00
Lauri Ojansivu 40a4d9b171 Give the Rules page the board's right sidebar instead of its own.
The Rules page had a separate right sidebar holding only Back and its
views (List view, Workflow view, Blocks, History, Import / Export
rules). It now uses the board's own sidebar, like the board: the same
views are in its Board Settings under Rules, and choosing one there
while on the Rules page closes the sidebar so the view is not left
under it. The separate sidebar and its template are removed.

Its Back button went with it, so picking a view in the Board View menu
while on the Rules page now goes back to the board, asking first before
unsaved Blocks work would be lost.

Source tests pin the Rules route to the board sidebar, the absence of
the old controls, the way back and the Board Settings entries' existing
translated labels. The Rules browser specs open views through Board
Settings; a member who is not a board admin is not offered them there,
and the Blocks view still refuses such a member. The Rules and Board
Settings specs pass in Chromium and WebKit.

Thanks to xet7 !
2026-09-30 09:29:46 +03:00
Lauri Ojansivu b4217f962d Put the Rules views under Rules in Board Settings.
Board Settings now lists the Rules page's own views directly under
Rules - List view, Workflow view, Blocks, History and Import / Export
rules - so the one wanted is a click away instead of Rules first and
then its page sidebar. Each opens the Rules page in that view, asking
first before unsaved Blocks work would be lost, as the Rules page
sidebar does; Import / Export rules opens its popup from the menu. They
share Rules' board-admin guard. A divider now separates that group from
Change Color.

The Import / Export entry reads "Import / Export rules" in Board
Settings and in the Rules page sidebar, using the popup's own title key,
which is already translated in 234 locales, so no new text is added.

The menu order test pins the new first group, its divider, the guards,
the handlers and the label keys; a Playwright case checks the order and
that Workflow, History and Import / Export rules open what they say, in
Chromium and WebKit. The Board Settings and Rules docs follow.

Thanks to xet7 !
2026-09-30 08:42:47 +03:00
Lauri Ojansivu a81b4d5d97 Bring stale source guards up to the behaviour their code deliberately changed.
Eighteen suites had been failing because the code they read had changed on
purpose: notification delivery moved to stored plans, exports gained the
admin-only field guard and Scrum transfer, board copy became selectable,
card copy re-keys filtered custom fields, the Scrum settings menu entry was
added, new operator-only scripts, directory-login canaries, a rate-limit rule
that made the first mention of undoLast no longer the method, rule parts and
Sync-scoped recording in hooks evaluated by test harnesses, per-board card
dragging, and a Dependabot file-type bump. Each guard now pins the new
behaviour with a comment naming the change, keeps its original assertions,
and several gained positive and negative cases (export field guard, copy
defaults, Sync-scoped recording, card dragging, method lookup).

Two list-sync browser specs logged a second context in with the same
session token; they now get their own tokens, and the token guard counts
distinct pages instead of logins.

Thanks to xet7 !
2026-09-29 14:49:07 +03:00
Lauri Ojansivu d71973fc49 Move Date below Change Background Image in Board Settings.
Thanks to xet7 !
2026-09-24 18:32:26 +03:00
Lauri Ojansivu 953d8f7c13 Organize feature guides by menu and document backup alternatives
Add September feature instructions, preserve guide forwarding links, and document backup coverage with descriptive screenshots from #6683.

Thanks to markusst1982 and xet7 !
2026-09-23 18:34:37 +03:00
Lauri Ojansivu 94b59bef01 Move date format controls to global, board and member settings
Apply enabled member overrides before board and global defaults. Show inherited
status and saved formats using existing translations, and keep the card section
named Date. Cover rendering, exports, permissions, date-only formats and settings
isolation.

Thanks to xet7.
2026-09-23 13:58:24 +03:00
Lauri Ojansivu 74f3db87d4 Board Settings: order the menu as Rules ... Move Board to Archive.
The Board Settings menu (boardMenuPopup) is now four groups divided by a
rule, top to bottom:

  Rules, Change color, Change Background Image
  ---
  Board View, Swimlane, List, Card
  ---
  Export, Import, Notifications, Outgoing Webhooks
  ---
  Archived items, Move Board to Archive

Before, Archived items sat second in the first group, Notifications sat
among the colours, and Move Board to Archive was alone at the end. Every
entry keeps the guard it had: Rules, Change color, Change Background Image,
Board View, Swimlane, List, Notifications, Outgoing Webhooks and Move Board
to Archive are board-admin only, Export and Import stay behind withApi /
exportDisabled / canImportIntoBoard, Card stays open to any board member,
Archived items to everyone, and Move Board to Archive stays off the
templates board. No translation keys are added.

Two entries were not in the requested list and are kept where they fit:
Import (js-import-into-board), directly under Export in the third group,
and Archived items (js-open-archives), which is the "Archive" of the list,
opening the fourth group above Move Board to Archive.

tests/boardMenuOrder.test.cjs derives the sequence of entries and rules
from the jade and pins it exactly, pins each entry's guards so a reorder
cannot loosen who sees what, and pins the diagram in
docs/Features/Board/Board-View-Settings.md to the same order.
tests/boardSettingsSwimlaneListCard.test.cjs now expects two rules between
Card and Move Board to Archive, one under each group, and never two in a
row.

Thanks to xet7 !
2026-09-11 21:52:06 +03:00