-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Feature Description
It would be very handy to show the status of the discussion tree in the winbar so that the user can have an idea when it might be necessary to refresh the discussions.
I imagine that the winbar would contain something like Updated: 8 minutes ago, etc. and when an update is in progress, the ... ago would be replaced by a simple animation. E.g., neotest by default cycles through these characters: { "/", "|", "\\", "-", "/", "|", "\\", "-" } when showing the progress of a test. This would replace the info message gitlab.nvim: Refreshing data... which is not that helpful since the user does not know when the refreshing has finished, as the message does not disappear automatically.
Apart from that, I think that the gitlab.utils.time_since function could be changed so that the minute would be the smallest unit of time that is distinguished, anything under a minute would be just something like Updated: moments ago, unless the winbar would be updated every second, which I don't think is a good idea.