Use tree in Sidepanel
- Deciders: David Bauer, Julian Bäume
- Date: 2025-01-28
Status
Accepted
Context
When designing the UX of the Teams app, we wanted the list of Inboxes to be as simple as possible. Our assumption is, that only a plain list is needed to display everything on that Sidepanel. Obviously, there are many ways to implement such a list.
Possible solutions are:
- Simple unordered list
- List of navigational elements
- Tree structure
While naturally a tree structure seems the most complex solution, when only a list is needed, a list is just a special case of a tree. Since in App Suite itself, this part is implemented as a tree, at some point in time we would also need to build a tree component for the Sidepanel in the Mail app of App Suite.
The technical implementation actually has consequences on the accessibility of the app, that is why we wanted to put some more thought into this decision.
Decision
We will use a tree structure to implement the list of Inboxes in the Sidepanel of the Teams app. While it's a little more work, we would have to do this at some point in time anyway, so we can reuse the component in the Mail app of App Suite. It's also the much better choice in terms of a11y. We decided to have multiple trees in our case, separated by different headline (h2) elements. This allows to quickly navigate through the different types of elements we have in that navigational list. We have the "quick filter" like links on top, followed by a list of shared inboxes.
Consequences
We will use a tree component from radix-vue, which already has a11y features built in. As everything in this component is already well tested, implementation will not consume much time.

