Skip to content

Commit

Permalink
Add message for FICSIT-Fred to pick up on when users send a screensho…
Browse files Browse the repository at this point in the history
…t without generating the debug info
  • Loading branch information
budak7273 committed Oct 13, 2024
1 parent 8055e5b commit a728553
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions frontend/src/lib/components/modals/ErrorDetails.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
placement: 'bottom-end',
} satisfies PopupSettings;
export let error: string;
</script>

Expand All @@ -62,6 +62,12 @@
<section class={`${sectionClass} overflow-y-auto`}>
<p class="font-mono">{error}</p>
</section>
{#if !allowOpeningDiscord}
<section class={sectionClass}>
<!-- This string intentionally not translated so Fred can always catch it! -->
<p class="font-mono">Debug info not yet generated</p>
</section>
{/if}
<section class={sectionClass}>
<p class={fullPageMode ? 'text-base text-center' : ''}>
<T
Expand Down Expand Up @@ -107,10 +113,7 @@
</p>
</section>
<section class={`${sectionClass} ${fullPageMode ? 'text-center' : ''}`}>
<button
class="btn text-primary-600 variant-ringed"
on:click={OpenLogDocs}
>
<button class="btn text-primary-600 variant-ringed" on:click={OpenLogDocs}>
<T
defaultValue="Open the Logging Documentation"
keyName="error.open_log_docs"
Expand Down

0 comments on commit a728553

Please sign in to comment.