nom icon indicating copy to clipboard operation
nom copied to clipboard

Tags or categories to organize feeds

Open devgioele opened this issue 5 months ago • 6 comments

As mentioned in #34, there is a need for feeds to be organized by tags.

I have many feeds on different topics and I do not remember the exact name of every feed. If the config allowed the listing of multiple tags and the filtering took those into account, the searching would be more efficient.

Also the navigation would be aided if the tags would be treated like directories where the user has to enter to see the feeds.

devgioele avatar Jul 29 '25 15:07 devgioele

I was thinking about this while I was working on #123

After I push up that PR, can I take this one @guyfedwards?

GV14982 avatar Oct 11 '25 04:10 GV14982

Yea of course, thanks @GV14982. Might be worth laying out your thoughts here before piling into it 👌

guyfedwards avatar Oct 11 '25 08:10 guyfedwards

To add to this just thinking about it, I think there is two parts to this:

  1. Adding tags to config and allowing filtering/searching by tag
  2. Adding an alternative list view where you just see tags and then selecting a tag takes you into a pre-filtered list of articles for the selected tag.

1 is pretty straightforward, 2 might require some discussion as to the best UI/UX for this and how we want to structure it

guyfedwards avatar Oct 11 '25 09:10 guyfedwards

@guyfedwards yeah I think this makes sense. Should we split into 2 different PRs? We would also need to unflatten the current import logic (Right now it just skips category/folder and recursively gets outlines).

To clarify 1: would we also want like a modal or popup for adding a tag to a feed? And in that same view allow for creating a new tag to add to a field?

GV14982 avatar Oct 12 '25 03:10 GV14982

Hmm. I wonder if first pass we can purely have tags as a config defined thing that will be parsed on load of the config and kept in memory instead of having to manage them as an entity in the DB. There are pros/cons to each approach but keeping it simple initially might be best?

- url: https://dropbox.tech/feed
  name: dropbox
  tags: tech, engineering

Then adding a tags search to https://github.com/guyfedwards/nom/blob/master/internal/commands/filter.go to allow searching with t: tech or tag:tech.

Finally a tag search view which might be good as just the list of tags. For example you are on the 'articleList' view, press t (this aligns with newsboat keybind which is a good start) and the list becomes 'tagList' view with the usual navigation keybinds, and then selecting one would tag you to the article list with only articles from feeds matching those tags.

What are your thoughts on this? Does that sound logical 🤔

guyfedwards avatar Oct 12 '25 13:10 guyfedwards

Yeah I think that could work pretty well! It would keep things pretty simple for now and can be iterated on later. Feel free to assign me this issue and I'll work on it this week.

GV14982 avatar Oct 12 '25 21:10 GV14982