the timestamp variable is set once at program startup and is not updated when the fzf hotkey is called to reload the input list
to reproduce
open a list of notifications
gh notify -an 20
press the ctrl-r hotkey to mark all visible notifications as read and leave the list open. Do NOT close the list yet
create a new notification, e.g. a workflow has failed
Go back to your terminal and reload the list ctrl-r, the new notification will appear, but the magenta dot next to it will never disappear because the timestamp is out of date
you have to exit, restart and press ctrl-r to make it mark the notification as read
Description
timestamp
variable is set once at program startup and is not updated when thefzf
hotkey is called to reload the input listto reproduce
ctrl-r
hotkey to mark all visible notifications as read and leave the list open. Do NOT close the list yetctrl-r
, the new notification will appear, but the magenta dot next to it will never disappear because the timestamp is out of datectrl-r
to make it mark the notification as readhttps://github.com/meiji163/gh-notify/assets/92653266/8007d522-635a-406a-89d9-d8e70cee21a8