pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

PLACEHOLDER: Add alert for failed sidebar injection on the options page

Open mnholtz opened this issue 3 years ago • 2 comments

Part of Onboarding Squad Sprint #3. Currently, if the user clicks the PixieBrix extension icon while within the options page, the extension does nothing. We'd like to add an alert similar to https://github.com/pixiebrix/pixiebrix-extension/pull/517 for consistency.

mnholtz avatar Aug 30 '22 00:08 mnholtz

Today, when the user is on the Options (Blueprints) page and clicks the PixieBrix toolbar extension button, nothing happens. I believe this is because it can't load the sidebar and it is already on the Blueprints page (otherwise, it would open the Blueprints page). Our hypothesis is that this is unexpected behavior and might make new users feel like PixieBrix isn't working properly. If they are clicking the toolbar extension button while on the Blueprints page, it is probably an indicator that they are confused about what to do. So, we can offer them a tip.

Proposed alert: Title: PixieBrix Tip Body: If you want to create a new blueprint, first navigate to the page you want to modify, then open PixieBrix in DevTools (Cmd+Opt+I). Button: OK (Note: Show appropriate shortcut based on OS.)

Looking for feedback on this approach @twschiller @mnholtz @BLoe @fregante

corinnemayans avatar Aug 31 '22 05:08 corinnemayans

Body: If you want to create a new blueprint, first navigate to the page you want to modify, then open PixieBrix in DevTools (Cmd+Opt+I).

That sounds good to me. It would be nice to present it as a "Did you know?" graphic to teach the user what's happening, rather than just showing an error modal like before.

fregante avatar Aug 31 '22 10:08 fregante