license / docs pass:

- add new docs for loading, exploring, sharing, embedding, and offline usage
- add license file / license banner

electron app:
- for now, don't bundle docs, open in native browser

embeds:
- support 'embed' option, 'replayonly' or 'full' (default if no url)

ui:
- display package.json version in info menu

package.json:
- update scripts to match README
- move electron entrypoint into extraMetadata
- add scripts for packaging as module

README: minor edits
This commit is contained in:
Ilya Kreymer
2020-06-11 00:42:10 -07:00
parent 948b232fbf
commit b9a4089c6b
24 changed files with 556 additions and 126 deletions
+8 -1
View File
@@ -21,6 +21,7 @@ class Embed extends LitElement
this.paramString = null;
this.deepLink = false;
this.swInited = false;
this.embed = null;
this.doRegister();
}
@@ -30,6 +31,8 @@ class Embed extends LitElement
url: { type: String },
ts: { type: String },
source: { type: String },
view: { type: String },
embed: { type: String },
replayBase: { type: String },
swName: { type: String },
@@ -101,11 +104,15 @@ class Embed extends LitElement
changedProperties.has("ts") ||
changedProperties.has("source")) {
if (this.embed === null) {
this.embed = this.url ? "replayonly" : "";
}
this.paramString = new URLSearchParams({
source: this.source,
customColl: this.coll,
config: this.config,
embed: "true"
embed: this.embed,
}).toString();
this.hashString = new URLSearchParams({