Skip to content

[doc] Add take a tour functionality#2469

Open
PelayoFelgueroso wants to merge 10 commits intomasterfrom
PelayoFelgueroso/theme-tour
Open

[doc] Add take a tour functionality#2469
PelayoFelgueroso wants to merge 10 commits intomasterfrom
PelayoFelgueroso/theme-tour

Conversation

@PelayoFelgueroso
Copy link
Copy Markdown
Collaborator

Checklist
(Check off all the items before submitting)

  • Build process is done without errors. All tests pass in the /lib directory.
  • Self-reviewed the code before submitting.
  • Meets accessibility standards.
  • Added/updated documentation to /website as needed.
  • Added/updated tests as needed.

Purpose
Add take a tour functionality to the Theme Generator

Comment thread apps/website/screens/theme-generator/components/TourPopover.tsx Outdated
Comment thread apps/website/screens/theme-generator/components/TourPopover.tsx Outdated
Comment thread apps/website/screens/theme-generator/components/TourPopover.tsx Outdated
Comment thread apps/website/screens/theme-generator/ThemeGeneratorPage.tsx Outdated
Comment thread apps/website/screens/theme-generator/ThemeGeneratorPage.tsx Outdated
Comment thread apps/website/screens/theme-generator/ThemeGeneratorPage.tsx
@Jialecl Jialecl self-assigned this May 4, 2026
PelayoFelgueroso and others added 4 commits May 4, 2026 15:31
};

const joyrideOptions = {
overlayClickAction: false as const,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is "as const" needed here?
If joyrideOptions is correctly typed I do not think this is needed.

return (
<>
{currentStep === 0 && (
<Joyride
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can reduce some code repition if we create a wrapper component for Joyride, since the only difference is the steps prop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants