Comments (7)
Good catch, the fix for the deletions should be in now.
from omeka-s-theme.
I removed some deprecated javascript that I think was tripping up the selected filters application. Could you see if the filters are working as they should now?
from omeka-s-theme.
So, this seems to be working properly for the Denominations, but not the States. The below screenshot is the result of me selecting a few states and applying those filters. Under "Counties", it displays a duplicate of the filtered denominations.
It looks like this when I first select the states, but the result is like the above screenshot once Apply filters is clicked.
Also, I'm noticing that when I refresh the page after removing filters and not selecting "Apply filters", the filters remain. I'm not sure if this is the behavior we want, but wanted to get your thoughts on this.
from omeka-s-theme.
Ah, I found a typo where the view is looking for the active county ids. Should be fixed!
The apply filters behavior is intended. Basically all additional changes to the dropdown need confirmation. The active filters being automatically populated are based off the URL. We could alert the user if they try to refresh without applying changes.
from omeka-s-theme.
Ah, this is working great! And yes, I think an alert asking the user if they truly want to refresh the page or not when they have active selected/deleted filters would help... Only because of the current behavior, because if the user deletes filters or refreshes the page when filters are already applied, the user may expect the filters to clear completely from refreshing.
These articles can help in this regard: http://web-accessibility.carnegiemuseums.org/code/alerts/ , https://www.w3.org/WAI/tutorials/forms/notifications/
So an alert dialog like this should suffice, but I defer to the rest of the team for appropriate wording in this case:
A filter was deleted/selected, but wasn't applied. Refreshing the page won't clear the filter. Do you still want to refresh?
buttons underneath: [Yes] [No]
from omeka-s-theme.
We actually had this functionality in the Omeka admin interface already, so I copied it over to the module handling these browse filters. The user should now get a browser alert asking if they want to leave the page with unsaved changes. (This language is provided by the browser.)
from omeka-s-theme.
This functionality works for selections, but not necessarily for deletion of a filter. Is it possible to implement this for deletions?
from omeka-s-theme.
Related Issues (20)
- Update listing of states/territories HOT 4
- Opening States/Denomination Families in Locations/Denominations Browse Pages HOT 1
- mobile - locations - accordion interactivity implementation HOT 1
- mobile - map - square icon HOT 4
- mobile - map - denominations dropdown HOT 1
- Home page on my Chrome (Windows) browser HOT 4
- mobile & main browser - page number skipping not working on denomination and location pages HOT 2
- mobile - locations - information populated below with no visual cue HOT 3
- javascript library security vulnerabilities
- homepage - totals box color HOT 2
- homepage - build queries link tab focus height too long HOT 1
- Thumbnail for denominations for schedules that have them
- Links not working on Denomination and Locations page HOT 2
- Titles on pages accessible from main Omeka page HOT 1
- locations and denominations main browser - pagination layout HOT 1
- names of files on item pages HOT 1
- map - accessible name of map HOT 6
- skip to main content - tab order HOT 4
- Update Text for Navigation and Call to Action Blocks HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omeka-s-theme.