fix: bell icon for events with reminders - #8853
Conversation
|
Hi @madbob Thanks for the PR. We'll have to test all these changes. |
SebastianKrupinski
left a comment
There was a problem hiding this comment.
Hi,
The changes look good, just some minor things to address.
|
Yes, of course. Most of changes occurred in the unit tests (meant to test themselves :-P ), other changes are mostly reorganization of existing code. A note about the hard coded SVG paths: I've modified also the existing ones as them were designed for a different SVG viewport, and I've preferred to normalize all of them. The source of those SVG was not specified, I bet those were just different variants of those already in use from Material Design; I've specified in comments the file from which I got them, for future reference. |
Yes but unit test don't test visual changes |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Signed-off-by: Roberto Guido <info@madbob.org>
61c1ce0 to
8827c44
Compare
|
/backport to stable6.6 |
|
/backport to stable6.5 |
Added the bell icon to events having reminders.
I've found that the
event.extendedProps.darkTextproperty was calculated only to determine the color of that (broken and missing) icon, that thehexToRGB()function only existed to calculate that value, and thatgenerateTextColorForHex()(the only one callinghexToRGB()) was never used. So I preferred to enforce fill color of SVG icons tovar(--color-main-text)(the same color adopted for text) and made the bold move to remove all that redundant code (and related tests).Fixes #4553