Closed M-Wicenec closed 1 week ago
This PR updates keyboard shortcuts and window management functionality, primarily focusing on replacing modal-based UI elements with a more modern bottom window approach. The changes include new toggle functionality for tables and updated keyboard shortcuts using arrow keys for window management.
classDiagram
class ParameterTable {
+toggleTable(mode: Eagle.BottomWindowMode, selectType: ParameterTable.SelectType)
+openTable(mode: Eagle.BottomWindowMode, selectType: ParameterTable.SelectType)
+openTableAndSelectField(node: Node, field: Field)
}
note for ParameterTable "Replaced openModal with openTable and toggleTable methods"
classDiagram
class GraphConfigurationsTable {
+toggleTable()
+openTable()
}
note for GraphConfigurationsTable "Replaced openModal with openTable and toggleTable methods"
Change | Details | Files |
---|---|---|
Replaced modal-based UI elements with bottom window functionality |
|
src/ParameterTable.ts src/GraphConfigurationsTable.ts templates/base.html templates/navbar.html templates/inspector.html |
Updated keyboard shortcuts for window management |
|
src/KeyboardShortcut.ts src/Eagle.ts |
keyboard shortcuts for opening the various tables (t, alt t, and shift t) now use a new function to toggle the bottom window mode if the requested table is already open.
ive changed the shortcuts for the left, right, bottom and toggle all windows to use the arrow keys rather than l, r and b.
updated some function names and comments away from being 'modal' related, they are no longer modals. But there are a few remaining places where that tern is used.
Summary by Sourcery
Update keyboard shortcuts and refactor modal functions to table functions for improved UI interaction.
Enhancements: