mdn / yari

The platform code behind MDN Web Docs
Mozilla Public License 2.0
1.18k stars 501 forks source link

AI Help button should only be visible when logged in. #9768

Open estelle opened 1 year ago

estelle commented 1 year ago

Summary

The AI help in the navigation bar should only be present if logged in.

Screenshot of MDN ai help page when logged out

This it not the same bug saying "this button should not exist". This is a bug saying "this button should only be visible when it is usable"

URL

All https://developer.mozilla.org page

https://developer.mozilla.org/en-US/plus/ai-help is not useful when not logged in. There should not be a link to it in the nav bar unless logged in.

Reproduction steps

  1. Go to https://developer.mozilla.org
  2. log out
  3. Look at the top navigation bar and click on AI help link
  4. Ask yourself why important real estate on the home page was dedicated to a link to this page.

Expected behavior

When the user is logged out, button to features only available when logged in should not be visible

Actual behavior

When the user is logged out, a button to a feature that is not available is visible. Clicking on the link takes you to a page that is not usable. The page has three components: the top makes it look like it's available. The second is a warning. The third has some duplication of the top nav bars with a sentence that can be made useful by making it more prominent, but it isn't well hilighted/promoted.

Device

Desktop

Browser

Chrome

Browser version

Stable

Operating system

Mac OS

Screenshot

Screenshot 2023-09-15 at 3 02 20 PM

Anything else?

No response

Validations

s-sood commented 11 months ago

Hi @estelle Thank you for submitting this issue and your idea. Currently, We expose AI Help to non-logged in users as part of discoverability strategy with the intent of letting them know that this feature exists. We won't be able to address this issue right away but we are working on making sure that we have a consistent and clear way to expose MDN Plus features to the users. This work is in progress in Q4.