documentcloud / documentcloud-notes

Responsively embed DocumentCloud notes.
https://documentcloud.github.io/documentcloud-notes/
MIT License
21 stars 2 forks source link

Modernize design #7

Closed reefdog closed 8 years ago

reefdog commented 8 years ago

A step toward unification of the note embed code with components of the page embed code. Backwards-compatible with existing embed codes. This issue is mostly a stub for documenting existing API coverage and requirements.

Load paths

Application

Available at assets.documentcloud.org, s3.documentcloud.org, and s3.amazonaws.com/s3.documentcloud.org:

reefdog commented 8 years ago

New

Load paths

App

Keep the same.

Data

Support .js, but prefer .json.

dc global structure

Currently the same, with anything unused converted to a _.noop().

HTML structure:

reefdog commented 8 years ago

More modernization and unification to be done, but would like to wait until we can use page embed stuff more directly to do so.