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

[MTV-2003] Secret is loading message is wrong #1457

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

jpuzz0
Copy link
Contributor

@jpuzz0 jpuzz0 commented Feb 5, 2025

📝 Links

https://issues.redhat.com/browse/MTV-2003

📝 Description

Don't show loading message when a secret load error exists

🎥 Demo

Before:
image

After:
image

Signed-off-by: Jeff Puzzo <jpuzzo@redhat.com>
Copy link

sonarqubecloud bot commented Feb 5, 2025

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.32%. Comparing base (13484d0) to head (daf8e79).
Report is 218 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1457      +/-   ##
==========================================
- Coverage   36.81%   36.32%   -0.50%     
==========================================
  Files         158      156       -2     
  Lines        2548     2522      -26     
  Branches      599      588      -11     
==========================================
- Hits          938      916      -22     
- Misses       1428     1601     +173     
+ Partials      182        5     -177     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sgratch sgratch added the bug Categorizes issue or PR as related to a bug. label Feb 5, 2025
@metalice metalice merged commit 7aec507 into kubev2v:main Feb 10, 2025
11 checks passed
@sgratch
Copy link
Collaborator

sgratch commented Feb 10, 2025

📝 CC://

@RichardHoch @anarnold97 Please review

@RichardHoch
Copy link

@sgratch We generally capitalize Secret and write the controller pod as "the forklift-controller pod".

re" "Something is wrong, the secret was not loaded, please try to reload the page."

I'd write "The Secret was not loaded. Try reloading the page." or "The Secret was not loaded. Reload the page." If our error messages usually include "please," go ahead and use it for now, but later it should be removed.

There is no need to say "Something is wrong" if this message only appears when there is a problem. I don't know where else we call this message, so if it appears in a situation when the user might not know something is wrong, then that sentence is OK, in general, but I'd remove it here, if possible.

The text is understandable as is -- this is just a bit of polish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants