Skip to content

NMS-20482: Hide the Edit button on the Vue dashboard - #9018

Open
joseanesONMS wants to merge 1 commit into
developfrom
jira/NMS-20482-hide-dashboard-edit-smoke
Open

joseanesONMS wants to merge 1 commit into
developfrom
jira/NMS-20482-hide-dashboard-edit-smoke

Conversation

@joseanesONMS

Copy link
Copy Markdown
Contributor

Hides the Edit button on the new Vue dashboard so the homepage ships as a read-only view first.

Editing is disabled in this first release to lower the risk of the move to Vue, and will be turned on later by flipping one flag.

  • The Edit button now also requires a showEditButton constant, set to false, in DashboardToolbar.vue; it was already admin-only.
  • The edit-mode controls, store actions and the admin-only layout PUT are unchanged, and comments citing NMS-20482 mark where to turn editing back on.
  • Verified with eslint, vue-tsc and the dashboard vitest suites (39 tests).

External References

The new Vue dashboard is being rolled out in stages to reduce risk: first
the homepage moves to Vue as a read-only view, and editing is enabled in a
later release. The Edit button is the only entry point to edit mode, so it
is hidden behind a showEditButton flag; the edit-mode controls, store
actions and the admin-only PUT are left in place so the feature can be
turned back on by flipping the flag.
@joseanesONMS
joseanesONMS requested a review from synqotik October 23, 2026 17:56

@synqotik synqotik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

This branch has not been deployed

No deployments
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.

2 participants