digma-ai / digma-ui

MIT License
3 stars 1 forks source link

Allow child assets ungrouped view #838

Open doppleware opened 2 months ago

doppleware commented 2 months ago

See the 'Group By' combo box. 2 options: Category, Ungroup

For 'descendants' view it should be disabled and selected to group by 'Category' For children we allow the ungrouped view

Behavior: Group by should be hidden if the scope is Home Group by should be visible, disabled, and set to Category If the descendants filter is selected Group by should be visible, enabled, and set to Ungroup if the children filter is set because the filter (descendants/children) is not persisted in the navigation history, for now we should not persist the groupby combo as well.

API changes - in order to support the ungrouped view we should support showing children assets across different categories, it means that get assets API should be changed and the assets type should not be mandatory any more

depends on backend: https://github.com/digma-ai/digma-collector-backend/issues/2066

https://www.figma.com/file/MxA95ZHK5NqGX4ptFQljRJ/%E2%AD%90-Design-System-3.0?type=design&node-id=6939-110248&mode=design&t=epmSyfnjsG1UAosA-4