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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO list for integration of app-model #4860

Open
7 of 21 tasks
tlambert03 opened this issue Jul 24, 2022 · 6 comments
Open
7 of 21 tasks

TODO list for integration of app-model #4860

tlambert03 opened this issue Jul 24, 2022 · 6 comments
Assignees
Labels

Comments

@tlambert03
Copy link
Member

tlambert03 commented Jul 24, 2022

馃О Task

list of todos after #4784

@liu-ziyang
Copy link
Contributor

@tlambert03 Thanks for putting this together! do you mind if I convert this issue to a project board so we can track and collaborate?

@Czaki
Copy link
Collaborator

Czaki commented Aug 10, 2022

  • rename _qt.get_app to get_qapp... however that's publicly exported, and that needs to be considered

the napari.qt could still export get_app with a deprecation warning.

@lucyleeow
Copy link
Contributor

lucyleeow commented Jun 12, 2023

Small addition:

Update docs/guides/contexts_expressions to explain their use in context of app-model.

(I am assuming that after full transition to app-model we won't be using the old system at all anymore?)

Edit: I see all the Expr stuff has been moved to app-model so contexts and expressions in napari is definitely out of date.

@lucyleeow
Copy link
Contributor

lucyleeow commented Mar 7, 2024

Documenting some planning/tasks related to app-model integration.

Tasks post #4991 :

Other related tasks, where I am not sure of priority/order to be worked on:

Tasks once npe1 deprecated (only listing items relevant/related to this body of work):

  • deprecate npe1 when adding widgets in _run and deprecate _add_plugin_function_widget and add_plugin_dock_widget (no function/dock widget distinction in npe2
  • remove npe1 widget tests
  • remove npe1 sample and plugin menu code

Lower priority (?) related tasks:

cc @Czaki @DragaDoncila in case I missed something.

@DragaDoncila
Copy link
Contributor

DragaDoncila commented Mar 7, 2024

@lucyleeow I think #6643 should also be listed somewhere in here, probably in the lower priority tasks, since we have a workaround for now. Thank you for the exceptional recordkeeping 馃檹 馃帀

@lucyleeow
Copy link
Contributor

Done and added some more!

jni added a commit that referenced this issue Jun 8, 2024
# References and relevant issues
Towards  #4860

# Description
Migrates debug menu to app-model

---------

Co-authored-by: Juan Nunez-Iglesias <jni@fastmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
jni pushed a commit that referenced this issue Jun 13, 2024
# Description

Now that all menus have migrated to app-model (see #4860) `NapariMenu`
and `populate_menu` are redundant and no longer used in the code base.

This PR removes the `napari/_qt/menus/` folder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Late Progress
Development

No branches or pull requests

5 participants