Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit c024245

Browse files
Merge pull request #515 from deckgo/firebase-poll-subdomain
feat: firebase subdomain can't be redirect to path
2 parents 9d95952 + b32a1bf commit c024245

File tree

20 files changed

+41
-34
lines changed

20 files changed

+41
-34
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* remote: v1.0.0-rc.2 ([CHANGELOG](https://github.com/deckgo/deckdeckgo/blob/master/remote/CHANGELOG.md))
99

1010
### New: Web Components
11-
* slide-poll: v1.0.0-beta.4 ([CHANGELOG](https://github.com/deckgo/deckdeckgo/blob/master/webcomponents/slides/poll/CHANGELOG.md))
11+
* slide-poll: v1.0.0-beta.5 ([CHANGELOG](https://github.com/deckgo/deckdeckgo/blob/master/webcomponents/slides/poll/CHANGELOG.md))
1212

1313
### Web Components
1414
* charts: v1.0.0-rc.5 ([CHANGELOG](https://github.com/deckgo/deckdeckgo/blob/master/webcomponents/charts/CHANGELOG.md))

docs/docs/slides/app-slide-poll/app-slide-poll.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ Add a slide "Poll" to your presentation.
2828

2929
<div class="container ion-margin">
3030
<deckgo-deck embedded={true}>
31-
<deckgo-slide-poll poll-link="https://poll.deckdeckgo.com" socket-url="https://api.deckdeckgo.com">
31+
<deckgo-slide-poll poll-link="https://deckdeckgo.com/poll" socket-url="https://api.deckdeckgo.com">
3232
<h1 slot="question">Do you like my presentation so far?</h1>
3333
<p slot="answer-1">It is super</p>
3434
<p slot="answer-2">Meh</p>
3535
<p slot="answer-3">I could'nt care less</p>
3636
<p slot="answer-4">Tell me why</p>
37-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
37+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
3838
<p slot="awaiting-votes">Awaiting first votes</p>
3939
<p slot="answer-5">Ain't nothin' but a heartache</p>
4040
</deckgo-slide-poll>
@@ -101,7 +101,7 @@ The "Poll" slide's Web Component could be integrated using the tag `<deckgo-slid
101101
<p slot="answer-3">I could'nt care less</p>
102102
<p slot="answer-4">Tell me why</p>
103103
<p slot="answer-5">Ain't nothin' but a heartache</p>
104-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
104+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
105105
<p slot="awaiting-votes">Awaiting first votes</p>
106106
</deckgo-slide-poll>
107107
```
@@ -129,7 +129,7 @@ This component offers the following options which could be set using attributes:
129129
| socketUrl | string | `https://api.deckdeckgo.com` | The url of the socket (server) where the poll (chat room) is going to be created. |
130130
| socketPath | string | `/poll` | The path to reach the socket server |
131131
| connectPollSocket | boolean | `true` | In case you would not like that the template try to reach the socket server |
132-
| pollLink | string | `https://poll.deckdeckgo.com` | 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. |
132+
| pollLink | string | `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. |
133133
| pollKey | string | | Per default the template will always try to create a new poll but if you set this value, it will try to retrieve an existing poll |
134134

135135
## Theming

docs/docs/slides/app-slides-concept/app-slides-concept.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,13 @@ The core component of [DeckDeckGo] (`<deckgo-deck/>`) does not contain any slide
190190

191191
<div class="container ion-margin">
192192
<deckgo-deck embedded={true}>
193-
<deckgo-slide-poll poll-link="https://poll.deckdeckgo.com" socket-url="https://api.deckdeckgo.com" connectPollSocket={false}>
193+
<deckgo-slide-poll poll-link="https://deckdeckgo.com/poll" socket-url="https://api.deckdeckgo.com" connectPollSocket={false}>
194194
<h1 slot="question">Do you like my presentation so far?</h1>
195195
<p slot="answer-1">It is super</p>
196196
<p slot="answer-2">Meh</p>
197197
<p slot="answer-3">I could'nt care less</p>
198198
<p slot="answer-4">Tell me why</p>
199-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
199+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
200200
<p slot="awaiting-votes">Awaiting first votes</p>
201201
<p slot="answer-5">Ain't nothin' but a heartache</p>
202202
</deckgo-slide-poll>

docs/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@deckdeckgo/slide-content": "^1.0.0-rc.1",
2828
"@deckdeckgo/slide-countdown": "^1.0.0-rc.1",
2929
"@deckdeckgo/slide-gif": "^1.0.0-rc.1-1",
30-
"@deckdeckgo/slide-poll": "^1.0.0-beta.4",
30+
"@deckdeckgo/slide-poll": "^1.0.0-beta.5",
3131
"@deckdeckgo/slide-qrcode": "^1.0.0-rc.2-1",
3232
"@deckdeckgo/slide-split": "^1.0.0-rc.2",
3333
"@deckdeckgo/slide-title": "^1.0.0-rc.1",

docs/src/app/pages/docs/slides/app-slide-poll/app-slide-poll.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ export class AppSlidePoll {
5858
<h2 id="app-slide-poll-layout">Layout</h2>
5959
<div class="container ion-margin">
6060
<deckgo-deck embedded={true}>
61-
<deckgo-slide-poll poll-link="https://poll.deckdeckgo.com" socket-url="https://api.deckdeckgo.com">
61+
<deckgo-slide-poll poll-link="https://deckdeckgo.com/poll" socket-url="https://api.deckdeckgo.com">
6262
<h1 slot="question">Do you like my presentation so far?</h1>
6363
<p slot="answer-1">It is super</p>
6464
<p slot="answer-2">Meh</p>
6565
<p slot="answer-3">I could'nt care less</p>
6666
<p slot="answer-4">Tell me why</p>
67-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
67+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
6868
<p slot="awaiting-votes">Awaiting first votes</p>
6969
<p slot="answer-5">Ain't nothin' but a heartache</p>
7070
</deckgo-slide-poll>
@@ -99,7 +99,7 @@ export class AppSlidePoll {
9999
</deckgo-highlight-code><h2 id="app-slide-poll-usage">Usage</h2>
100100
<p>The &quot;Poll&quot; slide&#39;s Web Component could be integrated using the tag <code>&lt;deckgo-slide-poll/&gt;</code>.</p>
101101
<deckgo-highlight-code language="javascript">
102-
<code slot="code">&lt;deckgo-slide-poll poll-link=&quot;https:&#47;&#47;deckdeckgo.com&quot; socket-url=&quot;https:&#47;&#47;api.deckdeckgo.com&quot;&gt;{'\n'} &lt;h1 slot=&quot;question&quot;&gt;Do you like my presentation so far?&lt;&#47;h1&gt;{'\n'} &lt;p slot=&quot;answer-1&quot;&gt;It is super&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-2&quot;&gt;Meh&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-3&quot;&gt;I could&#039;nt care less&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-4&quot;&gt;Tell me why&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-5&quot;&gt;Ain&#039;t nothin&#039; but a heartache&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;how-to&quot;&gt;Go to &lt;a href=&quot;https:&#47;&#47;poll.deckdeckgo.com&quot;&gt;poll.deckdeckgo.com&lt;&#47;a&gt; and use the code &#123;0&#125;&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;awaiting-votes&quot;&gt;Awaiting first votes&lt;&#47;p&gt;{'\n'}&lt;&#47;deckgo-slide-poll&gt;</code>
102+
<code slot="code">&lt;deckgo-slide-poll poll-link=&quot;https:&#47;&#47;deckdeckgo.com&quot; socket-url=&quot;https:&#47;&#47;api.deckdeckgo.com&quot;&gt;{'\n'} &lt;h1 slot=&quot;question&quot;&gt;Do you like my presentation so far?&lt;&#47;h1&gt;{'\n'} &lt;p slot=&quot;answer-1&quot;&gt;It is super&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-2&quot;&gt;Meh&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-3&quot;&gt;I could&#039;nt care less&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-4&quot;&gt;Tell me why&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-5&quot;&gt;Ain&#039;t nothin&#039; but a heartache&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;how-to&quot;&gt;Go to &lt;a href=&quot;https:&#47;&#47;deckdeckgo.com&#47;poll&quot;&gt;deckdeckgo.com&#47;poll&lt;&#47;a&gt; and use the code &#123;0&#125;&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;awaiting-votes&quot;&gt;Awaiting first votes&lt;&#47;p&gt;{'\n'}&lt;&#47;deckgo-slide-poll&gt;</code>
103103
</deckgo-highlight-code><h3 id="app-slide-poll-slots">Slots</h3>
104104
<p>The slots <code>question</code> and at least one <code>answer</code> should be provided. Answer slots have to be provided as <code>answer-x</code> where <code>x</code> is a number bigger than 0.</p>
105105
<p>The slot <code>how-to</code> and <code>awaiting-votes</code> are optional, still, it&#39;s probably for best of your audience to provide these.</p>
@@ -139,7 +139,7 @@ export class AppSlidePoll {
139139
<tr>
140140
<td>pollLink</td>
141141
<td>string</td>
142-
<td><code>https://poll.deckdeckgo.com</code></td>
142+
<td><code>https://deckdeckgo.com/poll</code></td>
143143
<td>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.</td>
144144
</tr>
145145
<tr>

docs/src/app/pages/docs/slides/app-slides-concept/app-slides-concept.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,13 @@ export class AppSlidesConcept {
226226
</ul>
227227
<div class="container ion-margin">
228228
<deckgo-deck embedded={true}>
229-
<deckgo-slide-poll poll-link="https://poll.deckdeckgo.com" socket-url="https://api.deckdeckgo.com" connectPollSocket={false}>
229+
<deckgo-slide-poll poll-link="https://deckdeckgo.com/poll" socket-url="https://api.deckdeckgo.com" connectPollSocket={false}>
230230
<h1 slot="question">Do you like my presentation so far?</h1>
231231
<p slot="answer-1">It is super</p>
232232
<p slot="answer-2">Meh</p>
233233
<p slot="answer-3">I could'nt care less</p>
234234
<p slot="answer-4">Tell me why</p>
235-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
235+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
236236
<p slot="awaiting-votes">Awaiting first votes</p>
237237
<p slot="answer-5">Ain't nothin' but a heartache</p>
238238
</deckgo-slide-poll>

remote/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

remote/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@deckdeckgo/slide-content": "^1.0.0-rc.1",
2929
"@deckdeckgo/slide-countdown": "^1.0.0-rc.1",
3030
"@deckdeckgo/slide-gif": "^1.0.0-rc.1-1",
31-
"@deckdeckgo/slide-poll": "^1.0.0-beta.4",
31+
"@deckdeckgo/slide-poll": "^1.0.0-beta.5",
3232
"@deckdeckgo/slide-qrcode": "^1.0.0-rc.2-1",
3333
"@deckdeckgo/slide-split": "^1.0.0-rc.2",
3434
"@deckdeckgo/slide-title": "^1.0.0-rc.1",

studio/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)