Unloading a view

Created on 6 April 2023, over 1 year ago

Problem/Motivation

We've used this amazing module within a display of a taxonomy term tree to load a view that lists the nodes titles for each term. We use that without automatic execution, the node titles get only loaded when the user clicks on a term.

Now, the client wants to also hide those nodes again.

Proposed resolution

This could probably be done with CSS, but I'd prefer an approach where the target element gets cleaned so that next time the term gets clicked, a fresh version of the view will be loaded.

Feature request
Status

Active

Version

1.0

Component

Miscellaneous

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jurgenhaas
  • @jurgenhaas opened merge request.
  • Status changed to Needs review over 1 year ago
  • 🇩🇪Germany jurgenhaas Gottmadingen

    Have created an MR which provides a fairly simple implementation - maybe more as a showcase than anything else.

  • 🇨🇦Canada b_sharpe

    I can see the use-case, though I'm not convinced this is what everyone would want by default. I wonder if just another simple data attribute would be a better route. You could then use a trigger to load and another trigger to unload (or in your case just the same trigger with the added attribute which creates a toggle), making it even more flexible.

  • Status changed to Needs work about 1 month ago
Production build 0.71.5 2024