Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Case: Context Conditions met *and* negated #1524

Open
manez opened this issue May 29, 2020 · 0 comments
Open

Use Case: Context Conditions met *and* negated #1524

manez opened this issue May 29, 2020 · 0 comments
Labels
Type: use case proposes a new feature or function for the software using user-first language.

Comments

@manez
Copy link
Member

manez commented May 29, 2020

Title (Goal) Use Case: Context Conditions met and negated
Primary Actor repository admin
Scope site building
Level Medium
Story My example: I want to have a collection view that appears for collections with a certain taxonomy tag (let's say "Cats"), but have the regular collection view appear for everything else. I attempt this with a Context that places my Cat Collection View when the Condition "Node has term with URI" is met for the Cats tag, and the Cats Collection View appears as it should. but so does the usual view. I attempt to turn off the regular collection view when the Cats tag is present (a negated condition), but it is already using the "Node has term with URI" condition to show up when the Collection tag is present, and the condition can only be used once per Context.

Remarks:
I gather this can be addressed by updating plugins, but I don't really grok what all is involved. Adding this issue because I suspect being able to build more complex contexts that re0use conditions may be useful well beyond this one use case.

@manez manez added the use case label May 29, 2020
@kstapelfeldt kstapelfeldt added Type: use case proposes a new feature or function for the software using user-first language. and removed use case labels Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: use case proposes a new feature or function for the software using user-first language.
Projects
Development

No branches or pull requests

2 participants