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.

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.js to assert the Board segment label reads Board (Beta).
  • Added tests in planning_view_spec.js asserting:
    • 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

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

  1. Enable the feature flag:
    Feature.enable(:planning_view_boards)
  2. Navigate to a group's work items planning view.
  3. Open the Display settings drawer — the Board option should read 'Board (Beta)'.
  4. Switch to Board view — a 'Give feedback on Board view' link should appear in the state-count row.
  5. Switch back to List view — the feedback link should disappear.
  6. 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.

Merge request reports

Loading
Loading