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

PR: Add a new Application plugin #14586

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

dalthviz
Copy link
Member

@dalthviz dalthviz commented Jan 13, 2021

TODO:

  • Move application level actions from the Mainmenu and Help plugins to a new Application plugin
  • Move application level actions from the mainwindow to the Application plugin:
    • Windows env variables action
    • PYTHONPATH Manager (PYTHONPATH will be its own plugin)
    • Restart
    • Quit (part of the Console plugin)
  • Add actions to the main toolbar using the Toolbar plugin
    • Fix Toolbar plugin before param. Add before_section param for items addition.
  • Move general preferences to the Application plugin.
    • Language
    • Rendering engine
    • Use single instance
    • Prompt when exiting
    • Show Internal Spyder errors to report them in Github
    • Check for updates
    • Screen resolution (high DPI screens)
      • Normal
      • Enable auto high DPI scaling
      • Set custom high DPI scaling
    • Vertical title bars in panes (Removed)
    • Vertical tabs
    • Animated toolbars and panes (Removed)
    • Tear off menus (Removed)
    • Custom margin for panes
    • Cursor bliking
  • Fix possible failing tests
  • Dependencies

Part of #13527

@dalthviz dalthviz added this to the v5.0alpha4 milestone Jan 13, 2021
@dalthviz dalthviz self-assigned this Jan 13, 2021
@dalthviz dalthviz changed the title [WIP] PR: Application plugin structure [WIP] PR: Application plugin Jan 13, 2021
@ccordoba12 ccordoba12 changed the title [WIP] PR: Application plugin [WIP] PR: Add a new Application plugin Jan 14, 2021
@pep8speaks
Copy link

pep8speaks commented Jan 18, 2021

Hello @dalthviz! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-02-03 19:35:04 UTC

@dalthviz dalthviz force-pushed the application_plugin branch 9 times, most recently from 451af9a to 04858df Compare January 26, 2021 17:52
@dalthviz dalthviz changed the title [WIP] PR: Add a new Application plugin PR: Add a new Application plugin Feb 2, 2021
steff456
steff456 previously approved these changes Feb 3, 2021
Copy link
Member

@steff456 steff456 left a comment

Choose a reason for hiding this comment

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

This PR is ready to merge! Thanks @dalthviz :)

Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks @dalthviz for your work on this! This looks almost ready, except for the minor comments I left below.

spyder/app/mainwindow.py Show resolved Hide resolved
spyder/app/mainwindow.py Show resolved Hide resolved
spyder/plugins/application/container.py Show resolved Hide resolved
spyder/plugins/application/container.py Outdated Show resolved Hide resolved
spyder/plugins/application/plugin.py Outdated Show resolved Hide resolved
spyder/plugins/editor/plugin.py Outdated Show resolved Hide resolved
spyder/plugins/editor/plugin.py Outdated Show resolved Hide resolved
spyder/plugins/editor/plugin.py Outdated Show resolved Hide resolved
spyder/plugins/editor/plugin.py Show resolved Hide resolved
spyder/plugins/preferences/plugin.py Show resolved Hide resolved
Application: Initial Application plugin structure. Move Help/Mainmenu application actions to the correct place
Application: Fix trouble action test
Application: Move Tools menu and Windows env vars dialog to the Application plugin
API: Add option to create an icon from an image file
Application: Fix Editor tools menu actions
Application: Change PYTHONPATH manager action creation
Toolbar: Fix before action addition. Add before_section param. Add Application plugin actions to the main toolbar
Application: Handle Windows env variables dialog addition to the main menus
Application: Testing
Application: Revert PYTHONPATH Manager migration (needs its own plugin). Add quit action to the main menu from the Console plugin
Application: Testing
Application: Migrate Restart and Quit actions. Migrate File menu
Toolbar: Fix code style issues
Application: Testing
Application: Initial migration of main preferences config page
Preferences: Fix preferences ADDITIONAL_CONF_OPTIONS parsing.
Application: Testing
Application: Move configpage from Preferences and remove use of GeneralConfigPage
Application: Remove file_menu references in mainwindow. Fix Editor setup new window
Application: Move report missing dependencies to Application plugin
Application: Fix code style issue and comments
Application: Use restart method on mainwindow. Add comment for action name to map shortcuts
Mainmenu: Remove dynamic kwarg for File and Tools menus
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks a lot @dalthviz!

@ccordoba12 ccordoba12 merged commit 82d3281 into spyder-ide:master Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants