Commit Graph

129 Commits

Author SHA1 Message Date
jasquat e4bf22f5cf Feature/interstitial summary part 3 (#367)
* throw an error if backend gives a 500 from interstitial page w/ burnettk

* turn unexpected errors for the interstitial page into event stream responses to avoid error misdirection

* pyl

* raise the api_error from the original and make the render_data method private

* Feature/interstitial summary (#337)

* * Process instance logs and messages are now components rather than pages, and are included within tabs on the process instance page, along with the diagram.
* Removed the Zoom and Move modules when showing the readonly
  Diagram.  Assured this readonly view is resized to fit the space when possible.
* Checkbox Widget no longer displays a duplicate label.
* CSS Tweaks
  * All pages are limited to a max display width of 1440, with auto margins to center the main content on the page.
  * "Show" pages, like ProcessInstanceShow, TaskShow have the primary content limited to 1000, also with auto-margins.
  * Paragraphs, headings, blockquotes, list items are limited to a width of 640.
  * Reduced margin bottom on all breadcrumbs.
  * Slightly reduced the width and margin of tiles
  * ordered lists and unordered lists show numbers and bullets now.
* End user Instructions component can, optionally, auto-collapse, so that only a portion is displayed, along with a toggle.  This is how it is set up for the ProcessInstanceShow page.
* Greatly reduced the lag in the interstitial page when doing a re-direct.

* run_pyl

* kill console

* wait for permissionsLoaded too since we are using ability.can

* Previous change removed the top level Messages page - this re-adds it.

* I am always, ALWAYS shocked at how I can not wrap my head around when and where to use "useEffect".

This should cause the show/hide Instructions toggle to only show when useful.

* Minor cleanup on the process instance properties display.

* linting

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>

* Fix a linting error.

* minor permissions related fixes for the new ui.

* Revert "Revert "Feature/better subworkflow management (#331)""

This reverts commit 48dcde8faf.

* do not execute tasks from the process instance show page w/ burnettk

* pyl w/ burnettk

* Very minor UI tweak to resolve a number of issues mentioned in SPIFF-316 Notion Ticket:

* Markdown links now open in a new window
* Tables on the home pages are now contained within Grids to better align them with the other content that is in a grid.
* Right aligned the "process instance list link" button to it is flush right with the table underneath
* Gave a little more breathing room the content on the info/metadata in the process instance view .

* updated docker image build action to contain the appropriate version info w/ burnettk

* properly resize to the available columns depending on s/m/l

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Dan Funk <daniel.h.funk@gmail.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-03 10:54:54 +05:30
jasquat 9cf9bb6bf0 notify slack if build docs failed w/ burnettk 2023-06-26 11:38:45 -04:00
jasquat e9fdb9b0e9 remove unnecessary pip upgrade for docs w/ burnettk 2023-06-26 11:36:20 -04:00
jasquat 6ba2d23e09 added build command for docs and created github action w/ burnettk 2023-06-26 11:33:27 -04:00
jasquat 9b9ec335b3 format date picker helper text width to match the date widget itself … (#330)
* format date picker helper text width to match the date widget itself w/ burnettk

* not sure we need xdoctest

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-06-13 20:16:26 +05:30
jbirddog 122d1efbda Bump flask for safety (#304)
* Bump flask for safety

* let snyk check flask again w/ burnettk

* attempt to use the same revision for front w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-06 17:33:48 -07:00
Kevin Burnett 07039ec0e2 Merge pull request #276 from sartography/dependabot/github_actions/actions/setup-python-4.6.1
Bump actions/setup-python from 4.6.0 to 4.6.1
2023-05-29 21:40:23 +00:00
Kevin Burnett 21588758dc Merge pull request #262 from sartography/dependabot/github_actions/codecov/codecov-action-3.1.4
Bump codecov/codecov-action from 3.1.3 to 3.1.4
2023-05-29 21:40:04 +00:00
Kevin Burnett 86dda87750 Merge pull request #148 from sartography/dependabot/github_actions/actions/download-artifact-3.0.2
Bump actions/download-artifact from 3.0.1 to 3.0.2
2023-05-29 21:35:13 +00:00
dependabot[bot] c83daedfab Bump actions/setup-python from 4.6.0 to 4.6.1
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 21:32:25 +00:00
burnettk 6a328cdb43 actually stop running tests against 3.9 2023-05-27 18:34:04 -04:00
jasquat 9c0a8cc9df only test admin permissions in ci since it takes longer run w/ burnettk 2023-05-24 11:10:40 -04:00
burnettk efe532f75b record if the workflow run that triggered us was a push 2023-05-19 11:33:56 -04:00
burnettk 3f3b31f67b debug github context 2023-05-19 10:30:57 -04:00
burnettk 589d843da2 remove docs-build matrix build 2023-05-19 09:15:19 -04:00
burnettk cf1e1a79d9 avoid doing stuff outside of nox 2023-05-19 07:05:58 -04:00
jasquat f0feb6bb73 ignore windows tests in ci w/ burnettk 2023-05-17 14:06:50 -04:00
dependabot[bot] d9ecd8541a Bump codecov/codecov-action from 3.1.3 to 3.1.4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.3...v3.1.4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 15:03:27 +00:00
burnettk 74c3570a11 more screwing with labels 2023-05-13 22:43:58 -04:00
burnettk e525e50e29 update failure message to include branch 2023-05-02 12:12:39 -04:00
jasquat afdee2d61e do not notify if skipped w/ burnettk 2023-05-02 12:01:34 -04:00
jasquat e4bc14c9aa only run frontend tests if backend passes w/ burnettk 2023-05-02 11:49:06 -04:00
burnettk 046ab04745 notify on more things and include conclusion 2023-05-02 08:39:13 -04:00
burnettk 7502034005 notify slack on failure 2023-05-02 08:10:41 -04:00
burnettk 6e955f27c5 notify slack on failure 2023-05-01 22:03:23 -04:00
burnettk 244fcd56a0 notify slack 2023-05-01 20:20:41 -04:00
dependabot[bot] 17b4cdf4f8 Bump sonarsource/sonarcloud-github-action from 1.8 to 1.9
Bumps [sonarsource/sonarcloud-github-action](https://github.com/sonarsource/sonarcloud-github-action) from 1.8 to 1.9.
- [Release notes](https://github.com/sonarsource/sonarcloud-github-action/releases)
- [Commits](https://github.com/sonarsource/sonarcloud-github-action/compare/v1.8...v1.9)

---
updated-dependencies:
- dependency-name: sonarsource/sonarcloud-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 15:07:47 +00:00
burnettk b6e8a8f3ec appease actionlint 2023-04-23 23:41:28 -04:00
burnettk bb0b6d22aa pin to working version of sonarcloud github action 2023-04-23 23:40:28 -04:00
dependabot[bot] ba634fe29b Bump codecov/codecov-action from 3.1.0 to 3.1.3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.0 to 3.1.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.0...v3.1.3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 15:02:55 +00:00
dependabot[bot] 0d7b631406 Bump actions/setup-python from 4.2.0 to 4.6.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.2.0 to 4.6.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.2.0...v4.6.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 15:06:49 +00:00
dependabot[bot] 86642ac4fc Bump docker/metadata-action from 4.3.0 to 4.4.0
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v4.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 15:05:12 +00:00
jasquat f54381fb10 removed some debug info w/ burnettk 2023-04-11 15:50:42 -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 f14a8d17f8 replace periods with underscores in version info w/ burnettk 2023-04-07 16:09:30 -04:00
jasquat 48ef9caeeb try getting version info from evn var instead w/ burnettk 2023-04-07 15:59:46 -04:00
jasquat 14d29cd005 create the app verison file in the correct directory w/ burnettk 2023-04-07 15:48:18 -04:00
jasquat 56bc6d24a0 we need the app_version file in the backned more w/ burnettk 2023-04-07 15:37:21 -04:00
jasquat dc93b69c3f remove bad github action lines w/ burnettk 2023-04-07 15:34:11 -04:00
jasquat 73c2ebbdf9 attempt to get git docker labels into version json file w/ burnettk 2023-04-07 15:32:28 -04:00
jasquat 5de2cf1312 ignore dccache files w/ burnettk 2023-03-28 17:14:58 -04:00
jasquat a7521cba65 run snyk on backend and added marshmallow dep to remove warning w/ burnettk 2023-03-28 16:55:13 -04:00
jasquat b9a4129a33 run snyk in ci w/ burnettk 2023-03-28 16:42:48 -04:00
jasquat 8cd66d976a run safety in ci w/ burnettk 2023-03-28 15:56:57 -04:00
burnettk 0d07eba5ee do sonar for backend, too 2023-03-28 08:22:17 -04:00
jasquat 3461056beb Merge remote-tracking branch 'origin/main' into feature/use_tasks_as_logs 2023-03-17 12:40:26 -04:00
burnettk 281a07ed29 see if this still works 2023-03-16 23:43:59 -04:00
Kevin Burnett 79ce0203a5 Merge pull request #151 from sartography/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2023-03-16 20:20:13 -07:00
jasquat 80d9fa8ad6 merged in save_to_task_data branch and pyl with some cleanup w/ burnettk 2023-03-16 12:50:52 -04:00
jasquat 39b90e13f3 build image for save to task data branch w/ burnettk 2023-03-16 11:31:43 -04:00