feat: add notifications#2681
Conversation
57335c5 to
bd02b34
Compare
bd02b34 to
453ec95
Compare
blizzz
left a comment
There was a problem hiding this comment.
Thanks @luka-nextcloud! I did only little smoke testing, but that was already working. I left some comments around here in the code, the ones marked with 💡 are not blocking, but for consideration.
What I also did not check yet, question back for you, do you think this scales with a bigger number of users, or users in a group?
My impression is that in some places there is code that is quite similar, an almost-duplication. There might be potential to reduce this, but do not consider this critical.
|
P.S.: what I forgot to missed to add: 💄 better to not include the row ID in the text of the notification, it does not really help people and looks technical. Just link |
enjeck
left a comment
There was a problem hiding this comment.
not sure if should be done in another PR, but could we have notifications for asynchronous import? Right now, users never know exactly when import is done and it would be great
453ec95 to
606faaa
Compare
I think the asynchronous import notification should be another PR since this PR is already big enough. |
606faaa to
91c815b
Compare
blizzz
left a comment
There was a problem hiding this comment.
When both content notifications and assignment notifications are enabled, it leads to two notifications. Imo this is not necessary and the assigned one is already sufficient. Can we only emit this one, if otherwise two would be send?
And one thing design-wise. The settings are not so easy to find, and table managers do not know that they are not global settings:
I think we should emit 2 notifications since they are 2 separate configs. BTW, a row changed event might include multiple changed fields.
We should wait for designer advice from @marcoambrosini |
Signed-off-by: Luka Trovic <luka@nextcloud.com>
91c815b to
6f8c080
Compare
Resolves: #1460
Demo:
demo.webm