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

Change behavior of bug report window #513

Open
Guillembonet opened this issue Oct 13, 2023 · 2 comments
Open

Change behavior of bug report window #513

Guillembonet opened this issue Oct 13, 2023 · 2 comments
Assignees

Comments

@Guillembonet
Copy link
Contributor

Guillembonet commented Oct 13, 2023

Currently bug report window calls and api and then opens the intercom window.

We want to change the workflow to:

  1. Open bug report window with input fields for email and description (both mandatory, description is at least 30 characters). Also it would be nice if, if you do not meet the criteria (no email or description too short) to let the user know instead of just closing the window and showing a tiny error as its inconvenient to have to open a window again and lose all that you typed.
  2. Call a new API endpoint for which I will provide documentation when I do it in Add workflow for bug report feedback#11 (will be similar to the one called now), but this one will return the bug report message that we want to send to intercom.
  3. (not sure when exactly this should be done, but) set the custom attributes for the user such as node identity (will provide more detailed list, not sure we need all the ones we use now). See docs on how to do this here.
  4. Open a new intercom chat window with the bug report message pre-filled so the user can just click send. This is also easy to do, see docs here.
@mingaila
Copy link
Contributor

mingaila commented Oct 27, 2023

NodeUI (dvpn-web) version 2.13.1-rc1.
Also, on BE part node had some changes related to this.

@mdomasevicius mdomasevicius changed the title Change behaviour of bug report window Change behavior of bug report window Oct 30, 2023
@lusine-h
Copy link
Contributor

lusine-h commented Oct 31, 2023

@mingaila A couple of improvements

  • Special symbols shouldn't be accepted after the @ (e.g. user@example#com user@exa$mple.com user@ex#ample.com)

  • Email addresses without . are accepted now (e.g. test@examplecom)

  • The "Report issue" tooltip remains visible when the window is opened.
    image

  • When I close the chat after the bug report (while the bot is thinking) and it replies back the window is opened but the view is not fully visible
    photo_2023-10-31_14-36-19

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

4 participants