Notify about error/warnings #6#2727
Conversation
Signed-off-by: Miłosz Malczak <milosz.malczak@gmail.com>
|
Tab title disappears due to the
This seems to share very similar functionality to #2728, and therefore some of the same flaws. Instead of changing the color of the tab, I would make the case for a status bar or other sensible ways to notify the user. This would also allow the number of errors/log messages to be displayed. Would also address #2728. |
|
A status bar would indeed be interesting and maybe should be broken out into an issue to discuss specifics (e.g. what else could we put there) and hammer out the design. |
|
I would focus on the other PRs for now. |

ARTIQ Pull Request
Description of Changes
Change the 'Log' tab color to yellow to notify about new warning and to red for errors and criticals.
The change is a hack.
I did not find any direct way to change the tab background color. I did not manage to make it work with stylesheets.
I imagine that there is some way to do it and would be grateful for some hint.
However, to make it work, I replaced the name of the tab with QLabel.
The behavior is ok, but it's not clean solution.
Type of Changes
Steps (Choose relevant, delete irrelevant before submitting)
All Pull Requests
git commit --signoff, see copyright).Code Changes
flake8to check code style (follow PEP-8 style).flake8has issues with parsing Migen/gateware code, ignore as necessary.Licensing
See copyright & licensing for more info.
ARTIQ files that do not contain a license header are copyrighted by M-Labs Limited and are licensed under LGPLv3+.