As a Virtual Y Editor
I want to be protected from deleting my entire application container
So that I don't break my site.
Drupal's page tabs (View, Edit, Delete...) show up on all nodes, but when inside of a single-page app these links can be confusing. A user may click on it wanting to edit a specific content item, but instead be directed to edit the main VY Landing Page container, which they generally should not be editing.
A few paths come to mind:
Complexity - trivial: Hide the Tabs block on paths we expect (virtual-ymca, virtual-y-login)
Complexity - medium : Hide the Tabs block on pages that have the "Virtual Y Content" or "Virtual Y Login" paragraph
Complexity - high: somehow rewrite the tabs to be able to edit the content inside the app
Drupal's page tabs (View, Edit, Delete...) show up on all nodes, but when inside of a single-page app these links can be confusing. A user may click on it wanting to edit a specific content item, but instead be directed to edit the main VY Landing Page container, which they generally should not be editing.
A few paths come to mind:
Tabs
block on paths we expect (virtual-ymca
,virtual-y-login
)Tabs
block on pages that have the "Virtual Y Content" or "Virtual Y Login" paragraph