Let the dashboard follow the presenter
The live marker in the slide list stayed on the last known slide when the presenter moved on in another window or with a clicker. The dashboard now polls a cheap version fingerprint (admin:live) and reloads the lists when it changes, but never under an open dialog, a pending request or a drag. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9c6a19f0de
commit
8c7818ee40
7 files changed
+104
-1
No files matched your search
@@ -11,6 +11,7 @@
|
||||
* @var array<string, string> $typeDescriptions
|
||||
* @var string $joinUrl
|
||||
* @var string $embedKey
|
||||
* @var int $pollIntervalMs
|
||||
*/
|
||||
$this->assign('title', $poll->title);
|
||||
$this->assign('noindex', '1');
|
||||
@@ -52,7 +53,9 @@ $hasInternal = array_filter($slides, fn($slide) => !$slide->is_hidden && $slide-
|
||||
<?= __('Diese URL ist dein Zugang zur Umfrage. Wer sie kennt, kann alles bearbeiten.') ?>
|
||||
</div>
|
||||
|
||||
<div class="grid grid--sidebar">
|
||||
<div class="grid grid--sidebar"
|
||||
data-dashboard-live="<?= $this->Url->build($url('admin:live')) ?>"
|
||||
data-interval="<?= (int)$pollIntervalMs ?>">
|
||||
<section>
|
||||
<div class="section-head">
|
||||
<h2><?= __('Folien') ?></h2>
|
||||
|
||||
Reference in new issue
Block a user