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

MACF-7: Add generic action so that custom flows can be seen and edited #142

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
30394e4
MACF-32: Add a generic action so that custom flows can be seen and ed…
pcandia Oct 14, 2020
7f890bf
MACF-33: Replace input field with select from a list of callflow modu…
pcandia Oct 19, 2020
f4ae0ce
MACF-34: Validate against the selected callflow action schema before …
pcandia Oct 21, 2020
4bb0d18
Filter out 'callflows' option'
pcandia Jan 19, 2021
3c8ed90
Merge branch 'master' into MACF-7
pcandia Dec 10, 2021
3b7cb37
fixing missing refs:
Ramos95 Jan 7, 2022
2aa0415
Revert "fixing missing refs:"
Ramos95 Feb 24, 2022
b12eed9
refactor code:
Ramos95 Feb 24, 2022
e88e32c
fixing some minor spacing issues
Ramos95 Feb 24, 2022
41f91ae
Merge branch 'master' into MACF-7
pcandia Mar 15, 2022
411b364
fixing eslint spacing errors
Ramos95 Mar 16, 2022
bc5d704
Fix linter
pcandia Mar 23, 2022
085748e
fixing naming typos
Ramos95 Apr 29, 2022
9d2997a
refator code: implementing review changes
Ramos95 Apr 29, 2022
02b109c
organizing all the code related to json_editor to its own submodule
Ramos95 Sep 14, 2022
fa6943c
removing all the code related to json_editor since now its used as a …
Ramos95 Sep 14, 2022
b13542c
registering the json_editor submodule on appSubmodules array list
Ramos95 Sep 14, 2022
bbb9af9
Merge branch 'master' into MACF-7
pcandia Sep 22, 2022
70e074e
removing arrow function and using lodash map function instead
Ramos95 Sep 22, 2022
f54cec9
simplifying schema storage:
Ramos95 Sep 22, 2022
3b97d35
removing console.log lines
Ramos95 Sep 22, 2022
d125a08
refactoring code: storing fetched schemas on cache
Ramos95 Oct 13, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1150,8 +1150,9 @@ define(function(require) {
action = self.actions[actionName] || {};

this.id = -1;
this.actionName = actionName;
this.module = action.module;
//set actionName to json_editor[] and module to their current module for non supported actions
pcandia marked this conversation as resolved.
Show resolved Hide resolved
this.actionName = _.isEmpty(action) ? 'json_editor[]' : actionName;
this.module = action.module ? action.module : actionName.replace(/\[(.*?)\]/g, '');
this.key = '_';
this.parent = null;
this.children = [];
Expand Down
14 changes: 14 additions & 0 deletions i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,20 @@
"label": "Custom data (optional)",
"help": "These properties will be added to the event and will overwrite existing values"
}
},
"jsonEditor": {
"title": "Json Editor",
joristirado marked this conversation as resolved.
Show resolved Hide resolved
"popupTitle": "Add/Edit json action",
joristirado marked this conversation as resolved.
Show resolved Hide resolved
"name": "Name",
"placeholder": {
"name": "Action Name"
},
"editor": {
"label": "Json data",
joristirado marked this conversation as resolved.
Show resolved Hide resolved
"errorMessages": {
"jsonEditor": "Invalid Content"
}
}
}
},
"oldCallflows": {
Expand Down
Loading