Version 4 (modified by 10 months ago) ( diff ) | ,
---|
Mini project 2024: Easy command history navigation through the History browser panel
Title: | Easy command history navigation through the History browser panel |
Student Name: | Linda Karlovska |
Organization: | OSGeo - Open Source Geospatial Foundation |
Mentor Name: | Anna Petrasova, Martin Landa |
GitHub Repository: | view repository |
Budget: | 1000 € (via GRASS GIS Student Grants) |
Abstract
This project builds upon the work initiated during the OSGeo sprint in Prague in the summer of 2023 which involved creating a new History Browser panel facilitating the access to command history. Starting December 8th, the new History Browser panel is already available in the GRASS development version (see the PR https://github.com/OSGeo/grass/pull/3234). However, it offers only a simple single-level display of commands from the history log and the option for launching module dialogs pre-filled based on the command history.
Goal
The core part of the work will be devoted to expanding the basic functionality of the History Browser by providing the following enhancements:
- Changing the plain text format of the history log (.wxgui_history) to JSON, allowing more information to be stored for each executed command, such as execution time, runtime duration, status code, region settings, if a mask was set, etc.
- Creating a context menu with options for "Run Command" and "Show Info." "Show Info" will display a small dialog about the respective process stored in the JSON file.
- Adding a symbol (green checkmark, yellow dot, or red cross) in front of each command in the tree based on the command's status value (completed, in progress, failed).
- Branching the tree based on the date of command execution (commands from a specific day could be rolled up).
- Filtering commands based on the status (completed, in process, failed)
Timeline
Time Period | Milestones | |
---|---|---|
Tasks | Status | |
January 8 - January 12 | Add pop-up command menu with an item for delete command from history + history tree refactoring |
|
January 15 - January 19 | History tree refactoring |
|
January 22 - January 26 | Changing the plain text format of the history log (.wxgui_history) to JSON and showing info about the command from history |
|
January 29 - February 2 | Changing the plain text format of the history log (.wxgui_history) to JSON and showing info about the command from history |
|
February 5 - February 9 | Showing info about the command from history within expanded command node |
|
February 12 - February 16 | Adding a symbol in front of each command in the tree based on the command's status (completed, in progress, failed, aborted) |
|
February 19 - February 23 | Branching the tree based on the date of command execution |
|
February 26 - March 1 | Filtering commands based on the status |
|
Attachments (7)
-
first_suggestion_info_dialog.jpg
(414.9 KB
) - added by 10 months ago.
The first suggestion of displayinf info in the separate Command Info dialog
-
final_info_panel.jpg
(206.4 KB
) - added by 10 months ago.
Command info panel
-
time_branching.jpg
(34.0 KB
) - added by 7 months ago.
Time branching in the History browser tree
-
setting_current_region.jpg
(32.6 KB
) - added by 7 months ago.
New button for setting of current region to the region used during command execution
-
region_match.png
(18.3 KB
) - added by 6 months ago.
Region matches
-
region_update.png
(26.0 KB
) - added by 6 months ago.
Region update in the case of different regions
-
history_tree.png
(51.4 KB
) - added by 6 months ago.
Time branching in the History browser tree and new status icons
Download all attachments as: .zip