beszel icon indicating copy to clipboard operation
beszel copied to clipboard

[Feature] Add support for tagging systems

Open svenvg93 opened this issue 5 months ago • 15 comments

This PR introduces a comprehensive tagging for systems, giving users greater flexibility in how they organize and view their systems.

  • Add and manage tagsfor each system.
  • Filter systems based on their assigned tags throughout the dashboard.

Features

  • Tag Input: Users can add, remove, and reuse tags when creating or editing a system.
  • Tag Filtering: Filter systems by tags throughout the dashboard for better organization.
  • System Organization Page: A new centralized page to manage all tags

closes https://github.com/henrygd/beszel/issues/856
closes https://github.com/henrygd/beszel/issues/481
closes https://github.com/henrygd/beszel/issues/447
closes https://github.com/henrygd/beszel/issues/87 closes https://github.com/henrygd/beszel/issues/333 closes https://github.com/henrygd/beszel/issues/1055

svenvg93 avatar Jun 30 '25 20:06 svenvg93

Appreciate your work. I should have a beta release out in the next few days, then I'll follow up on open PRs.

There will probably be merge conflicts but don't worry about that for the time being.

henrygd avatar Jun 30 '25 22:06 henrygd

This is a fantastic addition, thank you @svenvg93 for taking the time to implement such a well-thought-out tagging and grouping system! I’ve been eagerly waiting for something like this, and the flexibility it brings to system organization is very exciting.

One quick question: after adding a tag or group, will there be an option to edit or remove them entirely from the system via the new centralized management page? That would be really helpful for long-term cleanup and organization. Or that can be done from PocketBase?

Looking forward to seeing this merged and released. Happy to help with testing or feedback if needed!

@henrygd Really need in need of this feature.

jmiaje avatar Jul 21 '25 18:07 jmiaje

One quick question: after adding a tag or group, will there be an option to edit or remove them entirely from the system via the new centralized management page? That would be really helpful for long-term cleanup and organization. Or that can be done from PocketBase?

Thanks for the feedback! Right now this is not possible, as the tags or groups only exists on the system information. If we want to achieve this we could make a collection to store the tags/groups and create a view to add/edit/delete them. I do like the idea, lets see what @henrygd thinks about it.

svenvg93 avatar Jul 22 '25 07:07 svenvg93

Additional food for thoughts as there will be more fields to the system dialog, maybe we could make a sheet, there is more space and looks cleaner

svenvg93 avatar Jul 25 '25 07:07 svenvg93

@jmiaje I added a tab for managing tags and group, to rename or delete them if needed.

svenvg93 avatar Aug 28 '25 12:08 svenvg93

@henrygd This one is up to date and ready when you are 😄

svenvg93 avatar Sep 05 '25 18:09 svenvg93

Sorry, I reorganized the project a bit to allow importing from github.com/henrygd/beszel and integrating with pkg.go.dev.

I used git mv so I was hoping all the renames would be automatically picked up. Looks like that's not the case, so don't worry about manually updating everything, I'll take care of this as I work through the PRs.

henrygd avatar Sep 07 '25 21:09 henrygd

Tagging and grouping are the 2 main features I've been hoping for! Looking forward to seeing this get out the door!

wilhelm-murdoch avatar Sep 15 '25 04:09 wilhelm-murdoch

@henrygd This one is update date as well. Would love to see see it, like the other up to date PRs, in an release soon :)

svenvg93 avatar Oct 08 '25 16:10 svenvg93

Hi, I didn't check the PRs before adding tags myself. I was about to create a PR, then I saw yours. Can you do me a favor and allow to select a color per tag in you implementation?

That was my implementation https://github.com/user-attachments/assets/dd109f8e-4b57-4955-a0bf-adb7d3ccd4fb

daniel-hiller avatar Nov 05 '25 11:11 daniel-hiller

Hi, I didn't check the PRs before adding tags myself. I was about to create a PR, then I saw yours. Can you do me a favor and allow to select a color per tag in you implementation?

That was my implementation https://github.com/user-attachments/assets/dd109f8e-4b57-4955-a0bf-adb7d3ccd4fb

Sure! Your implementation looks nice as well! Would you mind sharing a link to the branch/repro. I might borrow some ideas 😉

svenvg93 avatar Nov 05 '25 11:11 svenvg93

Thanks, yes sure here the link https://github.com/daniel-hiller/beszel

daniel-hiller avatar Nov 05 '25 11:11 daniel-hiller

@daniel-hiller Your version looks much better 😅 . Think it would be better and easier for @henrygd if you PR yours and I will close mine. You did an amazing job!

svenvg93 avatar Nov 05 '25 20:11 svenvg93

Any Updates when this will be merged?

crocofied avatar Nov 06 '25 14:11 crocofied