Fix Devfile Registry editor views for cases where the current Devfile…#4536
Conversation
… Registry is removed This will show an error instead of Devfile search form, a Devfile selection dialog, etc. and will ask if a user wants to close the view when the current Devfile Registry is removed. Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4536 +/- ##
===========================================
+ Coverage 32.37% 43.82% +11.44%
===========================================
Files 85 99 +14
Lines 6505 8067 +1562
Branches 1349 1692 +343
===========================================
+ Hits 2106 3535 +1429
- Misses 4399 4532 +133 ☔ View full report in Codecov by Sentry. |
datho7561
left a comment
There was a problem hiding this comment.
Works like a charm! Thanks, Victor!
|
@datho7561, @vrubezhny: does this fix #3289? |
Nope. This PR is not about top spacing in Devfile Registries view nor view scaling related... |
@vrubezhny ok, guess file a new issue? I created #4587 |
… Registry is removed
This will show an error instead of Devfile search form, a Devfile selection dialog, etc. and will ask if user wants to close the view when the current Devfile Registry is removed.
The following cases where fixed:
Screencast.from.2024-10-09.00-26-10.mp4
Screencast.from.2024-10-09.00-23-27.mp4
Screencast.from.2024-10-09.00-25-20.mp4