[GRASS-git] [OSGeo/grass] 4d2dac: wxGUI/history: Create panel displaying info about ...

Linda Karlovska noreply at github.com
Sun Feb 18 01:24:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 4d2dac47893779757585605b70903dc2277ba23c
      https://github.com/OSGeo/grass/commit/4d2dac47893779757585605b70903dc2277ba23c
  Author: Linda Karlovska <49241681+lindakladivova at users.noreply.github.com>
  Date:   2024-02-18 (Sun, 18 Feb 2024)

  Changed paths:
    M gui/wxpython/core/gconsole.py
    M gui/wxpython/core/giface.py
    M gui/wxpython/gui_core/goutput.py
    M gui/wxpython/gui_core/prompt.py
    M gui/wxpython/history/browser.py
    M gui/wxpython/history/tree.py
    M gui/wxpython/lmgr/giface.py
    M python/grass/grassdb/history.py

  Log Message:
  -----------
  wxGUI/history: Create panel displaying info about command (#3365)

The history log .wxgui_history is newly stored as a JSON file with command and command_info keys. When a new command is launched, it is stored as a new entry to a JSON file. The old plain text is preserved but not further used (we have two read methods but only one write method).

The command info contains the following:
runtime, timestamp, status (success, failed, aborted), if 2D/3D is set, and region settings.

The History browser is newly the object of the Splitter window. At the upper part, there is a tree catalog with history commands, and at the bottom part, there is a panel displaying the command info.


---------

Co-authored-by: lindakladivova <l.kladivova at seznam.cz>
Co-authored-by: Anna Petrasova <kratochanna at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list