Commit Graph

206 Commits

Author SHA1 Message Date
Kelly McDonald 062b6e853a Added better looking dialog box 2021-01-26 10:00:13 -05:00
Kelly McDonald 763fffbaa0 Added warning when the back arrow is hit but the file is not saved. I would like to use a better looking confirm box if available. 2021-01-25 09:58:19 -05:00
Kelly McDonald 216dcb9fc0 Make changes so that file upload is easier to do 2021-01-25 09:45:20 -05:00
Kelly McDonald 65e89f1cac update a comment - I am wondering if I can get away from doing all of the this.draftXml stuff and change the name of the isNew variable to this.isChanged and clean it up a bit 2021-01-21 10:49:25 -05:00
Kelly McDonald 1abb796637 If we create a new file, and it dies when we try to save it,
make sure that the save button is still enabled, and make sure we have the ability to save it. (previously, it would not save after the first error)
2021-01-21 10:47:09 -05:00
Kelly McDonald 0c8d8a704c The save button should be enabled when:
a new BPMN or DMN file is created OR
an existing file is modified (shape moved, property edited, renamed, etc.)
The save button should be disabled when:
an existing file is loaded (but not modified yet)
a new file is saved (but not modified after save)

I have tested and I think I've got everything working.
2021-01-21 08:56:11 -05:00
mike cullerton 09687e88b2 Images for Cancel Documentation in Wiki 2020-11-20 10:47:20 -05:00
Dan Funk 28ddf68f68 Modified the home page of the modeler to show a menu on the left hand side that allows navigation between workflow specifications. Back button from the editor takes you back to the home page with the correct spec selected for quicker editing. 2020-09-02 13:57:18 -04:00
Dan Funk 55a3308334 Fixing a failing test. 2020-09-01 10:20:26 -04:00
Dan Funk b97c5fe396 Allow validation of workflow while viewing a diagram. 2020-08-27 14:10:23 -04:00
Aaron Louie 7f96ad5653 Makes an arbitrary change to the opened file to enable save button 2020-08-11 16:45:07 -04:00
Aaron Louie 0b14a0e101 Fixes failing e2e test 2020-07-31 16:35:32 -04:00
Aaron Louie d7ff9f25b2 Fixes "No NgModule metadata found for 'AppModule' error" 2020-07-16 10:34:11 -04:00
Aaron Louie d4e57b3c34 Adds gtag code to resolve occasional unit test failures from race condition 2020-07-05 10:21:38 -04:00
Aaron Louie 95498829fb Semicolon 2020-06-15 15:03:28 -04:00
Aaron Louie b95d4197fd Sets site title 2020-06-14 12:33:21 -04:00
Aaron Louie 100b94800c Updates sartography-workflow-lib 2020-06-13 09:30:16 -04:00
Aaron Louie 9d9c52b9d8 Injects title 2020-06-12 16:29:35 -04:00
Aaron Louie 2872fd4ec2 Forgot a word 2020-06-07 22:42:47 -04:00
Aaron Louie 793ce28ff1 Updates sartography-workflow-lib. Adds sentry. 2020-06-07 22:22:24 -04:00
Aaron Louie 29339c5709 Injects Google Analytics tag via environment variable. Prevents gtag race condition from sporadically causing failing unit tests 2020-06-02 23:27:41 -04:00
Aaron Louie 431973f2b9 Fixes broken favicon and file icons when baseHref is not '/' 2020-06-02 23:10:31 -04:00
Aaron Louie 987f2c2fc8 Cleans up visual design of API Error display 2020-06-02 22:05:31 -04:00
Aaron Louie 2b3f6d14d4 Adds favicon. Displays error codes in more human-readable fashion. 2020-06-02 21:52:15 -04:00
Aaron Louie c900422206 Catches and displays API Errors in the UI 2020-06-02 21:12:03 -04:00
Aaron Louie 6784b6ca1e Checks for user 2020-06-02 00:23:50 -04:00
Aaron Louie 34ffe430a6 Wrong key 2020-06-02 00:13:12 -04:00
Aaron Louie cb09d4d460 Injects GA key via environment variable. Fixes GA service imports. 2020-06-01 23:49:21 -04:00
Aaron Louie cb5b76c92f Adds Google Analytics 2020-06-01 23:15:11 -04:00
Dan Funk de5f5d1003 changing the way the token is passed. 2020-05-29 04:48:18 -04:00
Aaron Louie c03cbbc72e Brings in style settings from frontend for consistency 2020-05-27 14:55:10 -04:00
Aaron Louie 9c17649371 Cleans up visual design of header and reference files screen 2020-05-27 12:32:21 -04:00
Aaron Louie c406cbcc00 Adds logo and site title. Adds file icons 2020-05-26 21:17:18 -04:00
Aaron Louie fba504d978 Fixes failing unit tests 2020-05-26 15:38:19 -04:00
Dan Funk 3a76a077b5 Allow this app to function under /bpmn url.
Drop the login page all together, depend on the error interceptor to detect a logout, and redirect via shibboleth to the backend to get logged back in again.
2020-05-26 13:43:31 -04:00
Aaron Louie cd51cf3b5b Disables APP_BASE_HREF provider 2020-05-26 10:01:28 -04:00
Aaron Louie 6ae42b761b Merge branch 'rrt/dev' into dev 2020-05-23 14:46:57 -04:00
Aaron Louie 0aab80522a Enables save button when decision table is altered 2020-05-23 14:46:32 -04:00
Aaron Louie 4a71a552d6 Uses error interceptor to handle redirecting to login 2020-05-23 13:37:17 -04:00
Aaron Louie 13b47ba894 Redirects to login on production if no user found. 2020-05-23 12:15:28 -04:00
Aaron Louie 2c96537554 Removes getting the window location pathname, because it screws up the session redirect 2020-05-22 15:28:15 -04:00
Aaron Louie 2cde2364d7 Sets base href 2020-05-22 14:58:16 -04:00
Aaron Louie bc9c234903 Signs in with redirect to login and fixes failing tests 2020-05-22 08:15:25 -04:00
Aaron Louie 96903b5fcd Adds unit tests 2020-05-18 20:59:38 -04:00
Aaron Louie d5cfbf238d Updates sartography-workflow-lib. Adds reference file editing screen. Fixes BPMN file update mechanism. 2020-05-18 19:56:21 -04:00
Aaron Louie e3214aa5dd Properly sets defaults for environment variables 2020-05-18 19:55:45 -04:00
Aaron Louie 6156a99f67 Allow upload of .doc, .xls, & .xlsx 2020-05-18 13:42:02 -04:00
Aaron Louie c5678e6a12 Removes unnecessary OnInit 2020-05-14 10:37:35 -04:00
Aaron Louie 537dc4aae2 Updates sartography-workflow-lib 2020-05-13 22:56:56 -04:00
Aaron Louie 04be04fbe4 Generates SVG on save. Doesn't save it anywhere yet, though. 2020-05-12 22:19:35 -04:00
Aaron Louie 8dbcacfb4a Adds environment variable that determines which route is used as "home" 2020-05-12 22:19:13 -04:00
Aaron Louie 927356da9d Gets signed-in state from API 2020-05-11 16:22:16 -04:00
Aaron Louie 2b9e99a3db Checks whether user is logged in 2020-05-11 12:06:30 -04:00
Aaron Louie ded3c899e5 Removes GA key 2020-04-15 10:14:10 -04:00
Aaron Louie 0b7851bc0b Removes curly braces from envsubst template strings 2020-04-15 09:47:33 -04:00
Aaron Louie 00ad016535 Adds ENV 2020-04-14 16:57:56 -04:00
Aaron Louie 41b399e8a3 Replaces environment files with a single runtime environment file that pulls in environment variables. 2020-04-14 15:42:07 -04:00
Aaron Louie 4dfcd0b010 Removes unnecessary semicolon 2020-04-13 13:14:08 -04:00
Aaron Louie e0e3cba538 Refactors, fixes bugs, and adds tests for changing spec and category display orders 2020-04-13 12:13:44 -04:00
Aaron Louie f9b0e42115 Adds buttons to change display_order of workflow specs and categories 2020-04-10 10:07:39 -04:00
Aaron Louie 42c268bcc2 Updates sartography-workflow-lib. Fixes all kinds of test failures resulting from change in file data API method. 2020-04-08 17:15:08 -04:00
Aaron Louie fff410fe13 Displays all error text 2020-04-07 16:02:35 -04:00
Aaron Louie e1240912bc Displays master status spec separately from other specs. 2020-04-01 09:53:22 -04:00
Aaron Louie 336c5d4656 Sorts workflow spec categories in display order. Updates is_status to is_master_spec 2020-03-30 15:03:55 -04:00
Aaron Louie 30b10f252a Tidying up 2020-03-30 13:38:27 -04:00
Aaron Louie ace852b732 Adds button to validate workflow spec. Displays validation errors in a bottom sheet. 2020-03-30 12:20:56 -04:00
Aaron Louie a3c9b83dc6 Adds category display order 2020-03-30 08:47:16 -04:00
Aaron Louie 616d2ad0d8 Enables file uploading. Refactors file dialog. 2020-03-25 23:31:11 -04:00
Aaron Louie 260d5af43d Updates sartography-workflow-lib. Updates file data and loads new file meta. Fixes broken tests. 2020-03-24 22:32:03 -04:00
Aaron Louie 4deb25eef7 Adds file field 2020-03-24 14:33:45 -04:00
Aaron Louie 19931973f0 Enables save button when DMN is modified. 2020-03-24 14:33:30 -04:00
Aaron Louie 1b8bc199b8 Sets one workflow spec as master status spec. 2020-03-23 14:08:13 -04:00
Aaron Louie 00f3bba65d Adds new file. Updates existing file 2020-03-23 13:02:03 -04:00
Aaron Louie 87dd8f7dc3 Prevents canvas bug. 2020-03-23 13:01:31 -04:00
Aaron Louie 3886c37c72 Fixes stupid bug 2020-03-20 17:45:15 -04:00
Aaron Louie c0fa0c7eea Fixes failing tests 2020-03-20 17:22:23 -04:00
Aaron Louie 0915c9021d Removes file upload from dialog for now. 2020-03-20 17:08:49 -04:00
Aaron Louie afca7cece8 WIP: Moves util methods to sartography-workflow-lib. Attempts to get file dialog working. 2020-03-20 16:49:17 -04:00
Aaron Louie ced9a852e8 Uses sartography forms library 2020-03-19 16:01:57 -04:00
Aaron Louie 05cf7ad0db Updates sartography-workflow-lib. 2020-03-19 15:51:43 -04:00
Aaron Louie 9544b7e730 Checks if id is defined before updating. 2020-03-19 10:37:47 -04:00
Aaron Louie 8d98b78eb7 Edits app title 2020-03-19 10:29:01 -04:00
Aaron Louie 3f23d972b6 Adds tests for workflow spec categories 2020-03-19 10:28:51 -04:00
Aaron Louie d4ef749b1c Fixes failing tests 2020-03-18 13:33:00 -04:00
Aaron Louie d4d43537d6 Edits existing non-BPMN workflow spec file details 2020-03-18 13:11:44 -04:00
Aaron Louie d0f4916667 Adds delete workflow spec category dialog. Shows edit/delete buttons on hover.. 2020-03-18 11:33:12 -04:00
Aaron Louie 84eb6075d4 Adds workflow spec category dialog. 2020-03-16 16:36:51 -04:00
Aaron Louie 7c1dd01a4d Adds workflow spec category dialog 2020-03-16 16:10:34 -04:00
Aaron Louie 95fbced144 Changes fields back to outline style 2020-02-28 11:16:53 -05:00
Aaron Louie 2ec2ebbb49 Puts display name in h1 tag 2020-02-25 16:42:36 -05:00
Aaron Louie 9f8cce615d Adds a semicolon 2020-02-25 16:38:59 -05:00
Aaron Louie 4e256ad17c Fixes sporadically-failing unit tests (I hope) 2020-02-25 16:34:55 -05:00
Aaron Louie e7e568bc8a Fixes sometimes-broken unit tests 2020-02-25 15:33:25 -05:00
Aaron Louie cc4fe0df86 Fixes broken tests, build warnings, and deprecated TestBed.get errors 2020-02-25 15:03:22 -05:00
Aaron Louie a3b3a69096 Updates to Angular 9 2020-02-25 13:56:05 -05:00
Aaron Louie 73b591e898 Imports SartographyWorkflowLibModule, rather than SessionRedirect component. Changes staging production flag to false (for now). 2020-02-25 09:48:45 -05:00
Aaron Louie fbbe830218 Adds some meaningful e2e tests. 2020-02-24 17:15:25 -05:00
Aaron Louie d39e414962 Fixes broken unit tests. Updates sartography-workflow-lib. 2020-02-24 16:43:03 -05:00
Aaron Louie fe1a481f43 Adds navbar, footer, and Material theme 2020-02-24 15:20:18 -05:00
Aaron Louie f9a47e36f7 Adds fake sign-in and sign-out components 2020-02-24 14:19:20 -05:00