diff --git a/ceremony/src/lib/components/Terminal/Activity.svelte b/ceremony/src/lib/components/Terminal/Activity.svelte index ef35a95f62..85ddabb339 100644 --- a/ceremony/src/lib/components/Terminal/Activity.svelte +++ b/ceremony/src/lib/components/Terminal/Activity.svelte @@ -49,7 +49,9 @@ function formatTimestamp(timestamp: string): string { {:else if type === "contribution_submitted"} {user} has submitted their contribution {:else if type === "contribution_verified"} - {user}'s contribution has just been verified + {user} contribution has just been verified + {:else if type === "contribution_expired"} + {user} contribution has expired {/if} {/each} diff --git a/ceremony/src/lib/components/Terminal/Queue.svelte b/ceremony/src/lib/components/Terminal/Queue.svelte index 6420c98a5d..53f2e4c076 100644 --- a/ceremony/src/lib/components/Terminal/Queue.svelte +++ b/ceremony/src/lib/components/Terminal/Queue.svelte @@ -17,11 +17,6 @@ let averages = $state() onMount(async () => { terminal.setStep(8) terminal.updateHistory({ text: "YOU ARE IN QUEUE" }) - terminal.updateHistory({ lineBreak: true, text: "" }) - terminal.updateHistory({ - text: "Do not close this tab or your Terminal. Ensure you have a reliable internet connection and that your computer does not go to sleep.", - type: "warning" - }) axiom.ingest("monitor", [{ user: user.session?.user.id, type: "mount_queue" }]) averages = await getAverageTimes() await contributor.checkUserWallet(contributor.userId) @@ -39,6 +34,15 @@ $effect(() => { }) +{#if contributor.queueState.position} + + {contributor.queueState.position < 78 ? + "Do not close this tab or your Terminal. Ensure you have a reliable internet connection and that your computer does not go to sleep." : + "Your contribution slot is far in the future. You can turn your device off and rejoin later without losing progression. If you are not online when it is your turn, you will lose your slot and not be able to contribute." + } + +{/if} +
Your place in line: {contributor.queueState.position ?? "LOADING"}{getNumberSuffix(contributor.queueState.position)}