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

Webhook test json is reset each time you test from the admin UI #797

Closed
mooreds opened this issue Aug 7, 2020 · 2 comments
Closed

Webhook test json is reset each time you test from the admin UI #797

mooreds opened this issue Aug 7, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request ux
Milestone

Comments

@mooreds
Copy link
Collaborator

mooreds commented Aug 7, 2020

Webhook test json is reset each time you test from the admin UI

Description

If you are using the webhook test button from the admin ui, you can edit the sample json and then press the test button. The edited json is sent.

However, the textarea is reset to the default json. This is annoying.

Affects versions

I see this with version 1.18.1

Steps to reproduce

Steps to reproduce the behavior:

  1. Login to the admin ui
  2. Go to settings
  3. Go to webhooks
  4. Add a new webhook. Whether it actually exists doesn't matter (I don't think), but mine did.
  5. Click the 'test' link on the index page by your new webhook.
  6. Modify the JSON. I changed 'favorite ship' under data to be xwing.
  7. Click the test button.

The JSON is reset back.

Expected behavior

The JSON is maintained across submissions.

Platform

Tested on FF and Safari on the mac.

Additional context

Workaround: save off your webhook json and just copy and paste it in each time.

Related

Release Notes

When using the Webhook test action in the UI, changes to the example request body were not preserved. Changes will now be preserved across send requests for the browser session. This means a test can be run repeatedly without having to perform the same edits to the default event request body.

@robotdan
Copy link
Member

robotdan commented Sep 8, 2020

We could write the example JSON to local storage so your modifications would be preserved, or just preserve it between requests with an action cookie.

@andrewpai andrewpai added this to the 1.48.0 milestone Jul 28, 2023
@robotdan robotdan removed their assignment Aug 18, 2023
@andrewpai andrewpai self-assigned this Aug 23, 2023
@andrewpai andrewpai added this to Backlog in FusionAuth Issues via automation Sep 1, 2023
@andrewpai andrewpai moved this from Backlog to Designing in FusionAuth Issues Sep 1, 2023
@andrewpai andrewpai moved this from Designing to Code complete in FusionAuth Issues Sep 1, 2023
@robotdan
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ux
Projects
FusionAuth Issues
  
Delivered
Development

No branches or pull requests

3 participants