DYN-5190 mark all as read#13260
Conversation
|
Hi @filipeotero From your gif, the Notification fly out height is longer than the panel itself with quite a gap, can you reduce the height to match the size? |
QilongTang
left a comment
There was a problem hiding this comment.
Some comments then LGTM
|
Currently seems no time diff is considered, but can we add a hard limit? Just in case, that setting was wiped out in certain cases.. @Amoursol What would be an idea threshold? 6 months? 3 months? |
Hi Aaron, I noticed that this extra space in the bottom comes from the high component. The panel is calculating that space but I didn't update the number after inserting the footer. I will update the code and create a PR that will fix it. |
|
@filipeotero Another thing I just noticed is, when Dynamo is maximized, the notification bell is placed close to the right corner and the notification panel anchor is off by a distance. Do you think you can look into it? or should we create a new task for it? |
QilongTang
left a comment
There was a problem hiding this comment.
LGTM. The only one last question is time limit threshold which can be another task or PR.
I think me and @RobertGlobant20 looked at that blue hover over background but we did not figure out how to get rid of it. @RobertGlobant20 any insight? |
Hi @reddyashish! I added some space in the notifications button and an offset at the pointer to fit on the screen: |
PR was created to fix the panel height |
6 months is ideal given the slow news cadence, but 3 months is OK too if you need to. |
Ideally we don't have the blue hover color, as this goes against the rest of our patterns. We should instead have a blue icon on hover. |
|
There is an regression from this PR, DynamoCoreWpfTests.DynamoViewTests.OpeningWorkspaceWithTrustWarning can you confirm if this is real? |
@filipeotero This should be a quick one, when Dynamo grabs notifications, can we ignore notifications from 6 month ago? |
The tests are passing locally: |
| jsonStringFile = reader.ReadToEnd(); | ||
| notificationsModel = JsonConvert.DeserializeObject<NotificationsModel>(jsonStringFile); | ||
|
|
||
| //We are adding a limit of months to grab the notifications |
|
@filipeotero Would you cherry-pick this PR? |
* mark all as read function * mark all as read functionallity * remove local settings * Addressing comments * updating the pointer position and add a margin to the notifcations button * Limit of months to filter the notifications
* mark all as read function * mark all as read functionallity * remove local settings * Addressing comments * updating the pointer position and add a margin to the notifcations button * Limit of months to filter the notifications
* mark all as read function * mark all as read functionallity * remove local settings * Addressing comments * updating the pointer position and add a margin to the notifcations button * Limit of months to filter the notifications


Purpose
This PR contains the functionality of marking all notifications as read.
This PR depends on the following implementation: DynamoDS/NotificationCenter#26
Declarations
Check these if you believe they are true
*.resxfilesReviewers
@QilongTang @reddyashish @zeusongit
FYIs
@RobertGlobant20 @jesusalvino