For each visualization state created with the comparisons tool, there is an associated "embeddable" version of the state.
The embeddable version is designed to be integrated into other websites directly.
The embeddable version itself exists: see @ydaniv for the API to view the embeddable version of each comparison state.
Scenario
The implementation should allow the following scenario:
User is viewing a comparison state (that s/he either created, or was created by someone else)
User decides to show this visualization on his/her own website.
The user can perform an action to get the embeddable URL, and/or an iframe configured for the URL
TODO
Implement a button on the comparisons tool that opens a little widget to "get" the embed version
This little widget that opens from the button should have two fields in it: (a) the direct URL for the embed, and (b) a snippet of HTML which is an iframe that is configured to a reasonable width/height, and the embed URL included in it
For each visualization state created with the comparisons tool, there is an associated "embeddable" version of the state.
The embeddable version is designed to be integrated into other websites directly.
The embeddable version itself exists: see @ydaniv for the API to view the embeddable version of each comparison state.
Scenario
The implementation should allow the following scenario:
TODO