Conversation
maan2003
left a comment
There was a problem hiding this comment.
It fixes the issue. But I have doubt about order of notifications.
Iets say a widget has notifications in order A B C . The widget doesn't handle A or C. When handling B, widget submits a notification B'.
The order for the parent will be A C B'.
But A B' C makes more sense to me.
|
hmm, thinking through the orderings: your idea makes sense if we knew that newly added notifications were always replacements for other notifications, but I'm not sure we do? If a widget submits two new notifications in response to one old one, should they both be inserted at the position of the old one? my gut feeling is that we shouldn't be relying on notification order; if two notifications cause interfering effects they should really be combined into a single notification? I think I've talked myself into the implementation that I did here; it feels just slightly simpler. 🤷 |
This was a small logic bug.
91758cd to
6fa6656
Compare
Yes I feel the same :)
To me |
I don't think the limitation against this made any sense.
6fa6656 to
907993b
Compare
oh right, totally, that's much better. Thanks! |
Two small fixes:
Notificationare now allowedcc @maan2003 does this fix that issue for you?