Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

store: move HUD view rendering into the HUD package #5545

Merged
merged 1 commit into from
Mar 1, 2022
Merged

Conversation

nicks
Copy link
Member

@nicks nicks commented Feb 28, 2022

Hello @landism,

Please review the following commits I made in branch nicks/issue5543:

c19167d (2022-02-28 14:32:30 -0500)
store: move HUD view rendering into the HUD package
Also: skip disabled resources when rendering the legacy HUD

Fixes #5543

Code review reminders, by giving a LGTM you attest that:

  • Commits are adequately tested
  • Code is easy to understand and conforms to style guides
  • Incomplete code is marked with TODOs
  • Code is suitably instrumented with logging and metrics

@nicks nicks requested a review from landism February 28, 2022 19:33
}

ms := mt.State
if ms.DisableState == v1alpha1.DisableStateDisabled {
Copy link
Member Author

Choose a reason for hiding this comment

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

this is the only line that changed; everything here is a straight-up move

Copy link
Member

@landism landism left a comment

Choose a reason for hiding this comment

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

LGTM, though it might be worth titling it something like "hide disabled resources in terminal UI", for changelog purposes.

also moves HUD view rendering into the HUD package

Fixes #5543
@nicks
Copy link
Member Author

nicks commented Mar 1, 2022

done!

@nicks nicks merged commit f8020d9 into master Mar 1, 2022
@nicks nicks deleted the nicks/issue5543 branch March 1, 2022 15:06
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.

legacy terminal UI shows spinner for disabled resources
2 participants