gh-notify icon indicating copy to clipboard operation
gh-notify copied to clipboard

Flagging

Open agzam opened this issue 3 years ago • 2 comments

I often see a topic and have to set a reminder (somewhere else) to follow up on it. It would be nice if there was a way to "flag" or "star" selected topics. Or maybe a generic way of jumping to any topic in gh-notify UI. I imagine if one could store links (using orgit) and then if there's a function e.g., (gh-notify-open-topic-link), and when it's called, gh-notify UI would pop, and the cursor would jump to the topic.

agzam avatar Dec 10 '21 06:12 agzam

Would integrating gh-notify topics into the standard emacs bookmark system fit your use case, i.e. being able to bookmark a topic and revisiting it from the bookmarks ui? Or you're more wanting a gh-notify specific uri scheme and handler ala org links so you can incorporate forge topics into notes?

anticomputer avatar Dec 18 '21 04:12 anticomputer

To tell the truth, I've never used the standard Emacs bookmark system. In general, I don't do bookmarks, even in the browser. I use Org-mode (Org-Roam) to store all the things I need. But I implore you to choose a path that would be suitable for you personally or wherever your vision takes you. And since now I use this very nicely done package daily, I may attempt one day to build something that I imagine would be a problem of two parts:

  • Store a link to a topic. Probably this doesn't even have to be of a specialized org-mode link type. Just a regular GitHub URL
  • A function, that when given the said link/URL would open gh-notify's main buffer, navigate to the topic, and highlight it.

One may ask: "why not just store a link to a topic and open it in forge-topic-mode, isn't what you essentially be doing anyway?" Yes, and no. The reason why I think it still would be valuable - highlighting a specific GH notification in the context of other notifications is different than seeing a single forge topic in isolation. For someone who deals with not more than a handful of notifications daily, maybe this isn't an issue at all. In my current org, we have to skim through many dozens of such notifications every single day. I mentally remember them as if they were coming off a conveyor belt. I believe seeing a GH notification in the context is more suitable for my workflow.

But of course, it's only an idea. My hope for posting the issue is that maybe someone suggests even a better way.

agzam avatar Dec 18 '21 06:12 agzam