jQuery support for the public catalog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
As discussed at the 2016 hack-a-way, we would like to provide some jQuery support in the public catalog, as long as we adhere to the following guidelines for jQuery usage:
- Users should be able to perform tasks without turning JavaScript on; it should just enhance the experience
- We should look to CSS or non-JS approaches first to implement functionality
- We should establish a high bar for adding jQuery UI modules to avoid proliferation
We already have some jQuery support in the web client. I talked to Bill Erickson about how we make this support available for the public catalog. We were thinking we would need to:
- move Gruntfile.js, bower.json and package.json out of the staff directory and into some other directory that can be used by both the staff client and the public catalog (I called it 'common' in my implementation)
- Update paths where necessary in Gruntfile.js
I worked on a branch at the hack-a-way that does the above. I'll dust it off this week and post what I have.
tags: | added: pullrequest |
Changed in evergreen: | |
milestone: | none → 3.0-alpha |
Changed in evergreen: | |
assignee: | nobody → Mike Rylander (mrylander) |
Changed in evergreen: | |
assignee: | Mike Rylander (mrylander) → Bill Erickson (berick) |
status: | New → Confirmed |
Changed in evergreen: | |
status: | Confirmed → Fix Committed |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Three months later, I've finally dusted off the branch I worked on at the hack-a-way. I have a working branch with my first attempt to move files out of the staff directory and into a common directory where files can be used by both the staff client and the public catalog.
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ kmlussier/ lp1642086- move-jquery
With this branch, I was able to build the web client, log in, and perform some basic transactions. I'm posting the branch to get more eyes on it.