pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.7k stars 280 forks source link

PWA Studio - limit the use of buttons in welcome views #2563

Closed miguelsolorio closed 2 years ago

miguelsolorio commented 2 years ago

image

Hello, I work on the VS Code team and we have extension guidelines for welcome views (what you show when there is no content) and we strongly encourage extensions to limit the use of buttons so as to not overload the user. Below is a summary of the recommendations:

✔️ Do:

  • Use Welcome views only when necessary
  • Use links instead of buttons when possible
  • Use buttons only for primary actions
  • Use clear link text to indicate the link destination
  • Limit the length of the content
  • Limit the number of Welcome views
  • Limit the number of buttons in views

❌ Don't

  • Use buttons if not necessary
  • Use Welcome views for promotions
  • Use generic "read more" as link text
ghost commented 2 years ago

Hello misolori, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will investigate the issue and help solve it ASAP. Other community members may also look into the issue and provide feedback 🙌

jgw96 commented 2 years ago

@misolori In your opinion, with the latest release that moved alot of the buttons at the bottom to this side panel, is this issue still relevant? I would very much like to have the buttons that are there currently as they are the "main actions" of the extension. However, I very much want to follow best practices.

ghost commented 2 years ago

This issue has been automatically marked as "no-recent-activity" because it requires author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

miguelsolorio commented 2 years ago

I think you can still surface this actions in the toolbar, see the GitHub Pull Requests extension that does a similar thing:

CleanShot 2022-02-14 at 17 17 55@2x CleanShot 2022-02-14 at 17 17 44@2x
jgw96 commented 2 years ago

@misolori Thanks! We are still evaluating our design and I will let you know what changes we make here. Thanks!