Comments (4)
My biggest question/concern with infinite scroll, is what happens when a user skips to the bottom of the regulation through the navigation? Do all of the preceding sections load, or does the scroll work both ways? I also think we may run in to performance issues when a huge chunk of text is loaded, regardless of it having been done so dynamically or not.
That said, I really like the idea of being able to view the entire reg in one documents.
In terms of non-js users, is it safe to presume less-capable devices or slower connections? If so, I would say we need to create a paged experience, but I am admittedly unsure of the research on this.
from regulations-site.
I think we'd expect the scroll to work both ways. Performance issues could crop up, although we could potentially manage memory by discarding things we haven't needed in a while. I'm also not sure how much of an issue performance is going to be for most devices.
Regarding no-js, at the moment I'm thinking about the fuss e FSF is kicking up about regs.gov. But yes, it would also support older devices/browsers instead of trying to backfill the js support.
from regulations-site.
One issue I foresee with the infinite scroll is that we may load more content than the user wants to see. If a user gets to the bottom of the section they are looking at and the next section loads without their consent. Would that cause performance issues or make it easier for the user to get lost in the content?
from regulations-site.
I think I have a solution to this that will keep a smooth user experience and make it function more like a single document but without the performance issues we're all concerned about. Definitely something for my to-do list this sprint.
from regulations-site.
Related Issues (20)
- Bad SSL certificate HOT 1
- Can someone add me as contributor to this repo? HOT 3
- Update README to include front-end building instructions HOT 2
- Inter-Reg Cross Reference Linking HOT 5
- DOM not updated when manually copy and pasting reg urls with anchor tags
- Run JS unit tests in Travis HOT 2
- Add frontendbuild.sh script HOT 2
- Add a loading indicator for Section by Section analysis
- Load inline "Official Interpretations" via Ajax HOT 2
- jQuery not being loaded on the About page
- Possible problem with loading indicator on defined terms? HOT 2
- Print stylesheet for tables HOT 1
- Move static src files to a top level src directory
- Back navigation from footnotes is off by a few lines HOT 1
- Appendix markers
- Incorrect interp url in navbar on ajax nav
- Leave NoneType alone!
- JS Error: Navigation links HOT 1
- JS Error: Section title on scroll HOT 1
- CSS error: slide-down interps
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 regulations-site.