Commit Graph

14 Commits

Author SHA1 Message Date
jbirddog 5bf3ea0db2
Detect duplicate process ids when uploading/creating a new file (#1581)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-22 12:18:44 -04:00
jasquat 9147a8db8c
Use vite to build (#1390)
* some base updates for vite w/ burnettk

* i can log in w/ burnettk

* a couple more fixes w/ burnettk

* make sure selectedTabIndex has been set before using it w/ burnettk

* fixed active-users db issue, added type module to package json to fix prerender issues, and various other issues w/ burnettk

* fixed issues with building and running from compiled w/ burnettk

* pyl

* eslint fix is running and removed both inferno and navigationBar warnings

* vim likes the Dockerfile suffix by default

* use process.env.HOME

* probably do not need alias

* a little clean up and fixed font warnings w/ burnettk

* updated elements to remove warnings in the console w/ burnettk

* fixed es lint issues w/ burnettk

* update docker build in frontend w/ burnettk

* set the specific tag of nginx w/ burnettk

* build docker imgaes for this branch to test w/ burnettk

* added vitest and updated Dockerfile to be nginx w/ burnettk

* tests are passing w/ burnettk

* add prefresh and more keys

* added cypress-vite to attempt to get cypress working again

* some coderabbit suggestions

* hopefully there is no reason to use PUBLIC_URL at all when using vite

* use the correct location of the index file in the docker image

* spaces are fine in index.html file variable declaration

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-15 14:22:34 -04:00
danfunk 02bfa701c5 run_pyl, and a little cleanup. 2023-05-16 15:29:43 -04:00
Dan 4cbf4e456b a whole bunch of front end and backend changes that got mangled. 2023-04-26 16:22:50 -04:00
Dan 9a0ef59d93 * Scroll to the top on each update of a process result.
* When displaying an error, scroll to the top of the page.
* Rename a few of the filter titles to better match the titles of the table on the process instances list page.
* Add error_message to the task object - so if a task is in an error state and has a message, we send it to the front end.
* Handle errors on the Interstitial page - so if an error happens during execution it is diplayed, and if an error happened previously, we show it.
* Return the last Errored Tasks if no READY or WAITING tasks exists when calling the Interstitial endpoint.
2023-04-22 15:38:51 -04:00
Dan 5c0e6084ab * Because end events won't always have information, allow the interstitial api endpoint to return the last task, even if it doesn't have any end user information. This prevents us from just redirecting everthing back to the home page and encourages better end event messaging.
* Cleaning up icons so they are a little smaller and more consistent.
* Always show that action column.
* Improve the state managment and layout of the interstitial page.
2023-04-20 15:27:32 -04:00
Dan 5297e4c9cc Add lock icon 2023-04-18 19:36:45 -04:00
Dan 02e8add28f cleaing up the design a little bit so it looks pretty and in keeping with the rest of the site. 2023-04-18 16:58:59 -04:00
jasquat f00b2e9f7d added script to build frontend so it can add version info to the index.html file w/ burnettk 2023-04-11 15:48:34 -04:00
jasquat 454528d55b attempt to get version info in frontend w/ burnettk 2023-04-07 16:30:44 -04:00
jasquat fb94d5c77a allow setting configs for the frontend through env vars w/ burnettk 2023-02-07 17:21:54 -05:00
burnettk b0b5ccf74d get the language a bit closer 2022-12-24 00:07:17 -05:00
jasquat 4878d2329b mypy w/ burnettk cullerton 2022-12-08 17:12:19 -05:00
Jon Herron d3efb6cfb9 Merge commit '2382c3f0ab9502dddb9a3f6a8b32981f92bedc18' as 'spiffworkflow-frontend' 2022-10-12 10:21:49 -04:00