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

/Plugins: Refactor (noscript, less pop-in, etc) #132

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gonX
Copy link
Member

@gonX gonX commented Dec 7, 2023

This hides the search boxes for noscript users as they only have a function with JavaScript. Additionally, we inform the user when JavaScript is disabled.

Technically fixes #91 but I'm not sure if this is the desired fix (flashing the list in from nothing instead of cards disappearing after sort)

Here's what it looks like with Javascript disabled on this page:
image

@gonX gonX added bug Something isn't working enhancement New feature or request styling Affects CSS or layouts labels Dec 7, 2023
@gonX gonX marked this pull request as draft December 7, 2023 13:21
@gonX gonX changed the title /Plugins: Add noscript support, and reduce jarringness of plugins' JS sort /Plugins: Refactor (noscript, less pop-in, etc) Dec 7, 2023
@gonX
Copy link
Member Author

gonX commented Dec 7, 2023

Marking as draft because I have some better ideas to fix this, but it would require porting the current Javascript filtering logic over to our Liquid templates instead

@gonX
Copy link
Member Author

gonX commented Mar 11, 2024

Worth moving over Bootstrap's placeholders instead.

At a quick glance, it seems like they can also be used in a way that is noscript friendly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request styling Affects CSS or layouts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugins page shows all plugins for a brief moment before filter applies on page load
1 participant