Skip to content

Fix callback for File -> Open Folder... action#6935

Merged
jni merged 1 commit intonapari:mainfrom
DragaDoncila:fix-open-folder
May 27, 2024
Merged

Fix callback for File -> Open Folder... action#6935
jni merged 1 commit intonapari:mainfrom
DragaDoncila:fix-open-folder

Conversation

@DragaDoncila
Copy link
Copy Markdown
Contributor

@DragaDoncila DragaDoncila commented May 26, 2024

References and relevant issues

Closes #6934

Description

Incorrect callback was being used for the Open Folder action. This PR fixes it. We need a testing framework for the actions and menus @lucyleeow, which we knew, but maybe we should prioritize ahead of converting the layer actions.

@github-actions github-actions bot added the qt Relates to qt label May 26, 2024
@psobolewskiPhD
Copy link
Copy Markdown
Member

Nice catch! Thanks @DragaDoncila !

@psobolewskiPhD
Copy link
Copy Markdown
Member

I agree that there needs to be better testing for the app-model stuff, but getting this obvious fix in is just good, so lets not let perfect block it.

@psobolewskiPhD psobolewskiPhD added this to the 0.5.0 milestone May 26, 2024
@psobolewskiPhD psobolewskiPhD added bugfix PR with bugfix UI/UX ready to merge Last chance for comments! Will be merged in ~24h labels May 26, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented May 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.43%. Comparing base (e29593c) to head (6c6a31d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6935      +/-   ##
==========================================
- Coverage   92.49%   92.43%   -0.06%     
==========================================
  Files         612      612              
  Lines       55169    55169              
==========================================
- Hits        51027    50997      -30     
- Misses       4142     4172      +30     

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

Copy link
Copy Markdown
Contributor

@lucyleeow lucyleeow left a comment

Choose a reason for hiding this comment

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

Lgtm.

I'll have a think about the tests.

@jni jni merged commit ded87bf into napari:main May 27, 2024
@github-actions github-actions bot removed the ready to merge Last chance for comments! Will be merged in ~24h label May 27, 2024
andy-sweet pushed a commit to andy-sweet/napari that referenced this pull request May 28, 2024
# References and relevant issues

Closes napari#6934

# Description

Incorrect callback was being used for the `Open Folder` action. This PR
fixes it. We need a testing framework for the actions and menus
@lucyleeow, which we knew, but maybe we should prioritize ahead of
converting the layer actions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR with bugfix qt Relates to qt UI/UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File -> Open Folder... doesn't allow me to select a folder (Mac-OS)

4 participants