napari-micromanager icon indicating copy to clipboard operation
napari-micromanager copied to clipboard

feat: dialog to select config at startup + store configs paths

Open fdrgsp opened this issue 2 years ago • 1 comments

This is a first attempt to add a startup widget to select a system configuration when napari-micromanager is loaded or to create a new one through the ConfigWizard widge.

In addition to a simple widget with a combo at startup, this PR also adds a way to store the configs path in a json file (in the user directory) to keep track of them every time a user opens napari-micromanager.

This PR also adds a menu for now only containing system configuration related stuff (save and load) including the ConfigWizard widget to create new configurations.

fdrgsp avatar Mar 08 '24 03:03 fdrgsp

Codecov Report

Attention: Patch coverage is 77.50000% with 45 lines in your changes missing coverage. Please review.

Project coverage is 77.70%. Comparing base (4c625fa) to head (12802d4). Report is 4 commits behind head on main.

Files Patch % Lines
src/napari_micromanager/_init_system_configs.py 84.40% 17 Missing :warning:
src/napari_micromanager/_util.py 65.90% 15 Missing :warning:
src/napari_micromanager/main_window.py 71.79% 11 Missing :warning:
src/napari_micromanager/_gui_objects/_toolbar.py 75.00% 2 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #323      +/-   ##
==========================================
- Coverage   78.24%   77.70%   -0.54%     
==========================================
  Files          13       14       +1     
  Lines         625      812     +187     
==========================================
+ Hits          489      631     +142     
- Misses        136      181      +45     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Mar 08 '24 03:03 codecov[bot]