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

[RFC]: add chat to the API documentation to facilitate user engagement #33

Closed
3 tasks done
kgryte opened this issue Sep 10, 2021 · 8 comments
Closed
3 tasks done

Comments

@kgryte
Copy link
Member

kgryte commented Sep 10, 2021

Description

This RFC proposes adding chat functionality to the API documentation to facilitate user engagement.

When a user has a question, particularly when navigating the project given its size, would be great to provide a mechanism by which a user can ask a question without needing to, e.g., navigate to GitHub and open an issue, but instead, ask in a (public) chat forum.

One potential solution is using Gitter sidecar. We already use Gitter for community chat. This would simply embed the chat in the website, without a user needing to navigate to a separate website.

Related Issues

No.

Questions

No.

Other

No.

Checklist

  • I have read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.
  • The issue name begins with RFC:.
@kgryte
Copy link
Member Author

kgryte commented Sep 10, 2021

Given that we will want to embed the chat in a React app, will probably want to use custom buttons for toggling the chat. See the Gitter example.

@Planeshifter
Copy link
Member

This has been added using sidecar with a custom toggle button.

@kgryte
Copy link
Member Author

kgryte commented Sep 30, 2021

We probably don't want to show, or even allow, Gitter on mobile. Just not likely that someone is going to want to pull up Gitter chat while browsing around on their phone. In which case, keeping the bottom Gitter navigational element around for that use case makes sense to me, as we can potentially deep link it to open the Gitter app, if it is installed on a user's mobile device.

@Planeshifter
Copy link
Member

Hmm, I didn't like to have two Gitter links in the footer because it forces one to navigate more elements when using the keyboard and is redundant (the sidecar button is a link that will also work when JS is disabled / can be right-clicked like any other <a /> tag). We could use @media and depending on screen size either show the Gitter button or just a link in the bottom nav bar.

@kgryte
Copy link
Member Author

kgryte commented Sep 30, 2021

Correct. I was not necessarily advocating for two links. But we could toggle the display based on the viewport.

@Planeshifter
Copy link
Member

Yes, that would make sense to me! Same for the "Help" button too which may be in the way on mobile devices.

@Planeshifter
Copy link
Member

Changed accordingly per ebdba3f.

@kgryte
Copy link
Member Author

kgryte commented May 20, 2022

Gitter chat has now been added and has been deployed. Closing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants