Yes but you need to consider the added complexity for a marginal use case. The UI needs to be clean and simple and everything not absolutely required or not used often should be moved outside of the main view for simplicity.
I am convinced that the use case you mention is marginal in practice, which means that in 90%+ of cases the user will be connected to a single backend. And even if a user has N connected backends, he/sheâll not need to switch all the time.
This is why to me, it doesnât make sense to have this visible directly on the main UI of Cristal. I could see this being inside the User menu for example (as itâs user-specific parameter), or somewhere else inside an existing menu.
If this is the use case then switching is possibly not the best solution, it would be nicer to view all your knowledge inside Cristal at once, and not just one backend at a time. Youâd also need to be able to search across backends ideally.
Note that with the current direction, this could be a bit strange for the users, since the Cristal UI is driven by the capability of the back end. Thus it would mean that in the global navigation tree (that would include the roots from all the connected backends), when you click on a given page, youâd get a different UI and features than when you click on another one. I wonder how itâd feel to users.
Also note that combining all the backends in the navigation tree is something interesting and Iâm fully agreeing with it. But this wouldnât need any change in the UI (no need for a visible switch on all pages). Same for linking between backends or for searching across backends.
To sum up:
- I agree that we could add the requirement of having all backends connected at once. I donât think it should change the current UI though. Could be interesting for Thiago to check this out.
- I agree that we also need to use case of switching backends, but to me it would be ideal if this was put inside an existing menu entry somewhere (and not introduce a new UI option on all pages as it was suggested next to the Logo).
<offtopic>
@tkrieck Just thought about scalable usage of the navigation tree. AFAIK, right now in the UI proposals thereâs no way to filter the tree by typing some letters, rights? I think we need to add this use case since there could well be a lot of pages in the backend (and even more if we combine backends), and if we could offer something right into the nav tree, it would feel better than forcing the users to navigate to the Page Index. However, it would need to not take space and make the UI more complex somehow.
</offtopic>
Thanks
PS: After writing this long answer and thinking more about the topic, I realize that weâre almost aligned. The only doubt is whether we need the arrow next to the Logo or if we put the switch somewhere else. I have a preference for somewhere else (in the user menu for example). Also, I used to say to put it in the Admin UI but I now see that itâs a user feature and not an admin one.