Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ui): start product tour by clicking on first car on welcome page #6934

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

MilosPaunovic
Copy link
Member

Closes #6933.

@MilosPaunovic MilosPaunovic merged commit effb5a2 into develop Jan 24, 2025
3 checks passed
@MilosPaunovic MilosPaunovic deleted the welcome branch January 24, 2025 17:13
@Piyush-r-bhaskar
Copy link
Contributor

Hi @MilosPaunovic

Sorry I could be wrong here on requirement.
But WDYT if it could be implemented for only first card. This merge is opening tour on all card.

we may use like in ui\src\components\onboarding\OnboardingBottom.vue

        <onboarding-card
            v-for="card in cards"
            :key="card.title"
            :title="card.title"
            :content="card.content"
            :category="card.category"
            :link="card.link"
            @click="card.category === 'tour' ? startTour() : null"
        />
        
        methods: {
            startTour() {
                localStorage.setItem("tourDoneOrSkip", undefined);
                this.$store.commit("core/setGuidedProperties", {tourStarted: false});
                this.$tours["guidedTour"]?.start();
            },
        }

To get this result.

tour.mp4

@MilosPaunovic
Copy link
Member Author

You were absolutely right @Piyush-r-bhaskar, big thanks for the heads up! Merged your proposed changes! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Welcome page is missing the link to the Guided Tour
2 participants