@go-labs-sg/event-tech 1.25.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -1
- package/dist/index.js +477 -466
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -778,7 +778,21 @@ signed for one hour (`mediaUrlExpiresInSeconds`), so download media right after
|
|
|
778
778
|
exporting; the raw S3 keys are included too. Other event types are rejected with a pointer to
|
|
779
779
|
`et event export`. Nothing creates or edits these events.
|
|
780
780
|
|
|
781
|
-
### Event appearance and
|
|
781
|
+
### Event appearance and fullscreen displays
|
|
782
|
+
|
|
783
|
+
The event theme (colours and font) and display image/video apply to Photo Wall,
|
|
784
|
+
Post-it Note, Signature Wall, Human Bingo and Rating boards. Appearance
|
|
785
|
+
includes a sample screen preview for each. Dedicated desktop configuration
|
|
786
|
+
previews use that same saved display theme and background.
|
|
787
|
+
|
|
788
|
+
Photo Wall, Post-it Note and Signature Wall share the existing presentation
|
|
789
|
+
settings under `photoWall`: `durationSeconds` (10–40), `maxVisible` (1–16,
|
|
790
|
+
subject to available display space), and `motion` (`gentle`, `lively`, or
|
|
791
|
+
`roaming`, which bounces contributions off one another and the display edges).
|
|
792
|
+
These fields belong to the selected event; note and signature events do not
|
|
793
|
+
gain photo-submission, QR or screen-canvas options. Change them through
|
|
794
|
+
Settings → Appearance → Wall animation or the existing appearance update command.
|
|
795
|
+
Resetting Appearance restores the default theme and playback settings.
|
|
782
796
|
|
|
783
797
|
`event appearance get` returns the canonical appearance, its optimistic-lock
|
|
784
798
|
version, and resolved media URLs. It uses the authenticated event procedure by
|
|
@@ -793,6 +807,31 @@ et event appearance update \
|
|
|
793
807
|
--appearance '{"version":1,"theme":{"accentColor":"#f84404","backgroundColor":"#f6f7f9","textColor":"#20242a","fontFamily":"SYSTEM"},"guestBackground":{"type":"none","key":null},"displayBackground":{"type":"none","key":null},"photoWall":{"durationSeconds":18,"maxVisible":4,"motion":"gentle","showQrCode":true,"showEventName":true}}'
|
|
794
808
|
```
|
|
795
809
|
|
|
810
|
+
Human Bingo display copy and sizing use the optional `humanBingo` appearance
|
|
811
|
+
block. Read `event appearance get` first and retain its other settings in the
|
|
812
|
+
full JSON update; pass its current `appearanceVersion` through
|
|
813
|
+
`--appearance-version` (3 in this example):
|
|
814
|
+
|
|
815
|
+
```sh
|
|
816
|
+
et event appearance update \
|
|
817
|
+
--event-id <id> \
|
|
818
|
+
--appearance-version 3 \
|
|
819
|
+
--appearance '{"version":1,"theme":{"accentColor":"#f84404","backgroundColor":"#f6f7f9","textColor":"#20242a","fontFamily":"SYSTEM"},"guestBackground":{"type":"none","key":null},"displayBackground":{"type":"none","key":null},"photoWall":{"durationSeconds":18,"maxVisible":4,"motion":"gentle","showQrCode":true,"showEventName":true},"humanBingo":{"title":"Meet your team","joinHeading":"Scan to join","joinInstructions":"Open your camera, scan the QR code and enter your name.","titleFontSize":64,"nameFontSize":40}}'
|
|
820
|
+
```
|
|
821
|
+
|
|
822
|
+
Adding `humanBingo: {}` explicitly opts into the new display defaults. Text is
|
|
823
|
+
trimmed: `title` allows up to 80 characters and defaults to empty (use the
|
|
824
|
+
existing configured Bingo title); `joinHeading` requires 1–40 characters and
|
|
825
|
+
defaults to `Scan to join`; `joinInstructions` requires 1–180 characters and
|
|
826
|
+
defaults to `Open your camera, scan the QR code and enter your name.`.
|
|
827
|
+
`titleFontSize` is an integer from 32–96 (default 64), and `nameFontSize` is an
|
|
828
|
+
integer from 24–52 (default 40). Colors, fonts and backgrounds use the canonical
|
|
829
|
+
event theme and appearance media settings. Omitting `humanBingo` on save preserves
|
|
830
|
+
the stored block; an event without the block keeps its legacy layout and title.
|
|
831
|
+
Use appearance reset to clear all overrides and restore legacy Bingo behavior.
|
|
832
|
+
`human-bingo config get` and `human-bingo config update` continue to manage the
|
|
833
|
+
configured Bingo title and game rules.
|
|
834
|
+
|
|
796
835
|
Reset is an explicit, version-fenced null update:
|
|
797
836
|
|
|
798
837
|
```sh
|