I was thinking about how I usually work with a bug tracker and I realized that I often keep several bugs open in a browser tab to keep in my mind or to have a quick glance without having to loop up for them.
This behavior is difficult to replicate with the terminal UI. Having a query for the bug you are assigned to come close but it's not the same thing.
My idea is to have the ability to favorite arbitrary bug and have a query to select the marked bugs. These metadata would not be persisted in the bug state but only locally.
Does that ring a bell for someone else ?
Michael Muré (MichaelMure)
added label
RFC
Michael Muré (MichaelMure) commented
The more I think about this, the more it sounds like a good idea. 10/10 will implement.
Michael Muré (MichaelMure)
added label
Easy pick
Michael Muré (MichaelMure) commented
Required for this is (each are relatively easy and short scoped):
in cache.RepoCache, add code to store and load a list of favorite bugs to/from a file on disk. Mark cache.BugExcerpt accordingly when they are loaded
in the termui, in the list, display the favorites bugs with a different color
in the termui, sort the bug list to have the favorites bugs first
in the termui, add a keybinging to toggle the favorite status of a bug, connect that to the cache to update the file on disk
add the "favorite" field in the graphql schema
add a new filter in the query language (see the cache package).