cite-architecture / widgets

Generic, modular widgets for web presentation of CITE texts and data
GNU General Public License v3.0
0 stars 0 forks source link

Display by classification of comment #2

Closed neelsmith closed 4 years ago

neelsmith commented 4 years ago

simple-test.html has two values for the data-commentBlockLabel attribute: smart-comment and dumb-comment. Ideally I'd like to turn comments off/on by class, by block or by page. Attaching 3 imgs of mockups for "turn on dumb-comment", "turn-on smart-comment" and "turn on all"

smart dumb all
Eumaeus commented 4 years ago

Done, for now. Display turned out to be a PITA, and your author was reduced to learning flex-box in CSS and how to re-order elements with jQuery. But it remains simple, from the implementation standpoint.