-
Notifications
You must be signed in to change notification settings - Fork 71
Fix crash in ManifestBrowser when only hidden manifests are present (BugFix) #1996
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1996 +/- ##
==========================================
+ Coverage 51.13% 51.15% +0.02%
==========================================
Files 386 386
Lines 41603 41602 -1
Branches 7730 7727 -3
==========================================
+ Hits 21272 21280 +8
+ Misses 19569 19560 -9
Partials 762 762
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
c835e9b to
433be4f
Compare
Hook25
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My main comment here is: dont duplicate the code to get manifests by visibility.
Hook25
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, thanks
please rebase your PR on main
…manifests are hidde.
…uce code duplication.
…save_manifest in RemoteController, make tests more readable.
a014835 to
0f9b3b8
Compare
@Hook25, Done. |
…BugFix) (#1996) * Fix crash in ManifestBrowser when only hidden manifests are present. * The manifest screen is not shown even in interactive mode if all the manifests are hidde. * Comply the code with Python 3.5. * Adjust tests by putting them in a proper test classes + comments. Reduce code duplication. * Rename ManifestBrowser.get_flattened_values, apply the same fix for _save_manifest in RemoteController, make tests more readable.
…BugFix) (#1996) * Fix crash in ManifestBrowser when only hidden manifests are present. * The manifest screen is not shown even in interactive mode if all the manifests are hidde. * Comply the code with Python 3.5. * Adjust tests by putting them in a proper test classes + comments. Reduce code duplication. * Rename ManifestBrowser.get_flattened_values, apply the same fix for _save_manifest in RemoteController, make tests more readable.
…BugFix) (#1996) * Fix crash in ManifestBrowser when only hidden manifests are present. * The manifest screen is not shown even in interactive mode if all the manifests are hidde. * Comply the code with Python 3.5. * Adjust tests by putting them in a proper test classes + comments. Reduce code duplication. * Rename ManifestBrowser.get_flattened_values, apply the same fix for _save_manifest in RemoteController, make tests more readable.
Description
ManifestBrowser.unhandled_inputis extracted intohandle_submit_key&handle_focused_question_input.Launcher._save_manifesttoManifestBrowser- Launcher should work with manifests only through ManifestBrowser. The same done inRemoteController.Launcher&RemoteControllertests with_save_manifesttests.Resolved issues
Fixes: CHECKBOX-1963
Documentation
N/A
Tests
The fix was tested manually (only Launcher) + covered by unit tests (see the Description).