+
Do you like my presentation so far?
It is super
Meh
I could'nt care less
Tell me why
- Go to poll.deckdeckgo.com and use the code {0}
+ Go to deckdeckgo.com/poll and use the code {0}
Awaiting first votes
Ain't nothin' but a heartache
@@ -99,7 +99,7 @@ export class AppSlidePoll {
Usage
The "Poll" slide's Web Component could be integrated using the tag <deckgo-slide-poll/>.
- <deckgo-slide-poll poll-link="https://deckdeckgo.com" socket-url="https://api.deckdeckgo.com">{'\n'} <h1 slot="question">Do you like my presentation so far?</h1>{'\n'} <p slot="answer-1">It is super</p>{'\n'} <p slot="answer-2">Meh</p>{'\n'} <p slot="answer-3">I could'nt care less</p>{'\n'} <p slot="answer-4">Tell me why</p>{'\n'} <p slot="answer-5">Ain't nothin' but a heartache</p>{'\n'} <p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>{'\n'} <p slot="awaiting-votes">Awaiting first votes</p>{'\n'}</deckgo-slide-poll>
+ <deckgo-slide-poll poll-link="https://deckdeckgo.com" socket-url="https://api.deckdeckgo.com">{'\n'} <h1 slot="question">Do you like my presentation so far?</h1>{'\n'} <p slot="answer-1">It is super</p>{'\n'} <p slot="answer-2">Meh</p>{'\n'} <p slot="answer-3">I could'nt care less</p>{'\n'} <p slot="answer-4">Tell me why</p>{'\n'} <p slot="answer-5">Ain't nothin' but a heartache</p>{'\n'} <p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>{'\n'} <p slot="awaiting-votes">Awaiting first votes</p>{'\n'}</deckgo-slide-poll>
Slots
The slots question and at least one answer should be provided. Answer slots have to be provided as answer-x where x is a number bigger than 0.
The slot how-to and awaiting-votes are optional, still, it's probably for best of your audience to provide these.
@@ -139,7 +139,7 @@ export class AppSlidePoll {
| pollLink |
string |
-https://poll.deckdeckgo.com |
+https://deckdeckgo.com/poll |
The url which leads to the voting application respectively where your audience will be available to make their voice heard aka where they will be able to vote. |
diff --git a/docs/src/app/pages/docs/slides/app-slides-concept/app-slides-concept.tsx b/docs/src/app/pages/docs/slides/app-slides-concept/app-slides-concept.tsx
index edb61798b..deac2059d 100644
--- a/docs/src/app/pages/docs/slides/app-slides-concept/app-slides-concept.tsx
+++ b/docs/src/app/pages/docs/slides/app-slides-concept/app-slides-concept.tsx
@@ -226,13 +226,13 @@ export class AppSlidesConcept {
-
+
Do you like my presentation so far?
It is super
Meh
I could'nt care less
Tell me why
- Go to poll.deckdeckgo.com and use the code {0}
+ Go to deckdeckgo.com/poll and use the code {0}
Awaiting first votes
Ain't nothin' but a heartache
diff --git a/remote/package-lock.json b/remote/package-lock.json
index f9497351b..1ded2e087 100644
--- a/remote/package-lock.json
+++ b/remote/package-lock.json
@@ -122,9 +122,9 @@
}
},
"@deckdeckgo/slide-poll": {
- "version": "1.0.0-beta.4",
- "resolved": "https://registry.npmjs.org/@deckdeckgo/slide-poll/-/slide-poll-1.0.0-beta.4.tgz",
- "integrity": "sha512-hYlEeAl1yEye0xF5/nZ+ZZPkl8YFnrQjL2K2dmMWu6rQoI0L8wuH3UOMDokcnm3C5Cl5qkJ/n07K11utgbaXYA==",
+ "version": "1.0.0-beta.5",
+ "resolved": "https://registry.npmjs.org/@deckdeckgo/slide-poll/-/slide-poll-1.0.0-beta.5.tgz",
+ "integrity": "sha512-Gju0U6UWZVO7RcljCx2h5o5RLn/N0htpNKCr0/71Ryi1T5G7fOJNnc4HAxI3A4X9A0T1yh79nkA8sM/9dPoXiQ==",
"requires": {
"@deckdeckgo/slide-utils": "^1.0.0-rc.4",
"@deckdeckgo/utils": "^1.0.0-rc.2",
diff --git a/remote/package.json b/remote/package.json
index 628c7ca01..b76c35dc9 100644
--- a/remote/package.json
+++ b/remote/package.json
@@ -28,7 +28,7 @@
"@deckdeckgo/slide-content": "^1.0.0-rc.1",
"@deckdeckgo/slide-countdown": "^1.0.0-rc.1",
"@deckdeckgo/slide-gif": "^1.0.0-rc.1-1",
- "@deckdeckgo/slide-poll": "^1.0.0-beta.4",
+ "@deckdeckgo/slide-poll": "^1.0.0-beta.5",
"@deckdeckgo/slide-qrcode": "^1.0.0-rc.2-1",
"@deckdeckgo/slide-split": "^1.0.0-rc.2",
"@deckdeckgo/slide-title": "^1.0.0-rc.1",
diff --git a/studio/package-lock.json b/studio/package-lock.json
index effeb7fb9..4f821cdb9 100644
--- a/studio/package-lock.json
+++ b/studio/package-lock.json
@@ -124,9 +124,9 @@
}
},
"@deckdeckgo/slide-poll": {
- "version": "1.0.0-beta.4",
- "resolved": "https://registry.npmjs.org/@deckdeckgo/slide-poll/-/slide-poll-1.0.0-beta.4.tgz",
- "integrity": "sha512-hYlEeAl1yEye0xF5/nZ+ZZPkl8YFnrQjL2K2dmMWu6rQoI0L8wuH3UOMDokcnm3C5Cl5qkJ/n07K11utgbaXYA==",
+ "version": "1.0.0-beta.5",
+ "resolved": "https://registry.npmjs.org/@deckdeckgo/slide-poll/-/slide-poll-1.0.0-beta.5.tgz",
+ "integrity": "sha512-Gju0U6UWZVO7RcljCx2h5o5RLn/N0htpNKCr0/71Ryi1T5G7fOJNnc4HAxI3A4X9A0T1yh79nkA8sM/9dPoXiQ==",
"requires": {
"@deckdeckgo/slide-utils": "^1.0.0-rc.4",
"@deckdeckgo/utils": "^1.0.0-rc.2",
diff --git a/studio/package.json b/studio/package.json
index 0b8d9e8e8..19a829c4d 100644
--- a/studio/package.json
+++ b/studio/package.json
@@ -28,7 +28,7 @@
"@deckdeckgo/slide-chart": "^1.0.0-rc.2-1",
"@deckdeckgo/slide-content": "^1.0.0-rc.1",
"@deckdeckgo/slide-gif": "^1.0.0-rc.1-1",
- "@deckdeckgo/slide-poll": "^1.0.0-beta.4",
+ "@deckdeckgo/slide-poll": "^1.0.0-beta.5",
"@deckdeckgo/slide-qrcode": "^1.0.0-rc.2-1",
"@deckdeckgo/slide-split": "^1.0.0-rc.2",
"@deckdeckgo/slide-title": "^1.0.0-rc.1",
diff --git a/studio/src/app/utils/editor/create-slides.utils.tsx b/studio/src/app/utils/editor/create-slides.utils.tsx
index db10795d9..699dae056 100644
--- a/studio/src/app/utils/editor/create-slides.utils.tsx
+++ b/studio/src/app/utils/editor/create-slides.utils.tsx
@@ -316,7 +316,7 @@ export class CreateSlidesUtils {
{questionSlot}
{...answerSlots}
-
+
Awaiting votes
;
diff --git a/studio/src/global/app.ts b/studio/src/global/app.ts
index b33e0d84f..b84f2d3d2 100644
--- a/studio/src/global/app.ts
+++ b/studio/src/global/app.ts
@@ -32,7 +32,7 @@ setupDeckGoConfig({
prod: true,
appUrl: 'https://deckdeckgo.com',
globalAssetsUrl: 'https://deckdeckgo.com/assets',
- pollUrl: 'https://poll.deckdeckgo.com',
+ pollUrl: 'https://deckdeckgo.com/poll',
apiUrl: '<@API_URL@>',
presentationUrl: '<@PRESENTATION_URL@>',
socketUrl: '<@SOCKET_URL@>'
diff --git a/webcomponents/slides/poll/CHANGELOG.md b/webcomponents/slides/poll/CHANGELOG.md
index d9318e1e6..1bcd72152 100644
--- a/webcomponents/slides/poll/CHANGELOG.md
+++ b/webcomponents/slides/poll/CHANGELOG.md
@@ -1,3 +1,10 @@
+
+# 1.0.0-beta.5 (2019-12-04)
+
+### Features
+
+* Firebase can't redirect subdomain to path, therefore use `deckdeckgo.com/poll` instead of `poll.deckdeckgo.com`
+
# 1.0.0-beta.4 (2019-12-01)
diff --git a/webcomponents/slides/poll/package-lock.json b/webcomponents/slides/poll/package-lock.json
index cfe8a9591..6c07a887e 100644
--- a/webcomponents/slides/poll/package-lock.json
+++ b/webcomponents/slides/poll/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@deckdeckgo/slide-poll",
- "version": "1.0.0-beta.4",
+ "version": "1.0.0-beta.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/webcomponents/slides/poll/package.json b/webcomponents/slides/poll/package.json
index a2218e0bf..1a7b9f541 100644
--- a/webcomponents/slides/poll/package.json
+++ b/webcomponents/slides/poll/package.json
@@ -1,6 +1,6 @@
{
"name": "@deckdeckgo/slide-poll",
- "version": "1.0.0-beta.4",
+ "version": "1.0.0-beta.5",
"description": "Interact with your audience, add a live poll to your presentation",
"main": "dist/index.js",
"module": "dist/index.mjs",
diff --git a/webcomponents/slides/poll/src/components/slide/deckdeckgo-slide-poll.e2e.ts b/webcomponents/slides/poll/src/components/slide/deckdeckgo-slide-poll.e2e.ts
index fe9559ccf..80e4b838d 100644
--- a/webcomponents/slides/poll/src/components/slide/deckdeckgo-slide-poll.e2e.ts
+++ b/webcomponents/slides/poll/src/components/slide/deckdeckgo-slide-poll.e2e.ts
@@ -5,13 +5,13 @@ describe('deckgo-slide-poll', () => {
beforeEach(async () => {
page = await newE2EPage();
- await page.setContent(`
+ await page.setContent(`
Do you like my presentation so far?
It is super
Meh
I could'nt care less
Tell me why
- Go to poll.deckdeckgo.com and use the code {0}
+ Go to deckdeckgo.com/poll and use the code {0}
Awaiting first votes
Ain't nothin' but a heartache
`);
diff --git a/webcomponents/slides/poll/src/components/slide/deckdeckgo-slide-poll.tsx b/webcomponents/slides/poll/src/components/slide/deckdeckgo-slide-poll.tsx
index a1f6b1f27..1aabb2bdd 100644
--- a/webcomponents/slides/poll/src/components/slide/deckdeckgo-slide-poll.tsx
+++ b/webcomponents/slides/poll/src/components/slide/deckdeckgo-slide-poll.tsx
@@ -39,7 +39,7 @@ export class DeckdeckgoSlidePoll implements DeckdeckgoSlideResize {
@Prop() connectPollSocket: boolean = true;
- @Prop({reflect: true}) pollLink: string = 'https://poll.deckdeckgo.com';
+ @Prop({reflect: true}) pollLink: string = 'https://deckdeckgo.com/poll';
@Prop({reflect: true, mutable: true})
pollKey: string;
diff --git a/webcomponents/slides/poll/src/components/slide/readme.md b/webcomponents/slides/poll/src/components/slide/readme.md
index bf14e1d59..918620ccb 100644
--- a/webcomponents/slides/poll/src/components/slide/readme.md
+++ b/webcomponents/slides/poll/src/components/slide/readme.md
@@ -13,7 +13,7 @@
| `customActions` | `custom-actions` | | `boolean` | `false` |
| `customBackground` | `custom-background` | | `boolean` | `false` |
| `pollKey` | `poll-key` | | `string` | `undefined` |
-| `pollLink` | `poll-link` | | `string` | `'https://poll.deckdeckgo.com'` |
+| `pollLink` | `poll-link` | | `string` | `'https://deckdeckgo.com/poll'` |
| `socketPath` | `socket-path` | | `string` | `'/poll'` |
| `socketUrl` | `socket-url` | | `string` | `'https://api.deckdeckgo.com'` |
diff --git a/webcomponents/slides/poll/src/index.html b/webcomponents/slides/poll/src/index.html
index aaa0ad9eb..8956abf38 100644
--- a/webcomponents/slides/poll/src/index.html
+++ b/webcomponents/slides/poll/src/index.html
@@ -28,7 +28,7 @@ Do you like my presentation so far?
Meh
I could'nt care less
Tell me why
- Go to poll.deckdeckgo.com and use the code {0}
+ Go to deckdeckgo.com/poll and use the code {0}
Awaiting first votes
Ain't nothin' but a heartache