in Karma V109 we are seeing some weird behaviour with the summary annotations in groups.
We have the following set so the summary annotation should always be visible:
annotations:
default:
hidden: false
visible:
- summary
order:
- summary
but weve noticed that on grouped
alerts, if the summary annotation is unique it shows up
, but if its the same for all group members
it moves to the bottom of the card and you can only see it by clicking the plus
. This is unexpected behaviour as we have the app configured to always show summary annotation.
example:
There is no summary annotation displayed.
but if we click on the plus:
The summary annotation appears.
This is unexpected behaviour as we have the app configured to always show summary annotation.
From https://github.com/prymitive/karma#alert-groups
Labels and annotations that are shared between all alerts are moved to the footer.
@prymitive is there a config option to always show the footer?
This seems unexpected, as its set to always show summary but doesnt always show the summary(as its hidden on the footer).
What im saying is that with:
annotations:
default:
hidden: false
visible:
- summary
order:
- summary
The summary isnt actually shown on the alert until you expand the alert, the way id expect it to work would be to see the summary without needding to expand the alert.
My assumption would be that:
visible:
- summary
Would have every alert show the summary by default without needed to expand it.
I can't reproduce that
I've updated https://github.com/prymitive/karma/blob/main/demo/karma.yaml#L37 to include
annotations:
default:
hidden: false
visible:
- summary
order:
- summary
and after running make run-demo
I see this:
Which seems correct.
And when I update the config to hide by default:
annotations:
default:
hidden: true
visible:
- summary
order:
- summary
I'm seeing this:
Which also seems fine.
Saw the new version get published, grabbed it and can confirm that my issue is resovled, Once again thank you very much @prymitive
Owner Name | prymitive |
Repo Name | karma |
Full Name | prymitive/karma |
Language | TypeScript |
Created Date | 2018-09-09 |
Updated Date | 2023-03-17 |
Star Count | 1921 |
Watcher Count | 33 |
Fork Count | 166 |
Issue Count | 2 |
Issue Title | Created Date | Updated Date |
---|