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

Release 4.0.0 #179

Draft
wants to merge 392 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
392 commits
Select commit Hold shift + click to select a range
07f6705
feat: add joyride
timrbula Aug 10, 2023
a6cf796
WIP - Home styling
tlawrie Aug 13, 2023
d13a733
:bug: fix Team Switcher
tlawrie Aug 13, 2023
f33f056
Add overflow options to TeamCard and invalidate profile on leave team
tlawrie Aug 13, 2023
51ff50e
:bug: fix Home styling
tlawrie Aug 15, 2023
2759c43
Minor styling adjustments
tlawrie Aug 16, 2023
7fb04c9
WIP - Task Templates
tlawrie Aug 17, 2023
f3a9c0f
Fixed TaskTemplate service endpoints
tlawrie Aug 17, 2023
4d9991b
Additional TaskTemplate component changes
tlawrie Aug 17, 2023
387f469
Additional TaskTemplate component changes
tlawrie Aug 17, 2023
99a68c8
Additional TaskTemplate component changes
tlawrie Aug 17, 2023
06c8bec
Changes for TaskTemplates
tlawrie Aug 17, 2023
cc5e345
Changes for TaskTemplates
tlawrie Aug 17, 2023
f39d845
Changes for TaskTemplates
tlawrie Aug 17, 2023
4cbb02d
feat: update modal working again
timrbula Aug 16, 2023
75e5f98
feat: have it save
timrbula Aug 17, 2023
6f03a05
chore: remove some comments
timrbula Aug 17, 2023
09533d6
Changes for TaskTemplates
tlawrie Aug 17, 2023
b85250b
Changes for TaskTemplates
tlawrie Aug 17, 2023
05f94c1
feat: update to put
timrbula Aug 17, 2023
296eb50
:bug: fix icon saving on task template
tlawrie Aug 18, 2023
46d366f
:wrench: update github workflow
tlawrie Aug 18, 2023
f7690fd
:bug: update TaskTemplate query invalidation
tlawrie Aug 18, 2023
2f8c56b
Added status to WorkflowCard
tlawrie Aug 20, 2023
8df25c3
Added status to WorkflowCard
tlawrie Aug 20, 2023
780b9a0
feat: remove lock/unlock on diagram
timrbula Aug 30, 2023
b7d0c2a
feat: remove all cancellable requests
timrbula Aug 31, 2023
61e4593
feat: wip cleanup
timrbula Aug 31, 2023
d48c9af
fix: have it run again
timrbula Aug 31, 2023
09a5a98
feat: more cleanup
timrbula Aug 31, 2023
395b457
Revert Team Card status
tlawrie Sep 5, 2023
ecd7c25
Adjust Workflow Editor TaskTemplateList
tlawrie Sep 5, 2023
dce583f
Remove inactive task templates from the editor calls
tlawrie Sep 5, 2023
4444cdf
WIP - Run workflow via Workflows screen
tlawrie Sep 6, 2023
7027f0f
WIP - Run workflow via Workflows screen
tlawrie Sep 6, 2023
f844521
WIP - Run workflow via Workflows screen
tlawrie Sep 6, 2023
8b5f376
:bug: added manual trigger type to WorkflowRun request
tlawrie Sep 6, 2023
6d0bdcf
WIP - updated Execution AppLink
tlawrie Sep 6, 2023
c5b9062
Added TimedOut as a status
tlawrie Sep 6, 2023
243edc4
Updated Activity Status
tlawrie Sep 7, 2023
530da33
feat: run scheduled wf wip
timrbula Sep 7, 2023
0471990
WIP - Workflow Parameters
tlawrie Sep 11, 2023
6d13daf
feat: get params working
timrbula Sep 12, 2023
cd717c8
feat: configure working
timrbula Sep 12, 2023
6d9acff
Add Team Create capabilities
tlawrie Sep 14, 2023
82c721b
Added Team Creation + Validation
tlawrie Sep 14, 2023
ceca229
feat: fix a few things
timrbula Sep 15, 2023
e7f370f
Added Team Creation + Validation
tlawrie Sep 15, 2023
2e5c700
Merge branch 'release-4.0.0' of github.com:boomerang-io/flow.client.w…
tlawrie Sep 15, 2023
5a13098
WIP - Team Name and Display Name
tlawrie Sep 16, 2023
bc5eb7b
Team Name and DisplayName migration
tlawrie Sep 18, 2023
f5136d1
Team Name and DisplayName migration
tlawrie Sep 18, 2023
5185ff9
Team Name and DisplayName migration
tlawrie Sep 18, 2023
60b4732
Fix Team Detailed
tlawrie Sep 18, 2023
42a3eb7
Switched admin to system path
tlawrie Sep 19, 2023
8800580
Switched admin to system path
tlawrie Sep 19, 2023
9fd4271
feat: config
timrbula Sep 19, 2023
0456fd3
Fix break AdminTasks import
tlawrie Sep 19, 2023
a60b013
Fix Activity Date Range
tlawrie Sep 19, 2023
f4323ab
WIP - Create Workflow
tlawrie Sep 19, 2023
c19741f
WIP - Create Workflow
tlawrie Sep 19, 2023
1918858
WIP - Create Workflow
tlawrie Sep 19, 2023
6f6f326
Updated Admin paths
tlawrie Sep 19, 2023
a2ee4fa
Updated Admin paths
tlawrie Sep 20, 2023
a1eba1f
Fix Create Task Template and Import Workflow
tlawrie Sep 20, 2023
3a0de1a
Fix create TaskTemplate
tlawrie Sep 20, 2023
0d30ceb
Fix create TaskTemplate
tlawrie Sep 20, 2023
4bc46fb
Fix create TaskTemplate
tlawrie Sep 20, 2023
c5e4b3d
Fix create TaskTemplate
tlawrie Sep 20, 2023
b36da76
WIP - Fixing Workflows and TaskTemplates
tlawrie Sep 21, 2023
f4bce15
WIP - Fixing Workflows and TaskTemplates
tlawrie Sep 21, 2023
d782216
WIP - Fixing Workflows and TaskTemplates
tlawrie Sep 21, 2023
4ffc755
Update Workflow Import
tlawrie Sep 21, 2023
20da630
Update Workflow Import
tlawrie Sep 21, 2023
e133b1f
feat: basic auto layout
timrbula Sep 21, 2023
7ab72b3
feat: mostly working
timrbula Sep 21, 2023
15f28b9
feat: remove more of react dag
timrbula Sep 21, 2023
c7cc6b2
fix: import
timrbula Sep 21, 2023
9ebf310
feat: more fixes
timrbula Sep 22, 2023
7ecf192
Updated Import TaskTemplate
tlawrie Sep 22, 2023
c04ec81
Updated Import TaskTemplate
tlawrie Sep 22, 2023
2990b2f
Fix up Admin teams listing
tlawrie Sep 24, 2023
de45afb
Fix old version for Task Template
tlawrie Sep 24, 2023
25946e1
Fix TaskTemplate Editor
tlawrie Sep 24, 2023
1d3fa2f
Fix git merge
tlawrie Sep 25, 2023
0335364
Fix download json on TaskTemplate Editor
tlawrie Sep 25, 2023
eecd6ef
WIP - Fix schedules
tlawrie Sep 25, 2023
7c6aab4
Fix style and lock
tlawrie Sep 25, 2023
7dd7adb
WIP - Fix Workflow Schedules
tlawrie Sep 25, 2023
e1658c8
Fix dates in Activity & Insights
tlawrie Sep 25, 2023
8644eab
WIP - Schedules
tlawrie Sep 26, 2023
6455fb2
feat: switches and links working properly
timrbula Sep 26, 2023
b8cb046
chore: fix types
timrbula Sep 26, 2023
9c719a2
WIP - Schedules
tlawrie Sep 26, 2023
244d949
WIP - Schedules
tlawrie Sep 26, 2023
a2d8231
fix: edges
timrbula Sep 26, 2023
9c0da8c
fix: decision edge too
timrbula Sep 26, 2023
6f973ed
feat: bunch of custom nodes
timrbula Sep 26, 2023
7e51941
feat: use results from node
timrbula Sep 26, 2023
bd86a24
WIP - Workflow Tokens
tlawrie Sep 26, 2023
ab25c7d
WIP - Workflow Tokens - Added in check of if feature enabled
tlawrie Sep 26, 2023
8a88609
:fire: removed deprecated Types
tlawrie Sep 26, 2023
7087716
Consolidated TokensSection used by Workflow and User
tlawrie Sep 26, 2023
5dcda36
feat: cleanup
timrbula Sep 26, 2023
69408f7
feat: approval node
timrbula Sep 26, 2023
d7fcac7
fix: forms
timrbula Sep 26, 2023
7884d65
Minor adjustments to Tokens
tlawrie Sep 26, 2023
4dd9a11
fix: some bugs
timrbula Sep 26, 2023
52853fe
feat: more working
timrbula Sep 28, 2023
4d45010
chore: remove logs
timrbula Sep 28, 2023
c299172
style: fix nodes
timrbula Sep 28, 2023
d8dd282
Default activity duration for less than 1 second
tlawrie Oct 2, 2023
4ea8d80
feat: make it work
timrbula Oct 3, 2023
e00ed6c
fix: revision switching
timrbula Oct 3, 2023
d08eda1
Word changes for Team Params
tlawrie Oct 3, 2023
28e1993
feat: persist state of react flow
timrbula Oct 6, 2023
c74a8ed
WIP - Trigger Configuration
tlawrie Oct 6, 2023
9975a6b
feat: get execution in better shape
timrbula Oct 13, 2023
38778cd
Added WorkflowRun stub data
tlawrie Oct 14, 2023
fc810fb
Added WorkflowRun stub data
tlawrie Oct 14, 2023
ee4a3fd
Add UserType constant back
tlawrie Oct 14, 2023
812e6fa
Release 4.0.0 integrations (#189)
tlawrie Oct 19, 2023
9549842
WIP - Integrations page
tlawrie Oct 19, 2023
6f14987
WIP - Integrations
tlawrie Oct 19, 2023
df81b27
WIP - Integrations
tlawrie Oct 19, 2023
0e7df2e
WIP - Integrations
tlawrie Oct 19, 2023
3eb3642
WIP - Integrations
tlawrie Oct 19, 2023
c63403f
WIP - Integrations - Cleanup
tlawrie Oct 19, 2023
f1bb9e4
WIP - Integrations - adjust API context
tlawrie Oct 19, 2023
a2b796b
WIP - Integrations - adjust API context
tlawrie Oct 20, 2023
6c6769e
WIP - Integrations - adjust API context
tlawrie Oct 20, 2023
709324e
WIP - Integrations
tlawrie Oct 20, 2023
e181a02
WIP - Integrations
tlawrie Oct 20, 2023
aa4e5a5
WIP - Integrations
tlawrie Oct 21, 2023
8ca0f6d
Refactor Workflow Designer Configure tab
tlawrie Oct 23, 2023
236d4c6
Migrated Workflow Editor Configure to a settings nav
tlawrie Oct 23, 2023
b52a6f0
Adjusments to the new configure tab for Workflows
tlawrie Oct 23, 2023
6e8e99a
WIP - Workflow Configure
tlawrie Oct 23, 2023
6c9745c
WIP - Workflow Configure
tlawrie Oct 23, 2023
10aa683
WIP - Workflow Configure
tlawrie Oct 23, 2023
67596c4
WIP - Integrations - fixed stubs
tlawrie Oct 23, 2023
80251cb
style: fix a bunch of layout issues
timrbula Oct 24, 2023
9b15adf
style: fix configure
timrbula Oct 24, 2023
21607f5
WIP - Workflow Configure screen
tlawrie Oct 24, 2023
ba74bbb
chore: fix merge conflict
timrbula Oct 24, 2023
f82441d
fix: move back to h2
timrbula Oct 24, 2023
12bbb97
Minor word updates
tlawrie Oct 24, 2023
455c763
Adjusted connect vs link wording
tlawrie Oct 25, 2023
0625e40
Updated Trigger API context
tlawrie Oct 25, 2023
e9fc4d7
WIP - New trigger model
tlawrie Oct 25, 2023
ea02a07
feat: configure updates
timrbula Oct 26, 2023
a50ca72
fix: setting value
timrbula Oct 26, 2023
2d193c6
WIP - Trigger config
tlawrie Oct 26, 2023
587e0a9
feat: update depends
timrbula Oct 26, 2023
c806aec
fix: a bunch of things
timrbula Oct 26, 2023
fde97bd
styles: update overflow and tabs
timrbula Oct 26, 2023
db218a0
fix: search
timrbula Oct 26, 2023
e73785c
style: add member alignment
timrbula Oct 26, 2023
8420a50
Fix: Teams to TeamDetail navigation
tlawrie Oct 26, 2023
8767993
fix: workflow card manual trigger check
tlawrie Oct 26, 2023
a5882a1
fix: activity to execution navigation
tlawrie Oct 26, 2023
f6eedef
feat: improve types
timrbula Oct 27, 2023
b7bd5cf
feat: continue with run view
timrbula Oct 27, 2023
c3428ff
fix: global token creation and token types
tlawrie Nov 2, 2023
433fee3
fix: token creation and token types
tlawrie Nov 2, 2023
f3e1131
Additional logging for Triggers config
tlawrie Nov 3, 2023
cbd77c3
fix: workflow github trigger
tlawrie Nov 4, 2023
00abba0
fix: event trigger
tlawrie Nov 6, 2023
3bce71a
Moved tokens inside Workflow Configure
tlawrie Nov 8, 2023
a052abf
Adjusted run options for timeout and retries
tlawrie Nov 9, 2023
b1dc32f
Updated Team Quotas
tlawrie Nov 10, 2023
8b3e03c
Switch Editor Workflow tab to Editor Canvas tab
tlawrie Nov 12, 2023
082f565
Event Doco
tlawrie Jan 10, 2024
bf7dbc4
feat: running locally
timrbula Jan 11, 2024
cab4484
feat: add more steps
timrbula Jan 11, 2024
6517afb
chore: fix space
timrbula Jan 11, 2024
95dbae1
chore: make command
timrbula Jan 11, 2024
daca62f
fix: remove token
timrbula Jan 11, 2024
6e63c77
Updates for the Workflow submit context change
tlawrie Jan 11, 2024
e68fe59
Updated submit workflow context
tlawrie Jan 12, 2024
3814e8f
feat: more working with workflowrun
timrbula Jan 16, 2024
ba1689f
feat: render correctly
timrbula Jan 21, 2024
0cedfe5
chore: rename things
timrbula Jan 22, 2024
2e3becc
feat: fix some things, move some things around
timrbula Jan 22, 2024
06761ea
feat: continue with execution view
timrbula Feb 1, 2024
f070ba1
feat: create team based on action automatically
timrbula Feb 8, 2024
e5d74ef
feat: get more activity to work
timrbula Feb 9, 2024
bd4f4f2
feat: colors
timrbula Feb 10, 2024
9e54c81
Update activate platform
tlawrie Feb 19, 2024
23369c8
feat: push up a few more
timrbula Feb 19, 2024
248189b
feat: actions
timrbula Feb 20, 2024
f6c14c4
feat: kinda working
timrbula Feb 20, 2024
a74a3f0
Fix modal to close on Manual Create
tlawrie Feb 21, 2024
a294a14
feat: more fixes
timrbula Feb 22, 2024
7075d0f
bug: fixed User Token creation from Profile, and TaskTemplate actions…
tlawrie Feb 26, 2024
733308c
bug: fixing template upgrades available
tlawrie Feb 26, 2024
404fd65
Fixing up templateUpgradesAvailable for nodes
tlawrie Feb 26, 2024
f0f4fbd
feat: get approval to work
timrbula Feb 27, 2024
d943616
Minor fixes to the Team Detailed if team is inactive
tlawrie Feb 27, 2024
a4e22bc
Merge branch 'release-4.0.0' of github.com:boomerang-io/flow.client.w…
tlawrie Feb 27, 2024
5b59efe
feat: upgrade node working
timrbula Feb 28, 2024
261d545
fix: workflow modal, version change, properties styles
timrbula Feb 28, 2024
b431e41
fix: partially fix TaskTemplate creation
tlawrie Feb 28, 2024
f234f4b
feat: added support for users preferred display name
tlawrie Feb 28, 2024
f65bd1c
Adjusted Users table to include preferred name
tlawrie Feb 28, 2024
2fac483
fix: minor updates to the team header and search
tlawrie Feb 28, 2024
ee783fd
feat: refactored Task Templates with Team Task Template links
tlawrie Feb 29, 2024
5a4ecdd
feat: refactored Task Templates with Team Task Template links
tlawrie Feb 29, 2024
a7b8196
fix: Activity Todays Numbers query
tlawrie Feb 29, 2024
0a621b8
fix: various fixes including deleting team
tlawrie Mar 3, 2024
0f0e8b9
Further Team updates
tlawrie Mar 7, 2024
f7c0ffa
Major refactor to support TaskTemplates being Tasks, ability to handl…
tlawrie Mar 20, 2024
6335ce8
Major refactor to support TaskTemplates being Tasks, ability to handl…
tlawrie Mar 21, 2024
5d203b9
Major refactor to support TaskTemplates being Tasks, ability to handl…
tlawrie Mar 21, 2024
e3ba2d0
Updated schedule API contexts
tlawrie Mar 25, 2024
60675f8
feat: task template -> task
timrbula Mar 25, 2024
3d360d3
feat: init change to prefix team tasks
timrbula Mar 25, 2024
08c215c
Fix Task Manager
tlawrie Mar 25, 2024
15067ef
Fix Task Manager
tlawrie Mar 25, 2024
f480834
Further refactor of team based services
tlawrie Mar 26, 2024
eaf3230
Refactor Insights
tlawrie Mar 28, 2024
25d15c3
Minor updates to start testing deletion
tlawrie Mar 29, 2024
64d4888
Updated UserProfile to check number of teams prior to deletion
tlawrie Apr 3, 2024
28fb0ff
Updated UserProfile to check number of teams prior to deletion
tlawrie Apr 3, 2024
31b6e37
feat: update styling
timrbula Apr 4, 2024
b6354f9
Cleanup
tlawrie Apr 4, 2024
82d7130
Update Header with Retry
tlawrie Apr 9, 2024
43dd974
feat: getting there
timrbula Apr 9, 2024
bc2f36f
chore: remove
timrbula Apr 9, 2024
a663d86
feat: more style updates
timrbula Apr 9, 2024
274254e
fix: some more layout
timrbula Apr 10, 2024
fe7661c
fix: some more layout
timrbula Apr 11, 2024
cb13d4e
feat: update colors
timrbula Apr 11, 2024
4789ee6
Remove running link color in Activity & fix export workflow
tlawrie Apr 12, 2024
dd1b4f3
Updates for quotas
tlawrie Apr 17, 2024
a251f1a
Quota Fixes
tlawrie Apr 23, 2024
6041f92
Quota Fixes
tlawrie Apr 23, 2024
281f9ee
Quota Fixes
tlawrie Apr 23, 2024
d9309aa
fix: attempt to fix params for Schedules
tlawrie Apr 24, 2024
b47577e
refactor: workflowQuotas to teamQuotas
tlawrie Apr 24, 2024
232a480
refactor: workflowQuotas to teamQuotas
tlawrie Apr 24, 2024
08c0419
fix: view activity for an Action
tlawrie May 3, 2024
9b69d80
fix: render params
timrbula May 13, 2024
0eaef8f
fix: provide value
timrbula May 13, 2024
2d4d9b9
fix: update profile service url
tlawrie Feb 25, 2025
13d7b47
fix: ci + update deps
tlawrie Feb 27, 2025
129f212
fix: ci + update deps
tlawrie Feb 27, 2025
fae0980
fix: ci + update deps
tlawrie Feb 27, 2025
17b45c7
fix: ci + update deps
tlawrie Feb 27, 2025
edc0a6b
fix: task templates
tlawrie Mar 1, 2025
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
Prev Previous commit
Next Next commit
Cleanup
tlawrie committed Apr 4, 2024
commit b6354f9fb2d183a21bf5dbf8e4fe46c9a2ea9eee
2 changes: 1 addition & 1 deletion src/ApiServer/index.js
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@ export function startApiServer({ environment = "test", timing = 0 } = {}) {
return schema.db.availableParameters[0].data;
});

this.get(serviceUrl.getWorkflowTemplates(), (schema) => {
this.get(serviceUrl.template.getWorkflowTemplates(), (schema) => {
return schema.db.workflowTemplates[0];
});

Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ function CreateTemplateWorkflow({ team, workflowList }: CreateTemplateWorkflowPr
const queryClient = useQueryClient();
const history = useHistory();
const workflowQuotasEnabled: boolean = useFeature(FeatureFlag.WorkflowQuotasEnabled);
const workflowTemplatesUrl = serviceUrl.getWorkflowTemplates();
const workflowTemplatesUrl = serviceUrl.template.getWorkflowTemplates();

//WorkflowTemplates are global Tasks only
const queryTasksUrl = serviceUrl.task.queryTasks({ query: "" });
4 changes: 2 additions & 2 deletions src/Components/CreateWorkflow/CreateWorkflow.tsx
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ const CreateWorkflow: React.FC<CreateWorkflowProps> = ({ team, hasReachedWorkflo
<ToastNotification kind="success" title={`Create ${viewType}`} subtitle={`${viewType} successfully created`} />,
);
if (viewType === WorkflowView.Template) {
queryClient.invalidateQueries(serviceUrl.getWorkflowTemplates());
queryClient.invalidateQueries(serviceUrl.template.getWorkflowTemplates());
} else {
queryClient.invalidateQueries(serviceUrl.team.workflow.getWorkflows({ team: team?.name }));
}
@@ -63,7 +63,7 @@ const CreateWorkflow: React.FC<CreateWorkflowProps> = ({ team, hasReachedWorkflo
<ToastNotification kind="success" title={`Update ${viewType}`} subtitle={`${viewType} successfully updated`} />,
);
if (viewType === WorkflowView.Template) {
queryClient.invalidateQueries(serviceUrl.getWorkflowTemplates());
queryClient.invalidateQueries(serviceUrl.template.getWorkflowTemplates());
} else {
queryClient.invalidateQueries(serviceUrl.team.workflow.getWorkflows({ team: team?.name }));
}
4 changes: 2 additions & 2 deletions src/Components/WorkflowCard/WorkflowCard.tsx
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ const WorkflowCard: React.FC<WorkflowCardProps> = ({ teamName, quotas, workflow,
<ToastNotification kind="success" title={`Delete ${viewType}`} subtitle={`${viewType} successfully deleted`} />,
);
if (viewType === WorkflowView.Template) {
queryClient.invalidateQueries(serviceUrl.getWorkflowTemplates());
queryClient.invalidateQueries(serviceUrl.template.getWorkflowTemplates());
} else {
queryClient.invalidateQueries(getWorkflowsUrl);
}
@@ -106,7 +106,7 @@ const WorkflowCard: React.FC<WorkflowCardProps> = ({ teamName, quotas, workflow,
/>,
);
if (viewType === WorkflowView.Template) {
queryClient.invalidateQueries(serviceUrl.getWorkflowTemplates());
queryClient.invalidateQueries(serviceUrl.template.getWorkflowTemplates());
} else {
queryClient.invalidateQueries(getWorkflowsUrl);
}
9 changes: 6 additions & 3 deletions src/Config/servicesConfig.ts
Original file line number Diff line number Diff line change
@@ -84,7 +84,6 @@ export const serviceUrl = {
// postImportWorkflow: ({ query }) => `${BASE_URL}/workflow/import?${query}`,
putActivationApp: () => `${BASE_URL}/activate`,
resourceSettings: () => `${BASE_URL}/settings`,
getWorkflowTemplates: () => `${BASE_URL}/workflowtemplate/query`,
resourceTrigger: () => `${BASE_URL}/trigger`,
getGitHubAppInstallation: ({ id }: IdArg) => `${BASE_URL}/integration/github/installation${id ? "?id=" + id : ""}`,
getGitHubAppInstallationForTeam: ({ team }: TeamArg) => `${BASE_URL}/integration/github/installation${team ? "?team=" + team : ""}`,
@@ -103,6 +102,10 @@ export const serviceUrl = {
putTask: ({ name, replace }: NameArg & Partial<ReplaceArg>) => `${BASE_URL}/task/${name}/?replace=${replace ? replace : false}`,
postValidateYaml: () => `${BASE_URL}/task/validate`,
},
"template": {
getWorkflowTemplates: () => `${BASE_URL}/workflowtemplate/query`,
postWorkflowTemplate: () => `${BASE_URL}/workflowtemplate`,
},
"team": {
deleteTeamMembers: ({ team }: TeamArg) => `${BASE_URL}/team/${team}/members`,
leaveTeam: ({ team }: TeamArg) => `${BASE_URL}/team/${team}/leave`,
@@ -209,9 +212,9 @@ export const resolver = {
data: body,
method: HttpMethod.Post,
}),
postCreateTemplate: ({ body }) => axios.post(serviceUrl.getWorkflowTemplates(), body),
postCreateTemplate: ({ body }) => axios.post(serviceUrl.workflowtemplate.postWorkflowTemplate(), body),
postCreateWorkflow: ({ team, body }) => axios.post(serviceUrl.team.workflow.postCreateWorkflow({ team }), body),
postDuplicateWorkflow: ({ team, workflowId }) => axios.post(serviceUrl.postDuplicateWorkflow({ team, workflowId })),
postDuplicateWorkflow: ({ team, workflowId }) => axios.post(serviceUrl.team.workflow.postDuplicateWorkflow({ team, workflowId })),
postTemplateWorkflow: ({ workflowId, body }) => axios.post(serviceUrl.postDuplicateWorkflow({ workflowId }), body),
postToken: ({ body }) => axios({ url: serviceUrl.postToken(), data: body, method: HttpMethod.Post }),
putApplyTaskTemplate: ({ name, replace, body }) =>
2 changes: 1 addition & 1 deletion src/Features/TemplateWorkflows/TemplateWorkflows.tsx
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ export default function TemplateWorkflows() {
data: templatesWorkflowData,
error: errorTemplatesWorkflow,
isLoading: isLoadingTemplatesWorkflow,
} = useQuery(serviceUrl.getWorkflowTemplates());
} = useQuery(serviceUrl.template.getWorkflowTemplates());

let safeQuery = "";
if (Array.isArray(searchQuery)) {
Loading