-
Notifications
You must be signed in to change notification settings - Fork 21
Multiple Gallery Filters #178
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
Conversation
This pull request is being automatically built with GitHub Actions and Netlify. To see the status of your deployment, click below. 🔍 Git commit SHA: 73d86c6 |
Just popping in to say, "Thanks, @jukent!" |
Of course! Might have to pick your brain later. :) |
Step 2 - Initial JS |
@jukent: Take a look at the three commits I just made, one to This behavior is not exactly what we want, though. In fact, I think I just realized that it is wrong in some ways. For example, imagine you have 2 visible cards with the following tags:
With this implementation, if you "click" tag3, then card2 will be hidden, but card1 will still be visible. Then, if you click tag1, then card1 will be hidden and card2 will be made visible! That's not what we want. And it's result of toggling the state of the cards as hidden or visible. So, what we need to do is provide a way of selecting and de-selecting tags to display. And I think we need to not use the toggling behavior, but I'm not sure how better to do this. |
Hmm that is interesting. We may be able to manipulate the toggling. I'll look into other avenues for this. |
for more information, see https://pre-commit.ci
…io into mlt-gal-flt
for more information, see https://pre-commit.ci
…io into mlt-gal-flt
for more information, see https://pre-commit.ci
…io into mlt-gal-flt
@ProjectPythia/infrastructure: This PR is failing to build, and the failure says that even though This failure is happening on #151, too. |
@ProjectPythia/infrastructure: This error ( |
Ok. I believe the problem is coming from the latest release of |
@brian-rose @andersy005: This is ready for review, now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm reviewing only the functionality because I know nothing about javascript, but I love this! I played around with various checkbox combinations and didn't find any glitches. This is just what I was envisioning when I originally proposed #125.
Great work @jukent and @kmpaul ! This is critical infrastructure.
Closes #125
Step 1 - Add a class associated with each tag to every card