Pending Actions #601
Labels
No labels
Blocked
Bug
Documentation
Duplicate
Enhancement
Good first issue
Help wanted
Idea
In progress
Invalid
Major feature set
Packaging
Question
Soon
UI/UX
Upstream
You're dreamin'
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nostr/gossip#601
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A lot of the time, there is some pending action that a user should be taking, but there is only vague notification (or no notification) and it is easy for users to not realize.
So I propose a pending-actions menu item with a count showing how many are pending. Here are some:
Ok there is a file
gossip-lib/src/pending.rsthat has most of the code.GLOBALS.pendingis aVec<Pending>and a magic separate thread keeps it updated.GLOBALS.pending_hash()gives you au64hash of the contents of theGLOBALS.pending. So the UI can callGLOBALS.pending_hash()and compare it to a local variable in App to see if it has changed.If it has changed you can highlight the pending flag icon.
When they click the icon, each of the Pending entries should be listed, as a link to the related page. Since
Pendingis in the lib I can't tell you which page it relates to, but you can probably figure them out.I think this is done enough. We can open a new one if we need more for 0.11.