-
-
Notifications
You must be signed in to change notification settings - Fork 115
feat : add studio tour for first time user #1120
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
4772679
feat : add tour for first time user
aialok 10bb4a5
Fix lint error
aialok 98c7475
Add tour for studio-next
aialok f4b55f9
minor changes
aialok 272141d
Add ADR for studio tour
aialok 34be20f
chore(docs): improved tour docs : studio
aialok eac87a5
chore(docs): improved tour docs : studio-next
aialok a243d5b
chore(tour-docs) : improved tour docs
aialok a7cfb85
chore(tour-docs): improved tour docs - studio
aialok 99da710
feat(studio): Add ability to resume tour from last position
aialok e920309
feat(studio-next): Add ability to resume tour from last position
aialok 6b51763
Merge branch 'master' into master
aialok ee94522
chore(eslint): Fix eslint error
aialok d5a9534
Merge branch 'master' into master
asyncapi-bot 910909e
Merge branch 'master' into master
asyncapi-bot 9d89a4b
Merge branch 'master' into master
aialok 88fdfcf
Merge branch 'master' into master
asyncapi-bot 4be0b0e
Merge branch 'master' into master
asyncapi-bot 4e2ceb0
chore(sonal-cloud): added driver.ts in sonar.cpd.exclusions
aialok 5ff67a9
Merge branch 'master' into master
aialok 4755566
fix(pnpm-lock): fixes pnpm lock file for failing workflow
aialok fba81c6
Merge branch 'master' into master
aialok 0bfb31a
fixes(pnpm-lock): conflict
aialok fe2d884
fixes(build-failed): fixes build failed due to eslint
aialok c1f37c7
fix(sonar-cloud): fixes sonar cloud warning
aialok File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
import { driver } from "driver.js"; | ||
import "driver.js/dist/driver.css"; | ||
|
||
export const driverObj = driver({ | ||
popoverClass: "driverjs-theme", | ||
showProgress: true, | ||
showButtons: ["next", "previous", "close"], | ||
nextBtnText: "Next", | ||
prevBtnText: "Back", | ||
|
||
steps: [ | ||
{ | ||
element: "#tour-start", | ||
popover: { | ||
title: "Welcome to AsyncAPI Studio", | ||
description: | ||
"Discover a powerful tool for designing, documenting, and managing AsyncAPI-based applications. This tour will guide you through key features to enhance your AsyncAPI development workflow.", | ||
}, | ||
}, | ||
{ | ||
element: "#sidebar", | ||
popover: { | ||
title: "Control Center", | ||
description: | ||
"This control center allows you to toggle the editor, information panel, and HTML preview on or off. It's also your gateway to creating new AsyncAPI templates for various protocols like Apache Kafka, WebSocket, HTTP, and more. Customize your workspace and jumpstart your AsyncAPI design process from here.", | ||
side: "left", | ||
align: "start", | ||
}, | ||
}, | ||
{ | ||
element: "#information", | ||
popover: { | ||
title: "Information Panel", | ||
description: | ||
"Explore your API structure using this information panel. Quickly access Servers, Channels, Operations, Messages, and Schemas - the building blocks of your AsyncAPI specification.", | ||
aialok marked this conversation as resolved.
Show resolved
Hide resolved
aialok marked this conversation as resolved.
Show resolved
Hide resolved
|
||
side: "left", | ||
align: "start", | ||
}, | ||
}, | ||
{ | ||
element: "#editor", | ||
popover: { | ||
title: "The Powerful Editor", | ||
description: | ||
"Create and edit your AsyncAPI documents with ease. Enjoy features like syntax highlighting, auto-completion, and real-time validation to streamline your API design process.", | ||
side: "bottom", | ||
align: "start", | ||
}, | ||
}, | ||
{ | ||
element: "#editor-dropdown", | ||
popover: { | ||
title: "Share and Editor Options", | ||
description: | ||
"Collaborate on your work and access document management tools. Import, export, and convert your API specifications with just a few clicks.", | ||
side: "top", | ||
align: "start", | ||
}, | ||
}, | ||
{ | ||
element: "#terminal", | ||
popover: { | ||
title: "Terminal", | ||
description: | ||
"Quickly identify and resolve issues in your specification. View errors, warnings, and helpful messages to ensure your API documentation is error-free.", | ||
side: "bottom", | ||
align: "start", | ||
}, | ||
}, | ||
{ | ||
element: "#html-preview", | ||
popover: { | ||
title: "Instant HTML Preview", | ||
description: | ||
"See your API documentation come to life in real-time. This panel renders a human-readable version of your specification as you make changes.", | ||
side: "top", | ||
align: "start", | ||
}, | ||
}, | ||
{ | ||
element: "#studio-setting", | ||
popover: { | ||
title: "Studio Settings", | ||
description: | ||
"Customize your AsyncAPI Studio experience. Adjust preferences and settings to tailor the tool to your workflow.", | ||
side: "top", | ||
align: "start", | ||
}, | ||
}, | ||
{ | ||
element: "#communicate", | ||
popover: { | ||
title: "Join AsyncAPI Community", | ||
description: | ||
"Connect with fellow AsyncAPI developers. Join our Slack community to share ideas, get help, and stay updated on AsyncAPI news and events.", | ||
side: "top", | ||
align: "start", | ||
}, | ||
}, | ||
{ | ||
element: "#Thank-you", | ||
popover: { | ||
title: "Thank You", | ||
description: | ||
"Thanks for exploring AsyncAPI Studio. We hope you find it valuable for your API projects. Feel free to reach out with any questions or feedback. Happy coding!", | ||
side: "top", | ||
align: "start", | ||
}, | ||
}, | ||
], | ||
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.