ExtensionEngine / tailor

Content authoring platform
MIT License
31 stars 10 forks source link

Move tree view to structure view #730

Closed MiroDojkic closed 3 years ago

MiroDojkic commented 3 years ago

This PR:

MiroDojkic commented 3 years ago

@underscope I've fixed cut/padding issue, but I left grey button as was before the discussion. Also, I didn't change the behavior when Outline nav link is clicked, so if the graph view was shown before leaving view, it'll be displayed again when the user returns.

Let me know if you'd like me to change any of that. 🙂

bubafinder commented 3 years ago

Don't see any problems in terms of functionality. Maybe to consider using the v-switch component for view toggling instead of using a button? https://vuetifyjs.com/en/components/switches/#switches

It would be a benefit in the case when a user from tree view goes into the activity page, and after returning back to the structure page, the view switch would still be active on the tree view, as the last selected user state.