Skip to content

Conversation

@nh758
Copy link
Contributor

@nh758 nh758 commented Jun 5, 2025

Release Notes

  • Add API Request Service task to processes

Test Status

No test yet, tested locally.

Todo

📝 Not Feature Complete, but enough functionality for webhooks

  • Allow request to be tested in designer
  • JSON response can be mapped to process values
  • Missing Secrets warning (especially after importing an app)
  • UI/UX
    • Validate the URL
    • Validate/format JSON in body

image

@nh758 nh758 requested review from Hiro-Nakamura and wongpratan June 5, 2025 06:38
@nh758 nh758 added the minor Tag Pull Requests to trigger a minor version update label Jun 5, 2025
Copy link
Contributor

@Hiro-Nakamura Hiro-Nakamura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice Job.

Just a few questions to think through...

id: ids.suggest,
view: "mentionsuggest",
symbol: "<",
template: "%= #value# %>",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this template: start with "<%= ..." ?

or does the symbol: "<" do something with this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the way the webix autocomplete works the "<" will already be there, so adding it to the template would output <<%=... in the text.

values.deleteSecrets = this.deleteSecrets;
delete this.deleteSecrets;
}
console.log("VALUES", values);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably not be dumping this on the console.

* @param {string} [header.value]
*/
addHeader(header = {}) {
const uid = AB.Webix.uid(); //this is unique to the page
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thinking about Cypress testing here ... should we use more guessable uids here ... like the header.value, header.header, or a combo: header.header-header.value. so that if we do write tests for this, we can more easily guess and reference these fields?

* @param {object} [obj={}] - The object to modify (or a new object if not provided).
* @returns {object} The modified object with the nested value.
*/
function nestValue(key, value, obj = {}) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice design!

@nh758 nh758 merged commit 28e54fd into master Jun 30, 2025
2 of 4 checks passed
@nh758 nh758 deleted the nh/api-task branch June 30, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Tag Pull Requests to trigger a minor version update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants