-
Notifications
You must be signed in to change notification settings - Fork 73
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃 Update webhook edit page #3785
Conversation
33ccc08
to
657ddba
Compare
hidden_field_html + input + label + description | ||
end | ||
|
||
return checkbox if options[:nude] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm... is that needed? I don't notice any changes if I drop this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I makes the resulting HTML exactly like Patternfly 4, but like you say, it doesn't affect either the layout or the tests so I will remove it.
div class="pf-c-form__section-title" aria-hidden="true" Webhooks endpoint | ||
div class="pf-c-form__group" | ||
- show_action = @webhook.persisted? && @webhook.url.present? | ||
= form.input :url, as: :patternfly_input, action:(show_action ? { title: 'Ping!', 'data-ping-url': provider_admin_webhooks_path } : nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's kinda weird, that you need to actually enable webhooks, and set the URL, and save the form, and only then the Ping button will appear. But that was the previous behavior also, so it's fine.
Given they go to the new webhook page | ||
And there shouldn't be a button to "Ping!" | ||
When the form is submitted with: | ||
| URL | http://google.com | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get why we are using google.com
in our examples 馃檭 maybe it needs to be changed to something more redhatt-y or 3scale-ey
but this was like this before, so... OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yes! In fact I meant to change it, but cucumbers sucked all my energy and I forgot. I will do it asap.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
馃憤
27e4619
to
28c5cbf
Compare
THREESCALE-10268: Account Settings > Integrate > Webhooks
Before:
After: