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

Create starter blueprints install link #4245

Closed
mnholtz opened this issue Sep 6, 2022 · 0 comments · Fixed by #4249
Closed

Create starter blueprints install link #4245

mnholtz opened this issue Sep 6, 2022 · 0 comments · Fixed by #4249
Assignees
Labels
enhancement New feature or request onboarding priority user experience Improve the user experience (UX)

Comments

@mnholtz
Copy link
Collaborator

mnholtz commented Sep 6, 2022

Part of Onboarding Spring 4

We would like a way to "recover" from the situation where a user might find themselves on the Playground page, but have Playground blueprints missing. As a solution, we'd like to add a link to the extension that will install Playground (starter) blueprints if they aren't already installed, and navigate back to the Playground page.

This way, we can 1) modify the Playground landing page to include this url if the user really is missing the required blueprints and 2) invite users to try the Playground in other situations rather than just a first-time install (e.g. invite existing users to try out the Playground).

Implementation sketch

  1. Broaden starter blueprints api URL to return starter blueprints regardless of starter blueprint install flag (back-end) https://github.com/pixiebrix/pixiebrix-app/issues/2247
  2. Expose a starter blueprint "should install?" url (back-end) https://github.com/pixiebrix/pixiebrix-app/issues/2247
  3. Create a route on the options page that
    a. Calls the starter blueprint url and gets starter blueprints
    b. Installs them if they aren't already installed with a friendly loading message/spinner
    c. Opens/redirects to the playground page afterwards
    d. Modify the existing background script that installs starter blueprints to use back-end api changes to starter blueprints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request onboarding priority user experience Improve the user experience (UX)
Projects
None yet
1 participant