From 619f7e41bd9d43d6ec662754e076ee779d557257 Mon Sep 17 00:00:00 2001 From: burnettk Date: Thu, 1 Jun 2023 10:07:01 -0400 Subject: [PATCH] update UX after feedback from team --- .../src/routes/ProcessModelShow.tsx | 60 +++++-------------- 1 file changed, 16 insertions(+), 44 deletions(-) diff --git a/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx b/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx index 8d1be42f9..fa136da5f 100644 --- a/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx +++ b/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx @@ -105,12 +105,6 @@ export default function ProcessModelShow() { }); }, [reloadModel, modifiedProcessModelId]); - // these options are just here as a sort of A/B test to see which UX is better. - // they will be removed once we learn which UX to go with. - const newUx1 = true; - const newUx2 = false; - const newUx2PublishAsIcon = false; - const processInstanceRunResultTag = () => { if (processInstance) { return ( @@ -583,7 +577,7 @@ export default function ProcessModelShow() { a={targetUris.processModelFileCreatePath} ability={ability} > - {newUx1 && addFileComponent()} + {addFileComponent()}
{processModelFileList()} @@ -655,22 +649,21 @@ export default function ProcessModelShow() { confirmButtonLabel="Delete" /> - {newUx2PublishAsIcon && ( - - - - ) : null} ) : null} - - {newUx2 ? addFileComponent() : null} - {processModelFilesSection()}