-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: Remember undocked state of plugins when closed and allow to close Outline when the Editor is maximized or in an Editor window #19784
PR: Remember undocked state of plugins when closed and allow to close Outline when the Editor is maximized or in an Editor window #19784
Commits on Dec 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ab6b051 - Browse repository at this point
Copy the full SHA ab6b051View commit details
Commits on Dec 28, 2023
-
API: Add the possibility to close undocked windows
- This allows users to show plugins directly undocked, i.e. without making them first visible but docked on the main window to then undock them. - Also, improve typing a bit.
Configuration menu - View commit details
-
Copy full SHA for bc4b011 - Browse repository at this point
Copy the full SHA bc4b011View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f643ff - Browse repository at this point
Copy the full SHA 1f643ffView commit details -
Outline: Allow to close it when shown next to the maximized editor
- To close it the user can click the Close action in its Options menu or go to the Panes menu. - Hide the Outline's Undock and Lock/unlock actions when shown in the maximized editor because it doesn't make sense to show them in that case.
Configuration menu - View commit details
-
Copy full SHA for dd13a51 - Browse repository at this point
Copy the full SHA dd13a51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48172dd - Browse repository at this point
Copy the full SHA 48172ddView commit details -
API: Save if plugin window was undocked before hiding it in our confi…
…g system That allows to make persistent that state across Spyder sessions.
Configuration menu - View commit details
-
Copy full SHA for e5256be - Browse repository at this point
Copy the full SHA e5256beView commit details -
Testing: Move function to get a random dockable plugin out of a test
That will allow us to use it in other tests.
Configuration menu - View commit details
-
Copy full SHA for 77b394c - Browse repository at this point
Copy the full SHA 77b394cView commit details -
Testing: Check the new close plugins when undocked functionality
- Also, check the visibility of the Outline when shown with the maximized editor. - Fix test_no_update_outline because it was failing.
Configuration menu - View commit details
-
Copy full SHA for 2f455ac - Browse repository at this point
Copy the full SHA 2f455acView commit details -
Stylesheet: Improve style of QSplitter handlers
- Reduce their size to make them a bit smaller than the QMainWindow separators. That will help users to navigate our UI more easily. - Also, remove images of QMainWindow separators because they are not visible.
Configuration menu - View commit details
-
Copy full SHA for f745ffb - Browse repository at this point
Copy the full SHA f745ffbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c52dc88 - Browse repository at this point
Copy the full SHA c52dc88View commit details -
Editor: Allow to close Outline in EditorWidget from its Options menu
This will present to users the same UI as the one shown when the editor is maximized.
Configuration menu - View commit details
-
Copy full SHA for 5d3baeb - Browse repository at this point
Copy the full SHA 5d3baebView commit details -
Main menu: Use SpyderMenuMixin API to create the app menus
This will allow us to reuse those menus in other places they are needed.
Configuration menu - View commit details
-
Copy full SHA for 1d81836 - Browse repository at this point
Copy the full SHA 1d81836View commit details -
Configuration menu - View commit details
-
Copy full SHA for 577c4f4 - Browse repository at this point
Copy the full SHA 577c4f4View commit details -
Toolbar: Register toolbar toogle view actions in ACTION_REGISTRY
- This will allow us to easily access them in other places. - Also, fix typing and improve code style in its container.
Configuration menu - View commit details
-
Copy full SHA for 6227e08 - Browse repository at this point
Copy the full SHA 6227e08View commit details -
API: Add toolbar_id to the constructor of ApplicationToolbar
That way it'll be easier to create those kind of toolbars in other widgets.
Configuration menu - View commit details
-
Copy full SHA for ddac76a - Browse repository at this point
Copy the full SHA ddac76aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fd86b1 - Browse repository at this point
Copy the full SHA 3fd86b1View commit details -
Editor: Add action to EditorMainWindow View menu to show/hide Outline
This provides a very similar UX to the one users see when maximizing the editor in the main window.
Configuration menu - View commit details
-
Copy full SHA for 3410fea - Browse repository at this point
Copy the full SHA 3410feaView commit details -
Editor: Hide splitter handle in EditorMainWindow when collpasing Outline
- This preserves the checked state of new Outline action shown in the View menu. - It also removes the handle which looks like an extra and odd border in the window.
Configuration menu - View commit details
-
Copy full SHA for 080ad88 - Browse repository at this point
Copy the full SHA 080ad88View commit details -
Main menu: Add singleton with the menubar stylesheet to its API
- That way it can be used by other plugins or widgets. - Use it to set the menubar stylesheet of EditorMainWindow.
Configuration menu - View commit details
-
Copy full SHA for 61f5fe2 - Browse repository at this point
Copy the full SHA 61f5fe2View commit details -
Testing: Check the behavior of Outline and toolbars in editor windows
- Also, fix failing tests for the Working directory.
Configuration menu - View commit details
-
Copy full SHA for fe613bc - Browse repository at this point
Copy the full SHA fe613bcView commit details -
Editor: Catch KeyError when getting toolbars/menus in EditorMainWindow
Also, check for the presence of splitter handler because it can't be available during tests.
Configuration menu - View commit details
-
Copy full SHA for 80ced8c - Browse repository at this point
Copy the full SHA 80ced8cView commit details -
Layout: Fix error when plugins required for tabification are unavailable
This was causing a crash at startup in some cases.
Configuration menu - View commit details
-
Copy full SHA for 73e1022 - Browse repository at this point
Copy the full SHA 73e1022View commit details
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f9de0fe - Browse repository at this point
Copy the full SHA f9de0feView commit details -
Configuration menu - View commit details
-
Copy full SHA for da5976d - Browse repository at this point
Copy the full SHA da5976dView commit details -
Testing: Fix test_editor_window_outline_and_toolbars
- Also, remove unnecessary condition in test_undock_plugin_and_close and style from the app stylesheet.
Configuration menu - View commit details
-
Copy full SHA for 695c4c3 - Browse repository at this point
Copy the full SHA 695c4c3View commit details -
Apply suggestions from code review
Co-authored-by: Jitse Niesen <jitseniesen@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 11f671a - Browse repository at this point
Copy the full SHA 11f671aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7653c8 - Browse repository at this point
Copy the full SHA f7653c8View commit details -
API: Simplify text of lock_unlock_action
This helps to have a more straightforward UI because "Move" means basically "Move to another position". And "Lock" means "Lock position".
Configuration menu - View commit details
-
Copy full SHA for c36103a - Browse repository at this point
Copy the full SHA c36103aView commit details -
Outline Explorer: Hide unnecessary actions when the plugin is undocked
Also, remove a couple of unneeded imports.
Configuration menu - View commit details
-
Copy full SHA for 369544d - Browse repository at this point
Copy the full SHA 369544dView commit details -
Layout: Fix visual glitches when switching layouts
- We were not unmaximizing a possibly maximized plugin before the switch, which left the window in an inconsistent state. - We also need to reapply the dock tabbar style after the switch so the window looks as expected.
Configuration menu - View commit details
-
Copy full SHA for 1149dcf - Browse repository at this point
Copy the full SHA 1149dcfView commit details