Skip to content

mgr/dashboard: Recommended first-time setup" banner should disappear - #70725

Merged
afreen23 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:hide-card-gateway
Aug 3, 2026
Merged

afreen23 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:hide-card-gateway

Conversation

@pujaoshahu

@pujaoshahu pujaoshahu commented Jul 30, 2026 •

Copy link
Copy Markdown
Screencast.From.2026-07-31.12-59-29.mp4
Screencast.From.2026-07-30.22-35-54.mp4

Fixes: https://tracker.ceph.com/issues/78888
Signed-off-by: pujaoshahu [email protected]

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@pujaoshahu
pujaoshahu marked this pull request as ready for review July 30, 2026 17:07
@pujaoshahu
pujaoshahu requested a review from a team as a code owner July 30, 2026 17:07
@github-project-automation github-project-automation Bot moved this from New to Review in progress in Ceph-Dashboard Jul 30, 2026
@pujaoshahu pujaoshahu changed the title mgr/dashboard: Recommended first-time setup" banner should disappear … mgr/dashboard: Recommended first-time setup" banner should disappear Jul 31, 2026
@pujaoshahu
pujaoshahu requested a review from afreen23 July 31, 2026 07:59
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

Copilot AI review requested due to automatic review settings August 3, 2026 06:18

Copilot AI 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.

Pull request overview

Hides the NVMe-oF first-time setup banner shortly after configuration completes.

Changes:

  • Adds delayed banner dismissal with lifecycle cleanup.
  • Removes the obsolete completion link.
  • Adds visibility-state tests.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
nvmeof-tabs.component.ts Implements delayed banner hiding.
nvmeof-tabs.component.spec.ts Tests banner visibility transitions.
nvmeof-setup-cards.component.html Removes the completion link.
nvmeof-setup-cards.component.spec.ts Updates setup-card rendering tests.

Copilot AI review requested due to automatic review settings August 3, 2026 06:36

Copilot AI 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.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

…once the NVMEoF configs are created and available

Fixes: https://tracker.ceph.com/issues/78888
Signed-off-by: pujaoshahu <[email protected]>

 Conflicts:
	src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-tabs/nvmeof-tabs.component.html
- Kept heading="Gateway groups"

Signed-off-by: pujashahu <[email protected]>
Copilot AI review requested due to automatic review settings August 3, 2026 06:54

Copilot AI 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.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

Suppressed comments (1)

src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-tabs/nvmeof-tabs.component.ts:121

  • The hide decision is incorrect for multi-group clusters. fetchSetupState() only queries groups[0] for subsystems and namespaces (shared/api/nvmeof.service.ts:218-235), so if the first group is empty while another group is fully configured, this remains false and the first-time setup banner never disappears. Aggregate setup state across all gateway groups before calling this visibility logic, and add a service-level multi-group test.
        this.updateSetupCardsVisibility();

@afreen23 afreen23 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.

code LGTM

@github-project-automation github-project-automation Bot moved this from Review in progress to Reviewer approved in Ceph-Dashboard Aug 3, 2026
@afreen23
afreen23 merged commit ac6f653 into ceph:main Aug 3, 2026
6 checks passed
@afreen23
afreen23 deleted the hide-card-gateway branch August 3, 2026 10:42
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I found one or more Fixes: tags in the commit messages in

git log ac6f65302f5a3c28f18656287cd387bc3e85b93d^..ac6f65302f5a3c28f18656287cd387bc3e85b93d

The referenced tickets are:

Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them.

Update Log: https://github.com/ceph/ceph/actions/runs/30806634996

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants