Skip to content

Commit

Permalink
Script fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Oct 4, 2024
1 parent e00661c commit 31cfb8a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/lib/components/common/Button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
class:ghost
class:full
class:minW
{...$$restProps}
>
<slot>{label}</slot>
</a>
Expand All @@ -56,6 +57,7 @@
class:ghost
class:full
class:minW
{...$$restProps}
>
<slot>{label}</slot>
</button>
Expand Down
1 change: 1 addition & 0 deletions src/lib/components/layouts/Navigation.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
ghost
mode="primary"
on:click={() => (feedbackOpen = true)}
id="feedback"
>
{$_("common.feedback")}
</Button>
Expand Down
13 changes: 11 additions & 2 deletions src/lib/components/onboarding/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,20 @@ export const scripts: Record<string, DriveStep[]> = {
align: "center",
},
},
{
element: "#feedback",
popover: {
title: "Let us know what you think",
description:
"We're constantly fixing bugs and improving DocumentCloud. If you have thoughts, questions, or problems, send us your feedback.",
align: "center",
},
},
],
"/(app)/documents/[id]-[slug]": [
{
popover: {
title: "This is the new document viewer",
title: "This is our new document viewer",
description:
"We've made reading, annotating, and redacting your documents better than ever. Would you like to see what's new?",
align: "center",
Expand All @@ -79,7 +88,7 @@ export const scripts: Record<string, DriveStep[]> = {
popover: {
title: "A whole new view",
description:
"We now render your PDFs directly in your browser, with improved text-selection and navigation controls. Switch views from the top toolbar.",
"We now render PDFs directly in your browser, with improved text-selection and navigation controls. Switch views from the top toolbar.",
align: "center",
},
},
Expand Down

0 comments on commit 31cfb8a

Please sign in to comment.