@atmo-dev/kit 0.13.0 → 0.13.2
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.
|
@@ -259,7 +259,9 @@
|
|
|
259
259
|
let conferenceRooms = $derived(getConferenceRooms(eventData));
|
|
260
260
|
let scheduleEvents = $derived(
|
|
261
261
|
isConference
|
|
262
|
-
? toScheduleEvents(data.conferenceTalks ?? [], eventUri, data.conferenceTalkDescriptions)
|
|
262
|
+
? toScheduleEvents(data.conferenceTalks ?? [], eventUri, data.conferenceTalkDescriptions).map(
|
|
263
|
+
(talk) => (talk.did === did ? talk : { ...talk, actor: talk.did })
|
|
264
|
+
)
|
|
263
265
|
: []
|
|
264
266
|
);
|
|
265
267
|
|
|
@@ -540,7 +542,7 @@
|
|
|
540
542
|
<VodPlayer
|
|
541
543
|
playlistUrl={data.vod.playlistUrl}
|
|
542
544
|
title={eventData.name}
|
|
543
|
-
subtitlesUrl=
|
|
545
|
+
subtitlesUrl={data.vod.subtitlesUrl}
|
|
544
546
|
bind:currentTime={vodCurrentTime}
|
|
545
547
|
bind:api={vodApi}
|
|
546
548
|
/>
|
|
@@ -30,6 +30,8 @@ export interface ScheduleEvent {
|
|
|
30
30
|
room?: string;
|
|
31
31
|
description?: string;
|
|
32
32
|
did: string;
|
|
33
|
+
/** Actor for the talk's page link when the talk isn't in the conference author's repo. */
|
|
34
|
+
actor?: string;
|
|
33
35
|
uri: string;
|
|
34
36
|
cid?: string | null;
|
|
35
37
|
rsvpExpected?: boolean;
|
|
@@ -53,7 +53,9 @@
|
|
|
53
53
|
);
|
|
54
54
|
let initialRsvpRkey = $derived(rsvpRkeys[event.uri] ?? null);
|
|
55
55
|
let isPast = $derived(event.end ? new Date(event.end) < new Date() : false);
|
|
56
|
-
let eventHref = $derived(
|
|
56
|
+
let eventHref = $derived(
|
|
57
|
+
resolveEventUrls(adapter.urls).event(event.actor ?? eventActor, event.rkey)
|
|
58
|
+
);
|
|
57
59
|
</script>
|
|
58
60
|
|
|
59
61
|
{#if linkableTypes.has(event.type) && event.rkey}
|
|
@@ -32,6 +32,7 @@ export interface EventViewData {
|
|
|
32
32
|
parentScheduleUrl?: string | null;
|
|
33
33
|
vod?: {
|
|
34
34
|
playlistUrl: string;
|
|
35
|
+
subtitlesUrl?: string;
|
|
35
36
|
} | null;
|
|
36
37
|
conferenceTalks?: FlatEventRecord[];
|
|
37
38
|
/** Plain-text talk descriptions keyed by talk URI, e.g. from `richTextToPlainText`. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atmo-dev/kit",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "The shared UI foundation for Atmo apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -179,7 +179,8 @@
|
|
|
179
179
|
"test": "pnpm test:unit --run && pnpm test:e2e && pnpm test:package",
|
|
180
180
|
"test:ci": "pnpm test:unit --run --no-file-parallelism && pnpm test:e2e && pnpm test:package",
|
|
181
181
|
"test:e2e": "playwright test",
|
|
182
|
-
"test:package": "pnpm prepack &&
|
|
182
|
+
"test:package": "pnpm prepack && pnpm test:package:built",
|
|
183
|
+
"test:package:built": "node --test scripts/test-*-package.mjs",
|
|
183
184
|
"changeset": "changeset",
|
|
184
185
|
"version-packages": "changeset version && pnpm install --lockfile-only --no-frozen-lockfile --ignore-scripts",
|
|
185
186
|
"release": "pnpm prepack && changeset publish"
|