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

fix(ui): use available namespace as selected before default fallback #3719

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

erka
Copy link
Collaborator

@erka erka commented Dec 12, 2024

There could be situations when previously selected or default
namespace is not available for user. It could be the case that
default namespace was deleted or authz has a specific rules.
This PR will try to get the first available namespace before
falling back to default mock.

related #3688

@erka erka requested a review from a team as a code owner December 12, 2024 16:29
There could be situations when previously selected or default
namespace is not available for user. It could be the case that
default namespace was deleted or authz has a specific rules.
This PR will try to get the first available namespace before
falling back to default mock.

Signed-off-by: Roman Dmytrenko <[email protected]>
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.55%. Comparing base (2ca2273) to head (9cb5d24).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3719   +/-   ##
=======================================
  Coverage   64.55%   64.55%           
=======================================
  Files         170      170           
  Lines       17163    17163           
=======================================
  Hits        11079    11079           
  Misses       5393     5393           
  Partials      691      691           
Flag Coverage Δ
unittests 64.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Collaborator

@markphelps markphelps left a comment

Choose a reason for hiding this comment

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

nice, looking at your other PR now. ty!

@erka erka merged commit 729a965 into main Dec 12, 2024
39 checks passed
@erka erka deleted the rd/ui-select-current-namespaces branch December 12, 2024 17:22
@erka erka added the ui label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants