Ecdar / Ecdar/Ecdar-GUI

[Feature] Trace Log Sorting

Open
#162 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Java
Stars
3
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### Description
The current trace log is sorted as a stack with the current state at the top. However, this is opposite to how UPPAAL visualizes it. Due to this, it would be nice to allow the user to change the sorting direction in the GUI.

I personally suggest placing a sort icon next to the `restart simulation` icon, as seen in the image below. Using the icon from the image or a standard sort icon is up to the developer. (Don't hesitate to get in touch with me for the used SVG file)
![trace_log_sort](https://github.com/Ecdar/Ecdar-GUI/assets/42961494/4a0126f4-8db2-4fa7-b062-bc31ffd7bddb)

The logic can be implemented by modifying the `TracePaneController`.

### Reason For Request
During a meeting, a majority of the development team (of spring 2023) agreed that it would be best to have the current state at the top of the list, to avoid scrolling to reach more current states. Due to the likeliness of users being somewhat experienced with UPPAAL, sorting the log in the 'UPPAAL' way would be a nice feature.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.