<div dir="ltr">+1 for me!<div>Anna</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 14, 2024 at 12:29 PM Veronica Andreo via grass-psc <<a href="mailto:grass-psc@lists.osgeo.org">grass-psc@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear PSC,<br><br>Linda has just completed her student grant project and submitted the final report (forwarded below). <div><br></div><div>I hereby propose to approve her final report and issue the second payment. <div><br></div><div>Big thanks to Linda and her mentors for their work and commitment! Thanks as well to those testing and providing feedback! Very nice work Linda!! Congratulations!<br><br>I start with my +1<br><br>Vero<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>De: <strong class="gmail_sendername" dir="auto">Linda Karlovská via grass-dev</strong> <span dir="auto"><<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a>></span><br>Date: lun, 13 may 2024 a las 14:15<br>Subject: [GRASS-dev] Final reports for Mini project 2024: Easy command history navigation through the History browser panel<br>To: GRASS developers list <<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a>>, <<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>><br></div><br><div>Hello everyone,<p style="margin-bottom:0pt;line-height:normal">I
am sending the short report for weeks 7-9 and the final report of the Mini Project devoted to improving GUI, particularly the History browser pane. The goal of this project was to provide a user with a better command history navigation and I think it was quite successful :-), you can have a look at screenshots here: [1]<br></p><div><br></div><div>
<p>
<strong>What did I complete during weeks 7-9?</strong><br>
I completed the PR <a href="https://github.com/OSGeo/grass/pull/3421" target="_blank"><span></span></a>[2]
implementing time node branching in the history tree. Moreover, I also added a button to
update the current region based on the region used during command
execution (PR <a href="https://github.com/OSGeo/grass/pull/3679" target="_blank"><span></span></a>[3]).
Besides that, I introduced icons representing command status (success,
failed, running, aborted, unknown) and added them in front of history
entries (PR <a href="https://github.com/OSGeo/grass/pull/3679" target="_blank"><span></span></a>[4]).</p><p>Thanks Anna Petrasova for the valuable comments in the reviews!</p><p><b><span style="font-size:20px">Final report</span></b><br>
<b>Abstract</b></p><p>This project builds upon the work initiated during the OSGeo sprint in
Prague in the summer of 2023, which focused on creating a new History
Browser panel to facilitate access to the command history. Although the new
History Browser panel became available in the GRASS development version
starting December 8th (refer to the PR [5]),
initially it provided only a basic, single-level display of commands
from the history log, with the capability to relaunch commands but
lacking detailed command information. This project aims to enhance the
basic functionality by incorporating several improvements.</p>
<p>
<strong>The state of the art BEFORE the start of the Mini project:</strong><br>
The History Browser panel displayed a simple tree of command entries
loaded from a plain-text history log. It had only the capability to
relaunch commands.</p>
<p>
<strong>The state of the art AFTER Mini project:</strong><br>
Implemented changes include:
</p>
<ul><li>Transitioning the plain text format of the history log
(.wxgui_history) to JSON format, allowing more information to be stored
for each executed command. Newly, the log stores information about the
timestamp, command status, runtime duration, region
settings, and mask usage.
</li></ul><ul><li>Instead of implementing the initially planned context option "Show Info"
and displaying a small dialog with process information, the history
pane was redesigned into two sections. The upper part features the
history tree, while the lower part includes two static boxes presenting
information stored in the history log. The first box contains general
details, and the second box displays the computational region during
command execution.
</li></ul><ul><li>Adding a symbol in front of each command in the tree based on the command's status.
</li></ul><ul><li>Branching the tree based on the date of command
execution - tree is branched into days and sorted from the Today node to
older nodes. Command nodes are sorted from the oldest to the newest.
</li></ul><p>
The task of filtering commands based on status was not addressed during the project due to higher-priority issues that emerged:
</p>
<ul><li>Adding the "Update current region" button, which dynamically
updates the region based on the executed command and its information
stored in the JSON-formatted history log.
</li><li>Introducing a new Delete option in the command tree
</li><li>Rearranging the Export History button
</li></ul><p>
<strong>Next Steps:</strong><br>
Possible improvements for the History browser pane:
</p>
<ul><li>Fixing of command status for nonsense entries (already noted here: [6]):
</li><li>Sorting the commands in the history tree from the newest to oldest (seems more logical)</li><li>Implementing efficient refresh methods (currently all nodes are refreshed when adding
a command)
</li><li>Showing the complete error text if a command fails. (Now there is a “failed” status written but no clue what actually happened).
</li><li>Adding the new combo box restricting the filtering based on the command status
</li><li>Adding the Copy context menu option to command nodes
</li></ul><p></p></div><p>Permanent links to GitHub PRs and screenshots of the improved History Browser pane can be found at [7] and [1].</p><p><br></p><p>[1] <a href="https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/EasyCommandHistoryNavigation#ScreenshotsofHistoryBrowserimprovements" target="_blank">https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/EasyCommandHistoryNavigation#ScreenshotsofHistoryBrowserimprovements</a></p><p>[2] <a href="https://github.com/OSGeo/grass/pull/3622" target="_blank"><span>https://github.com/OSGeo/grass/pull/3</span>622</a></p><p>[3] <a href="https://github.com/OSGeo/grass/pull/3421" target="_blank"><span>https://github.com/OSGeo/grass/pull/3</span>421</a></p><p>[4] <a href="https://github.com/OSGeo/grass/pull/3679" target="_blank"><span>https://github.com/OSGeo/grass/pull/3679</span></a></p><p>[5] <a href="https://github.com/OSGeo/grass/pull/3234https:/github.com/OSGeo/grass/pull/3234" target="_blank">https://github.com/OSGeo/grass/pull/3234</a> </p><p>[6] <a href="https://github.com/OSGeo/grass/issues/3698" target="_blank">https://github.com/OSGeo/grass/issues/3698</a></p><p>[7] <a href="https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/EasyCommandHistoryNavigation#FinalReport" target="_blank"><span>https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/</span>EasyCommandHistoryNavigation<span>#FinalReport</span></a></p><p>Have a nice week.</p>Linda</div>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font color="#888888">Dra. Verónica Andreo<br>Investigadora Adjunta de CONICET<br></font><div><font color="#888888">Instituto Gulich (CONAE - UNC)<br></font></div><div><font color="#888888">Centro Espacial Te</font><font color="#888888"><font color="#888888">ó</font>filo Tabanera (CETT)</font><br></div><font color="#888888">Falda del Cañete - Córdoba, Argentina<br></font><div><font color="#888888">+54 3547 400000 int. 1153</font></div><div><font color="#888888"><a href="https://veroandreo.gitlab.io/" target="_blank">https://veroandreo.gitlab.io/</a><br></font></div></div></div></div></div></div></div>
_______________________________________________<br>
grass-psc mailing list<br>
<a href="mailto:grass-psc@lists.osgeo.org" target="_blank">grass-psc@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-psc" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-psc</a><br>
</blockquote></div>