27 Commits

Author SHA1 Message Date
jasquat
fe2a8da9e9
date-range-fix (#1673)
* add debounce to date input fields in date range picker to properly format dates w/ burnettk

* use descriptive ruff ids for pre-commit w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-04 11:26:40 -07: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
jasquat
0da550d412
add in better message for unsupported date format 2024-01-03 10:42:54 -05:00
jasquat
3c1cf4380d
feature/support-more-date-formats (#835)
* added support for Month names and abbreviations in frontend

* corrections pointed out by coderabbit

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-02 10:16:00 -05:00
jasquat
18600189c8 Feature/background proc with celery (#788)
* WIP: some initial test code to test out celery w/ burnettk

* some cleanup for celery and added base model to put tasks waiting on timers

* removed dup bpmn file

* some more cleanup and added strategy to queue instructions

* some minor code changes w/ burnettk

* remove the unused next_task key from api calls since nobody uses it w/ burnettk essweine

* added migration for future tasks and added test to make sure we are inserting into it w/ burnettk essweine

* ensure future task run at time can be updated w/ burnettk

* added table to queue instructions for end user in w/ burnettk

* added test to ensure we are storing instructions for end users w/ burnettk

* added progress page to display new instructions to user

* ignore dup instructions on db insert w/ burnettk

* some more updates for celery w/ burnettk

* some pyl and test fixes w/ burnettk

* fixed tests w/ burnettk

* WIP: added in page to show instructions on pi show page w/ burnettk

* pi show page is fully using not interstitial now w/ burnettk

* fixed broken test w/ burnettk

* moved background processing items to own module w/ burnettk

* fixed apscheduler start script

* updated celery task queue to handle future tasks and upgraded black and set its line-length to match ruff w/ burnettk

* added support to run future tasks using countdown w/ burnettk

* build image for celery branch w/ burnettk

* poet does not exist in the image w/ burnettk

* start blocking scheduler should always start the scheduler w/ burnettk

* add init and stuff for this branch

* make this work not just on my mac

* send other args to only

* added running status for process instance and use that on fe to go to show page and added additional identifier to locking system to isolate celery workers better w/ burnettk

* fixed typing error that typeguard found, not sure why mypy did not w/ burnettk

* do not check for no instructions on interstitial page for cypress tests on frontend w/ burnettk

* do not queue process instances twice w/ burnettk

* removed bad file w/ burnettk

* queue tasks using strings to avoid circular imports when attmepting to queue w/ burnettk

* only queue imminent new timer events and mock celery

* some keyboard shortcut support on frontend and added ability to force run a process instance over the api w/ burnettk

* some styles added for the shortcut menu w/ burnettk

* pyl w/ burnettk

* fixed test w/ burnettk

* removed temporary celery script and added support for celery worker in run server locally w/ burnettk

* cleaned up migrations w/ burnettk

* created new migration to clean up old migrations

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-12-05 11:41:59 -05:00
jasquat
4e6ba9eb9d set the default date format back to y-m-d w/ burnettk 2023-07-14 11:33:12 -04:00
jasquat
8c9a4be4aa ensure we convert date ranges to ymd before saving to the task-data w/ burnettk 2023-07-14 11:28:00 -04:00
jasquat
bc8efc54a3 added a date range widget to frontend w/ burnettk (#392)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-14 15:46:34 +05:30
jasquat
78264e755e some updates to help support different domains w/ burnettk 2023-05-23 16:58:58 -04:00
jasquat
c10cc5035c allow overriding the backend url on frontend w/ burnettk 2023-04-26 13:31:12 -04:00
jasquat
38a9816781 display placeholder date as lowercase only 2023-04-21 09:26:49 -04:00
jasquat
cafc7209a0 allow setting date format using an env var at boot time w/ burnettk 2023-04-11 17:25:46 -04:00
jasquat
4c46104202 added ability to display the environment in the frontend header bar w/ burnettk 2023-02-17 14:35:13 -05:00
jasquat
fb94d5c77a allow setting configs for the frontend through env vars w/ burnettk 2023-02-07 17:21:54 -05:00
79fb06a950 frontend: use /api subpath instead of subdomain
Because buying certificates with multiple SANs every time you want to
deploy an envrionment is a pain the ass and expensive.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-31 10:37:07 +01:00
jasquat
4224916917 remove several debug print statements 2023-01-12 10:48:42 -05:00
jasquat
762d15ffa2 remove unneeded protocol variable w/ burnettk 2023-01-11 17:29:08 -05:00
jasquat
6b5087c128 debugging cookies w/ burnettk 2023-01-11 14:52:12 -05:00
Dan
a0bbab43d0 A hot path that will assume the backend is running on a port that is one less than the front end port (rather than assuming 7000)
Updating the docker-compose for all of SpiffArena so that it will fire up on ports 8000 -> 8004 rather than 7000 which has a common conflict with Apple AirPlay
2022-12-21 11:06:09 -05:00
jasquat
20ca5a2978 filtering by metadata works w/ burnettk 2022-12-02 13:47:04 -05:00
jasquat
82598a9e7e times on instance list table are working now w/ burnettk 2022-11-17 16:05:54 -05:00
jasquat
8ae9179a64 use error as a status instead of faulted w/ burnettk 2022-11-10 15:55:17 -05:00
jasquat
427973a4aa fixed up the process instance show page and moved contents of scss to css file and load that last w/ burnettk 2022-11-10 15:44:58 -05:00
jasquat
74976ec6df add date ranges for process instances search w/ burnettk 2022-11-02 12:42:49 -04:00
jasquat
d0e56a2ea1 a simple date picker w/ burnettk 2022-11-01 17:30:55 -04:00
burnettk
efb162bcd5 Merge commit '8d86fe710d083e1d5b2f031ddcf3443b044785e3' 2022-10-17 17:18:24 -04:00
Jon Herron
d3efb6cfb9 Merge commit '2382c3f0ab9502dddb9a3f6a8b32981f92bedc18' as 'spiffworkflow-frontend' 2022-10-12 10:21:49 -04:00