You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
Right now the official interpretations are part of the document, making some sections of the regs rather large. @cmc333333 suggested loading these via Ajax instead.
Before implementing, this requires some UX though. Should the content load before the interpretation "opens?" If so, should there be a visual indicator that the content is loading? If so, how do we work that into the current design of the inline interpretations?
Current Interaction
Interpretation content is hidden by default:
When a user clicks anywhere on the interpretation it expands, revealing the content:
The text was updated successfully, but these errors were encountered:
I think I'd have it change from the "show" state to the "hide" state, and slide down far enough to have space for a loading spinner.
The big question then would be whether clicking "hide" cancels the loading or just preloads it in case the user opens that interp.
For bonus points, you could explore lazy-loading in interpretations that apply to the scroll position within the section in an attempt to pre-load likely interps.
Right now the official interpretations are part of the document, making some sections of the regs rather large. @cmc333333 suggested loading these via Ajax instead.
Before implementing, this requires some UX though. Should the content load before the interpretation "opens?" If so, should there be a visual indicator that the content is loading? If so, how do we work that into the current design of the inline interpretations?
Current Interaction
Interpretation content is hidden by default:
When a user clicks anywhere on the interpretation it expands, revealing the content:
The text was updated successfully, but these errors were encountered: