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

Restore 'V' keybinding for layer visibiltiy toggle #6261

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

GenevieveBuckley
Copy link
Contributor

@GenevieveBuckley GenevieveBuckley commented Sep 25, 2023

References and relevant issues

'napari:toggle_selected_visibility': [KeyCode.KeyG],

Reference: #5103

Description

This PR restores the V keybinding for toggling the visibility of the currently selected layers.

It looks like this was unintentionally changed in #5103. I'm pretty sure it's unintentional because the PR description talks about changing the internal representation, not the user interaction. Also, the line above the one affected also contains KeyCode.KeyG], so I think that it was copy-pasted as a template for the line below it, which was then only partially edited by mistake.

@Czaki Czaki added this to the 0.5.0 milestone Sep 25, 2023
@Czaki Czaki added ready to merge Last chance for comments! Will be merged in ~24h maintenance PR with maintance changes, labels Sep 25, 2023
@brisvag
Copy link
Contributor

brisvag commented Sep 25, 2023

Thanks, I've been annoyed at this for a while but always at times inconvenient to patch it ^^'

@brisvag brisvag modified the milestones: 0.5.0, 0.4.19 Sep 26, 2023
@brisvag
Copy link
Contributor

brisvag commented Sep 26, 2023

I moved to 0.4.19 since it's a tiny fix.

@psobolewskiPhD
Copy link
Member

It should be 0.5.0 because the PR that broke this isn't in 0.4.18 (everything works fine on release), only in main and is slated for 0.5.0.

@Carreau Carreau modified the milestones: 0.4.19, 0.5, 0.5.0 Sep 26, 2023
@brisvag
Copy link
Contributor

brisvag commented Sep 26, 2023

wow... using always main made me think this was an issue in the wild for months ^^'

@brisvag brisvag modified the milestones: 0.5.0, 0.4.19 Sep 26, 2023
@Carreau
Copy link
Contributor

Carreau commented Sep 26, 2023

wow... using always main made me think this was an issue in the wild for months ^^'

This is one more reason I do (and like) monthly releases.

@Carreau
Copy link
Contributor

Carreau commented Sep 27, 2023

This got the "Ready-to-merge" label 2 days ago and got no objections. Merging to move the queue forward.

Thanks.

@Carreau Carreau merged commit 59bcb4c into napari:main Sep 27, 2023
32 of 33 checks passed
@Carreau Carreau removed the ready to merge Last chance for comments! Will be merged in ~24h label Sep 27, 2023
kne42 added a commit to kne42/napari that referenced this pull request Sep 27, 2023
* main: (21 commits)
  [pre-commit.ci] pre-commit autoupdate (napari#6266)
  ENH Make `_open_preferences_dialog` return `PreferencesDialog` (napari#6269)
  Fix link to artifacts in update dependecies comment (napari#6270)
  ci(dependabot): bump docker/login-action from 2.1.0 to 3.0.0 (napari#6263)
  FIX add `changing` event to `EventedDict` (napari#6268)
  Restore 'V' keybinding for layer visibiltiy toggle (napari#6261)
  remove: napari.qt.progress (deprecated in 0.4.11) (napari#6252)
  Fix `ShapeList.outline` validations for `int`/list like argument and add a test (napari#6215)
  Fix nitpicks in `id` and `title` `Action` fields in samples menu (napari#6267)
  ci(dependabot): bump actions/checkout from 2 to 4 (napari#6264)
  ci(dependabot): bump actions/setup-python from 2 to 4 (napari#6201)
  Fix typing in _app_model (napari#6059)
  Update `app-model`, `dask`, `fsspec`, `hypothesis`, `imageio`, `ipython`, `jsonschema`, `matplotlib`, `numpy`, `pandas`, `pillow`, `psygnal`, `pytest`, `qtconsole`, `qtpy`, `rich`, `scipy`, `superqt`, `tensorstore`, `tifffile`, `virtualenv`, `xarray`, `zarr` (napari#6265)
  Fix upgrade dependencies wokflow (napari#6211)
  Type _WeakCounter (napari#6246)
  convert Color to string (napari#6243)
  Partially fix translations testing (napari#6014)
  Allow to use all ViewerModel kwargs in Viewer constructor (napari#6209)
  MAINT: Replace `assert np.all(? == ?)` with `assert_array_equal` (napari#6244)
  Fix Python 3.11 StrEnum Compatibility (napari#6242)
  ...
kne42 added a commit to kne42/napari that referenced this pull request Sep 28, 2023
* main: (21 commits)
  [pre-commit.ci] pre-commit autoupdate (napari#6266)
  ENH Make `_open_preferences_dialog` return `PreferencesDialog` (napari#6269)
  Fix link to artifacts in update dependecies comment (napari#6270)
  ci(dependabot): bump docker/login-action from 2.1.0 to 3.0.0 (napari#6263)
  FIX add `changing` event to `EventedDict` (napari#6268)
  Restore 'V' keybinding for layer visibiltiy toggle (napari#6261)
  remove: napari.qt.progress (deprecated in 0.4.11) (napari#6252)
  Fix `ShapeList.outline` validations for `int`/list like argument and add a test (napari#6215)
  Fix nitpicks in `id` and `title` `Action` fields in samples menu (napari#6267)
  ci(dependabot): bump actions/checkout from 2 to 4 (napari#6264)
  ci(dependabot): bump actions/setup-python from 2 to 4 (napari#6201)
  Fix typing in _app_model (napari#6059)
  Update `app-model`, `dask`, `fsspec`, `hypothesis`, `imageio`, `ipython`, `jsonschema`, `matplotlib`, `numpy`, `pandas`, `pillow`, `psygnal`, `pytest`, `qtconsole`, `qtpy`, `rich`, `scipy`, `superqt`, `tensorstore`, `tifffile`, `virtualenv`, `xarray`, `zarr` (napari#6265)
  Fix upgrade dependencies wokflow (napari#6211)
  Type _WeakCounter (napari#6246)
  convert Color to string (napari#6243)
  Partially fix translations testing (napari#6014)
  Allow to use all ViewerModel kwargs in Viewer constructor (napari#6209)
  MAINT: Replace `assert np.all(? == ?)` with `assert_array_equal` (napari#6244)
  Fix Python 3.11 StrEnum Compatibility (napari#6242)
  ...
@GenevieveBuckley GenevieveBuckley deleted the visibility-keybinding-V branch October 2, 2023 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PR with maintance changes,
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants