Closed M-Wicenec closed 1 month ago
This pull request implements significant changes to the user interface and functionality of the EAGLE application. The main focus is on restructuring the layout to include a new bottom window, refactoring the parameter table and graph configurations table into this new window, and updating various UI components and their interactions. The changes also include modifications to keyboard shortcuts, error handling, and overall application structure.
journey
title User Journey for Bottom Window Integration
section Initial State
User: Open application
section Interacting with Windows
User: Toggle left window
User: Toggle right window
User: Toggle bottom window
section Using Bottom Window
User: Open Parameter Table
User: Open Graph Configurations Table
User: View Graph Errors
section Closing
User: Close bottom window
User: Exit application
classDiagram
class SideWindow {
-ko.Observable~number~ width
+ko.Observable~number~ size
+ko.Observable~boolean~ adjusting
+SideWindow(size: number)
+static toggleShown(window: string): void
+static setShown(window: string, value: boolean): void
+static toggleTransition(): void
+static rightWindowAdjustStart(eagle: Eagle, event: JQuery.TriggeredEvent): boolean
+static leftWindowAdjustStart(eagle: Eagle, event: JQuery.TriggeredEvent): boolean
+static bottomWindowAdjustStart(eagle: Eagle, event: JQuery.TriggeredEvent): boolean
+static sideWindowAdjustEnd(eagle: Eagle, event: JQuery.TriggeredEvent): boolean
}
classDiagram
class Eagle {
+ko.Observable~SideWindow~ leftWindow
+ko.Observable~SideWindow~ rightWindow
+ko.Observable~SideWindow~ bottomWindow
+toggleWindows(): void
+changeRightWindowMode(requestedMode: Eagle.RightWindowMode): void
+static BottomWindowMode
}
Eagle : +BottomWindowMode None
Eagle : +BottomWindowMode ParameterTable
Eagle : +BottomWindowMode GraphConfigsTable
Eagle : +BottomWindowMode GraphConfigAttributesTable
Eagle : +BottomWindowMode GraphErrors
Change | Details | Files |
---|---|---|
Added a new bottom window to the application layout |
|
src/SideWindow.ts static/base.css templates/base.html |
Refactored the parameter table and graph configurations table |
|
src/ParameterTable.ts src/GraphConfigurationsTable.ts templates/parameter_table.html templates/graph_configurations_table.html |
Updated error handling and display |
|
src/Eagle.ts src/Utils.ts templates/Errors.html |
Modified application settings and configuration |
|
src/Setting.ts src/Eagle.ts src/Utils.ts |
Updated keyboard shortcuts and UI interactions |
|
src/KeyboardShortcut.ts src/Eagle.ts src/ParameterTable.ts |
Refactored and updated CSS styles |
|
static/base.css static/tables.css |
Updated file structure and organization |
|
templates/base.html src/main.ts src/Modals.ts |
Summary by Sourcery
Refactor the window management system to include a new bottom window, enhancing the UI's flexibility and functionality. Update the UI elements and tests to align with the new window structure and naming conventions.
New Features:
Enhancements:
Tests: