Add beta label and feedback link to planning view board UI
What does this MR do and why?
Implements the workplan from work item #607857 (closed) (part of epic &21744).
Two frontend-only changes, gated on the existing planning_view_boards feature flag (planningViewBoards / isPlanningViewBoardEnabled):
1. Beta indicator on the view-mode switcher
In work_item_display_settings_drawer.vue, the Board entry's text in the static viewModeOptions array is updated from 'Board' to 'Board (Beta)'. GlSegmentedControl renders option text as plain text, so the label is added directly to the string. The switcher is already gated by isPlanningViewBoardEnabled, so the label shows whenever the switcher is visible, regardless of the active view mode.
2. Feedback link in the top toolbar
In planning_view.vue, a GlButton with variant="link" is added beside the Bulk edit button in the state-count row. It is shown only when isPlanningViewBoardEnabled && viewMode === VIEW_MODE_BOARD. The link opens the feedback work item (https://gitlab.com/gitlab-org/gitlab/-/work_items/607858) in a new tab. The button has data-testid="board-feedback-link".
All new user-facing strings are externalized with s__() under the WorkItemPlanningView namespace.
Tests
- Updated
work_item_display_settings_drawer_spec.jsto assert the Board segment label readsBoard (Beta). - Added tests in
planning_view_spec.jsasserting:- The feedback link renders only when the FF is on AND board view is active.
- The link has the correct href to work item 607858.
- The link opens in a new tab.
- The link does not render in list view or with the FF off.
References
- Work item: #607857 (closed)
- Feedback issue: https://gitlab.com/gitlab-org/gitlab/-/work_items/607858
- Epic: &21744
Screenshots or screen recordings
| Before | After |
|---|---|
| Board option shows 'Board' | Board option shows 'Board (Beta)' |
| No feedback link in state-count row | Feedback link appears when board view is active |
How to set up and validate locally
- Enable the feature flag:
Feature.enable(:planning_view_boards) - Navigate to a group's work items planning view.
- Open the Display settings drawer — the Board option should read 'Board (Beta)'.
- Switch to Board view — a 'Give feedback on Board view' link should appear in the state-count row.
- Switch back to List view — the feedback link should disappear.
- Disable the feature flag — the view-mode switcher and feedback link should both be hidden.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.