DependencyTrack / hyades

Incubating project for decoupling responsibilities from Dependency-Track's monolithic API server into separate, scalable services.
https://dependencytrack.github.io/hyades/latest
Apache License 2.0
59 stars 18 forks source link

Adding Teams column to Project Dashboard UI #1435

Closed jmayer-lm closed 3 weeks ago

jmayer-lm commented 1 month ago

Current Behavior

Hello, our team at Lockheed Martin has deployed and been playing with Hyades for a little bit (very cool product!) and we wanted to start a discussion on contributing back some Project Dashboard UI updates. Before opening a PR on your team, we wanted to make sure we weren't conflicting any of your future work / roadmap you all had in mind, in regards to the Project Dashboard UI.

Proposed Behavior

By adding a “Teams” Column filter, users will be able add/remove Teams column from their project dashboard via the column drop-down menu and view every project associated with a specific team, via clicking the team badge. Contributions were made to both the Frontend and Api Server. We modeled the behavior after the "Tags" behavior. "Teams" column is only populated for projects Portfolio Access Control is enabled/used. This enhancement has been implemented and tested. Thanks for taking the time to consider this and look forward to discussing!

Checklist

nscuro commented 1 month ago

Hey @jmayer-lm, this sounds interesting for sure!

I'm wondering how this "scales" though as more and more teams are granted access to a project. Especially when team names are long-ish, I'd imagine the column would become very crowded. Can you share examples / screenshots of how this would look like?

nscuro commented 1 month ago

In any case, please feel free to just raise any PRs you have. There's no conflict with any planned feature that I can think of.

jmayer-lm commented 1 month ago

Hey @nscuro, great! I will be raising them here shortly! As requested, I have provided the screenshots of a project that can be accessed by five teams. Initially, shows two teams, and then can be expanded to show the rest. TeamsColumnColapsed TeamsColumnExpanded