1184 lines
19 KiB
CSS
Raw Normal View History

/* site is mainly using white theme. */
/* header is mainly using g100 */
/* mockup wanted white, not grey, text */
@import 'slick-carousel/slick/slick.css';
Spiffui/newui (#1891) * Scaffold new UI homepage, hide current nav bar * Layout set up Divider was fiddly, but got the same setup as Figma now. * Config to allow svg loading and imports etc. in Vite Also moved preact from dev deps to deps (recommended). * Configure app to use Poppins Was a little tricky, had to isolate this from the rest of the app. * Move icons from figma to app, set up menus SVGs have to be exported from Figma, moved into assets in app, etc. * Layout and SideMenu Components and layout all set. * Some basic global themeing knocked off from Web3 * Datagrid Layout complete Nothing works and the data is contrived, but it's all matchy-matchy with the Figma view and so on. * Menu items hover and rollover states * Add card row * useProcessInstances hook Knocked off from the call logic in ProcessInstanceListTable * Responsiveness * Responsive tweaks * Live data in grid etc. * Phone responsive * Responsivness working across all breakpoints * Side menu height simplification * more chips for milestone and status * Basic client grid search * Newui README and component notes. * Add docs, cleanups, etc. * Component docs * Theme more robust Also added framework for dark mode. * Dark mode and theme enhancements * Install signals integration for vite, cleanup, and working darkmode toggle. * Update SpiffUIV2.tsx * Toggle feature for menu items Includes ability to swap icon and text on a toggle. Useful for dark mode toggle and possibly other things. * User menu pinned to bottom of VH Doesn't get lost if datagrid is long. * Color fixes for dark mode, added in tokens where possible. * Responsive Side Menu * adjusted filter cards to dark mode * Customize global themes for light and dark success/light/info/warning/error Pushing use of tokens everywhere, took some wrangling but it's in place now. Also fixed cards and a few other things to size more cleanly in responsive modes. * Fix tab light/dark mode swap Requires a bit more customiization of the theme. * Slide transition for menu * Solved very annoying MUI problem If there is a scrollbar on the screen, opening a Select removes it. This is intentional (use can not scroll the screen while select is open) but it has the unfortunate consequence of removing the browser scrollbar is that it increases the viewport size, causing all responsive layout to shift. This tells it "leave it be". Also add ability to feed in info to process instance hook. * Refactor some items to make layouts more declarative. We want the info window to be in the center-right of the view all the time, with some appropriate padding on the top-bottom, so regardless of the scroll position or window size they never lose it. Also, responsiveness (will resize until MD breakpoint then hide). * Refactor Dashboard to switch grids more cleanly * Info panel wired up * Task Collection, view hook etc. * My Tasks search working * Tab nav set up * "Old" forms loading into "new" flyout window. Had to move a few things around and dig into the routes, but got it up and running for demo. * InfoPanel displays selections from different grid views Built mini-factory to feed InfoPanel ReactNodes to render using selected grid item data. * Info panel toolbar, formatting and light/dark settings. * InfoPanel display with tasks APIs need to be sorted out, there doesn't appear to be an easy way to get all Tasks for a given ProcessId at this point. * Format dates in grids * Wire everything up for working workflow (demo-worthy) * Toggle for Row click panel open/close * Completed and waiting tasks in info panel. * Scrollable grids in the Dashboard view (no more page scrolling) * Remove mystery zero Stray truthy test was rendering the result (false, 0) * Tweak to prevent child scrollbars from overlaying infopanel windows. * had to install jsdom for Vue testing. * Update package-lock.json * Possibly ran npm i in the wrong directory hmm... * add optional platform dep * update lock file with optional dep info * Add ESBuild (this package was not found) There might be a global install but Vite/npm ain't seein' it. * Trying to make esbuild optional (it might already be global) * Accordions for tasks, and create a hook to enable some flexible customization. * Updates and refactoring to make more (possibly) extension-ready components for the data displays. * PI times summary report Also cleaned up some MUI Dom errors/warnings. * build images for newui * revert some changes in package-lock that did not help * Rebuilding repo (had "bad objects" error) * Charts (mostly for demo) * Responsive! * Collapsible side menu Added a button component suitable for the positioning/display, adjusted responsiveness (when the menu is collapsed, we need the grid to take up more room, and when the menu is naturally collapsed by screen size, we don't want the toggle button, etc.) * Adjust menu to display abbreviated spiff logo when collapsed. * Update DashboardCharts.tsx * Inserted Paper wrapper for sidemenu Makes the background responsive to dark mode (so it's not just more black surface). * Update SideMenu.tsx Fix positioning to accommodate new wrapper padding. * First wave of theme changes, global font alterations, restructure nav to top * Moving the design revamp along Walking the line between the new ideas but using the current functionality and components (we don't have designs for where things lik the dark mode and logout buttons go, the toolbar was removed but now we need a place for the start process button, we still need the tabs, etc.). * Moving new style along Had to add custom background palette for dark/light mode. * Carousel display and task cards for new display * Grids, carousels, accordions, etc. All in design requirement Desktop 27 (Figma file) * All finished Revamped, workflow implemented, rotating charts, dark mode checked, new scrollbars for more ipad-like feel, search working, etc. etc. * Tweaks and good to go. * Update MyProcesses.tsx Remove console.log. * Collapse process detail by default, and fix tasks label. * Full screen containers We don't want th default max width enforced by MUI. * TopNav responsiveness and speedial * Responsive grid areas * Add task counts * create a top level route for the new spiff ui from App.tsx w/ burnettk (#1586) Co-authored-by: jasquat <jasquat@users.noreply.github.com> * Unused imports * Clean up wonky pie chart. * Remove hardcoded url * Clean up info panel * Fix menu button responsive text wrap wonk * Put grid back With data changes since there is more stuff in the first column (based on the design). I took a best guess. * Remove cell focus outline with CSS overrides MUI * Flyout Panel for demo (new look etc.) * Task switching in panel. * Cleanup tweaks pre-demo. There is a bug in the "first select" of a row with tasks, I'm aware of it. * Rework flow of data, make it simpler Fixes a bug; when you clicked a PI row the first time, its tasks wouldn't load. If you did it again, everything worked. The way the code moved data to the InfoPanel was unclear, cleaning that up made the bug obvious. * put back psycopg2 and mysqlclient * Create useProcessModels.tsx * Create useProcessGroups.tsx * Update ProcessInstanceCard.tsx Fixes task count display * Refactor for top level routing Keeping all views as children of SpiffUIV2 (will make swapping app easier). * Update SpiffUIV2.tsx Routing and view scaffolding set. * Menu and button nice nice in dark mode etc. * View transitions * Process group/model data under control and feeding into view. * Using RXJS for broadcasting to menu items. * Update SpiffUIV2.tsx * Config seemed broken (I couldn't start the app, Vite not found etc.) I fixed by moving @preact/preset-vite to dependencies (this seems required, probably because it adds types and primitives that are used in runtime code or something) and making sure Node was up to date. * Fix for Preact breaking rendering lifecycle One of their PRs put a ridiculously low check on rerenders, and in dev/debug mode throws an app-crashing error, which affected the MUI-X Datagrid. * Button components aware of stream Also had to add a way for buttons to know what the view they nav to was loaded from the URL (e.g. a bookmark) to meet the design req. * Have to make sure buttons that have no paths don't respond to href load logic. * Layout for components, menu, treeview, theme tweaks Needed to alter text.secondary at theme level to accommodate designs. * Recurse through Process Group data to PM tree build tree for display All set. * Treeview complete Also moved some things around to track with evolving app structure. * Fully working tree with counters. * Favorites/Recently used layout, components, icons, etc. * Favorites and process groups displays A bit naive, but for now gets the job done. * Select of a group CArdor a group in the Tree updates view Display PMs and PGs for any group, and some ideas to tie selecting a Card into the Tree. This kind of has to work, if you don't do it the tree seems useless. * Create TreeItem wrapper TreeItems don't carry any data that could be used for crumbs. Need to wrap TreeItem and add a property that lets you expand any node anywhere in the hierarchy. * Update __init__.py * Update StartProcess.tsx Scrolling content area * Tree expansion from cards working as expected Have to do the collapse side of it, but so far so good. Also tweaks to scrolling area. * Wrap search bar and padding tweaks More explicit layout around child components. * Tree/card tracking working. Highlighting based on clicks, etc, very fancy. * Tree -> Cards -> Tree fully working, starting breadcrumbs. Breadcrumbs will be how this works on mobile, nobody will use the tree on a phone. * Collapse button will be used all over * More wiring details tree -> card -> tree -> search When search returns results, the tree or card nav is no longer the control. Use imperative ref to wipe expanded nodes. Also, make sure that if models and groups are returned that the accordions expand. Remove console logs. * Cross group model highlighting Tricky one: If you have several folders expanded in the tree, and are clicking through the models, if you click a model in a "non active" group, we have to clear the current group assets and load that group's. Since the cards come after the switch, they don't hear the clickstream that initiated them, so the model that was selected in the tree won't update the associated card's style. Fix that by passing in the lastSelected object to the cards and inspecting on init. * Localstorage, favorites, default favorite view (vs. groups), etc. * Guard no groups. * Update StartProcess.tsx Padding change opened up window, needed to adjust. * Update StartProcess.tsx * Update LocalStorageService.ts Update empty string to empty array. * Tree panel collapse/expand With everything else going on, this was tricky to get responsive, but working as expected now. Also tweak to fix annoying thing in MenuItems. Also made sure dark mode tracks. * Hover effects for cards and text cleanups Hover is useless on touch screens, but otherwise this is a bit more in keeping with the design. * Breadcrumbs, root element and favorites in collapse tree view, etc. This pretty much nails it. * Add Favorite Count Add count to favorites indicators. Helps user make sense of "I'm clicking it why are no items loading (because there are zero favorites). * Docs, cleanup Also fix that NavBar logo issue in the "old" app. * fix breadcrumb re-render issue when saving json file for first time w/ burnettk * fix / ignore eslint issues * add types for react-slick * ignore ts error * revert nav bar to undo logout logo change w/ burnettk * Update spiffworkflow-frontend/src/a-spiffui-v2/views/Dashboards/infopanels/ProcessInfo.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update spiffworkflow-frontend/src/a-spiffui-v2/views/StartProcess/StartProcess.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: Tim Consolazio <tcoz@tcoz.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-09 13:39:29 -04:00
@import 'slick-carousel/slick/slick-theme.css';
body {
/* This prevents the annoying MUI select box layout shift */
overflow-y: auto !important;
}
.cds--header,
a.cds--header__menu-item {
color: white;
}
.megacondensed {
Feature/better form nav (#474) * Detect focus loss/return in the Diagram Editor - so that we can reload the process model and assure that we know about any changed files. Allow for looking specifically for json SCHEMA files (those files that are named -schema.json or .schema.json (as is the convention). Only show these in the dropdown for the form. * * Run descriptions through the markdown processor so you can use bold/italic etc... in your description fields within a form. * Move ExampleTable into it's own view component to keep the size of the form builder sane. * Assure markdown within jrsf forms have reasonable styling that follows the containers style, rather than setting to some other default. * Add a couple of example forms so people can get a sense of what is possible. * Connect up the new Json Schema Editor Component to the process model edit diagram. * Just select the schema file - not the ui file when selecting the form for a component - we may revert this to just a text box. * * Cleanup the formatting of arrays, so that they are sligtly intended, do not contain an awkward unneeded heading, and have some tighter css. * Connect the form editing in the modal back to the BPMN-JS editor Auto-Save edits in the Form Builder Lots and lots of tweaks to the react form builder ui * various fixes. * test for prepare_schema * minor fix for run_pyl * css cleanup less issues with reloading and jumping about when in the editor Don't sort keys when returning the json. More intelligent "ready" * bump package to point to branch of bpmn-js-spiffworkflow so others can check it out. * Assure that json keys are not sorted during serialization by default. Allow adding example fields to an existing schema Create a set of examples. * db complaints in migration change. * removed items from interface file that had been moved elsewhere w/ burnettk * rename prepare_form to prepare-form * rename prepare_form to prepare-form * Remove commented out code. * typo * add a comment about the empty column * move back to the main branch --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-08 11:07:43 -04:00
padding-left: 0;
margin-left: 0;
}
2022-11-21 22:49:09 -05:00
/* defaults to 3rem, which isn't long sufficient for "elizabeth" */
.cds--header__action.username-header-text {
width: 5rem;
}
.cds--header__action.spiff-environment-header-text {
width: 5rem;
color: #126d82;
}
.cds--header__action.unclickable-text:hover {
background-color: #161616;
cursor: default;
}
.cds--header__action.unclickable-text:focus {
border: none;
box-shadow: none;
border-color: none;
}
.cds--loading__stroke {
Feature/better form nav (#474) * Detect focus loss/return in the Diagram Editor - so that we can reload the process model and assure that we know about any changed files. Allow for looking specifically for json SCHEMA files (those files that are named -schema.json or .schema.json (as is the convention). Only show these in the dropdown for the form. * * Run descriptions through the markdown processor so you can use bold/italic etc... in your description fields within a form. * Move ExampleTable into it's own view component to keep the size of the form builder sane. * Assure markdown within jrsf forms have reasonable styling that follows the containers style, rather than setting to some other default. * Add a couple of example forms so people can get a sense of what is possible. * Connect up the new Json Schema Editor Component to the process model edit diagram. * Just select the schema file - not the ui file when selecting the form for a component - we may revert this to just a text box. * * Cleanup the formatting of arrays, so that they are sligtly intended, do not contain an awkward unneeded heading, and have some tighter css. * Connect the form editing in the modal back to the BPMN-JS editor Auto-Save edits in the Form Builder Lots and lots of tweaks to the react form builder ui * various fixes. * test for prepare_schema * minor fix for run_pyl * css cleanup less issues with reloading and jumping about when in the editor Don't sort keys when returning the json. More intelligent "ready" * bump package to point to branch of bpmn-js-spiffworkflow so others can check it out. * Assure that json keys are not sorted during serialization by default. Allow adding example fields to an existing schema Create a set of examples. * db complaints in migration change. * removed items from interface file that had been moved elsewhere w/ burnettk * rename prepare_form to prepare-form * rename prepare_form to prepare-form * Remove commented out code. * typo * add a comment about the empty column * move back to the main branch --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-08 11:07:43 -04:00
stroke: rgb(128, 128, 128);
}
2023-03-02 08:34:15 -05:00
/* make this a little less prominent so the actual human beings completing tasks stand out */
.system-user-log-entry {
color: #b0b0b0;
2023-03-02 08:34:15 -05:00
font-style: italic;
}
.selected-task-instance {
color: #b0b0b0;
font-style: italic;
}
Newuiv3 (#2047) * new view to kick off process instance * now ProcessModelCard can kick off an instance * show total child items rather than using a slash * some initial code to implement frontend from figma w/ burnettk * updated homepage tab names w/ burnettk * updated field names in new ui w/ burnettk * moved nabar to wrapper component w/ burnettk * added basics for dark mode w/ burnettk * use spiff logo and colors w/ burnettk * use spiff logo and colors w/ burnettk * corrected hover colors in dark mode * some additional formatting * added tree view to start process page in v3 site w/ burnettk * some cleanup for the tree view w/ burnettk * removed unused side nav items w/ burnettk * actually navigate to locations when clicking in nav bar w/ burnettk * moved custom button inline with other items w/ burnettk * moved used items from v2 ui to v3 and change paths to v3 to newui and old to newuiv2 * updated v2 code to match main so we can more easily compare against it * revert v2 route as well to be like main * some fixes and clean and added profile button w/ burnettk * revert nav bar w/ burnettk * update profile menu so it can log out w/ burnettk * added dark mode button back w/ burnettk * profile menu update w/ burnettk * profile menu update w/ burnettk * moved side nav into own component w/ burnettk * make sure you have to logged in to see the new ui w/ burnettk * stack icons on collapse * allow profile menu to go beyond constraint of sidenav * profile menu when collapsed * make thing not overlap * removed duplicate attribute * get tasks from the api instead of mock data * added waiting for column w/ burnettk * fixed header names of new pages w/ burnettk * swap colors * updated some bgcolors w/ burnettk * updated some of the theme colors w/ burnettk * some more color cleanup w/ burnettk * add border to table and background lighter like design * more colors w/ burnettk * add border * add height to tab indicator props * use macro colors * persist theme selection in local storage * h1 as god intended * fix highlight on main nav * new started by me view * avoid hardcoding color because themes * fetch process instances * extract shared junk into components * extract more shared junk * some cleanup to the new workflow view w/ burnettk * update button * more tweaks and fixes to task table w/ burnettk * match design * some updateds to headertabs w/ burnettk * make the create custom tab button look more like the other tabs w/ burnettk * added view mode tile table toggle w/ burnettk * add startopen script to allow all interfaces for dev server * hide complete task play button if no task * remove waiting for from tile if blank w/ burnettk * implemented hide complete w/ burnettk * show non active * fixed var w/ burnettk * do not show action if user cannot complete task w/ burnettk * time ago ts * added timeago in words to task table w/ burnettk * some updates to timeago for typsescript w/ burnettk * some formatting to the tile w/ burnettk * move arrow to top right * make the whole tile clickable if there is a task w/ burnettk * default sidenav to collapsed on mobile * tile views by default on mobile * completely hide menu on mobile, not just collapse * get rid of autocollapse on mobile code, since it is all hidden * mobile nav * improve mobile nav * when you open the nav on mobile, it should always be expanded * some minor support for user group select * lint * persistent top nav so you can always access menu on mobile * implemented group by option w/ burnettk * allow ungroup * only show Ungrouped if it is grouped * group by text * use accent color when grouping tasks * added text.accent for dark mode w/ burnettk * copied task show elements to v3 folder w/ burnettk * newui task show routes work w/ burnettk * converted task show elements to mui w/ burnettk * fixed up task show page a big w/ burnettk * added padding to tash show page w/ burnettk * modified colors for dark mode and consistency w/ burnettk * added interstitial and progress pages to new ui w/ burnettk * go to newui appropriately from interstitial * allow grouping tasks by the process group of their instance * scroll to the card when selecting from the left nav tree w/ burnettk * move task details to bottom of tile w/ burnettk * navigate back to home page when no more tasks w/ burnettk * avoid cutting off right side of main content * a little cleanup w/ burnettk * some format updates to h tags w/ burnettk * fix class name for carbon * Newuiv3a (#2046) * wip to get only runnable prcess models for start process model page w/ burnettk * wip to get only runnable prcess models for start process model page w/ burnettk * wrote out method to group by process group w/ burnettk * added test for grouping by process group * some cleanup to prepare to be merged into the main newuiv3 branch * fixed mypy issues * fixed tests * fixed lint issues w/ burnettk --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> * try to fix animations * remove favorites icon and update pi creation flow w/ burnettk * remove carbon from interstital page w/ burnettk * title is bpmn_name and name is bpmn_id * slow fade transition from interstitial to homepage * do a hilariously long fade in when going from interstitial to homepage * show last process instance id saved on interstitial * get rid of local storage * move last instance to top and avoid on mobile * avoid useEffect and rock local storage * added some error display w/ burnettk * moved v3 specific code to v3 dir w/ burnettk * some code rabbit suggestions w/ burnettk * more code rabbit w/ burnettk * remove bad id w/ burnettk --------- Co-authored-by: burnettk <burnettk@users.noreply.github.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-08-16 15:13:33 -04:00
.cds--white h1 {
font-weight: 400;
font-size: 28px;
line-height: 36px;
margin-bottom: 1rem;
letter-spacing: 0.00938em;
}
Newuiv3 (#2047) * new view to kick off process instance * now ProcessModelCard can kick off an instance * show total child items rather than using a slash * some initial code to implement frontend from figma w/ burnettk * updated homepage tab names w/ burnettk * updated field names in new ui w/ burnettk * moved nabar to wrapper component w/ burnettk * added basics for dark mode w/ burnettk * use spiff logo and colors w/ burnettk * use spiff logo and colors w/ burnettk * corrected hover colors in dark mode * some additional formatting * added tree view to start process page in v3 site w/ burnettk * some cleanup for the tree view w/ burnettk * removed unused side nav items w/ burnettk * actually navigate to locations when clicking in nav bar w/ burnettk * moved custom button inline with other items w/ burnettk * moved used items from v2 ui to v3 and change paths to v3 to newui and old to newuiv2 * updated v2 code to match main so we can more easily compare against it * revert v2 route as well to be like main * some fixes and clean and added profile button w/ burnettk * revert nav bar w/ burnettk * update profile menu so it can log out w/ burnettk * added dark mode button back w/ burnettk * profile menu update w/ burnettk * profile menu update w/ burnettk * moved side nav into own component w/ burnettk * make sure you have to logged in to see the new ui w/ burnettk * stack icons on collapse * allow profile menu to go beyond constraint of sidenav * profile menu when collapsed * make thing not overlap * removed duplicate attribute * get tasks from the api instead of mock data * added waiting for column w/ burnettk * fixed header names of new pages w/ burnettk * swap colors * updated some bgcolors w/ burnettk * updated some of the theme colors w/ burnettk * some more color cleanup w/ burnettk * add border to table and background lighter like design * more colors w/ burnettk * add border * add height to tab indicator props * use macro colors * persist theme selection in local storage * h1 as god intended * fix highlight on main nav * new started by me view * avoid hardcoding color because themes * fetch process instances * extract shared junk into components * extract more shared junk * some cleanup to the new workflow view w/ burnettk * update button * more tweaks and fixes to task table w/ burnettk * match design * some updateds to headertabs w/ burnettk * make the create custom tab button look more like the other tabs w/ burnettk * added view mode tile table toggle w/ burnettk * add startopen script to allow all interfaces for dev server * hide complete task play button if no task * remove waiting for from tile if blank w/ burnettk * implemented hide complete w/ burnettk * show non active * fixed var w/ burnettk * do not show action if user cannot complete task w/ burnettk * time ago ts * added timeago in words to task table w/ burnettk * some updates to timeago for typsescript w/ burnettk * some formatting to the tile w/ burnettk * move arrow to top right * make the whole tile clickable if there is a task w/ burnettk * default sidenav to collapsed on mobile * tile views by default on mobile * completely hide menu on mobile, not just collapse * get rid of autocollapse on mobile code, since it is all hidden * mobile nav * improve mobile nav * when you open the nav on mobile, it should always be expanded * some minor support for user group select * lint * persistent top nav so you can always access menu on mobile * implemented group by option w/ burnettk * allow ungroup * only show Ungrouped if it is grouped * group by text * use accent color when grouping tasks * added text.accent for dark mode w/ burnettk * copied task show elements to v3 folder w/ burnettk * newui task show routes work w/ burnettk * converted task show elements to mui w/ burnettk * fixed up task show page a big w/ burnettk * added padding to tash show page w/ burnettk * modified colors for dark mode and consistency w/ burnettk * added interstitial and progress pages to new ui w/ burnettk * go to newui appropriately from interstitial * allow grouping tasks by the process group of their instance * scroll to the card when selecting from the left nav tree w/ burnettk * move task details to bottom of tile w/ burnettk * navigate back to home page when no more tasks w/ burnettk * avoid cutting off right side of main content * a little cleanup w/ burnettk * some format updates to h tags w/ burnettk * fix class name for carbon * Newuiv3a (#2046) * wip to get only runnable prcess models for start process model page w/ burnettk * wip to get only runnable prcess models for start process model page w/ burnettk * wrote out method to group by process group w/ burnettk * added test for grouping by process group * some cleanup to prepare to be merged into the main newuiv3 branch * fixed mypy issues * fixed tests * fixed lint issues w/ burnettk --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> * try to fix animations * remove favorites icon and update pi creation flow w/ burnettk * remove carbon from interstital page w/ burnettk * title is bpmn_name and name is bpmn_id * slow fade transition from interstitial to homepage * do a hilariously long fade in when going from interstitial to homepage * show last process instance id saved on interstitial * get rid of local storage * move last instance to top and avoid on mobile * avoid useEffect and rock local storage * added some error display w/ burnettk * moved v3 specific code to v3 dir w/ burnettk * some code rabbit suggestions w/ burnettk * more code rabbit w/ burnettk * remove bad id w/ burnettk --------- Co-authored-by: burnettk <burnettk@users.noreply.github.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-08-16 15:13:33 -04:00
.cds--white h2 {
font-weight: 400;
font-size: 20px;
line-height: 28px;
color: #161616;
}
Newuiv3 (#2047) * new view to kick off process instance * now ProcessModelCard can kick off an instance * show total child items rather than using a slash * some initial code to implement frontend from figma w/ burnettk * updated homepage tab names w/ burnettk * updated field names in new ui w/ burnettk * moved nabar to wrapper component w/ burnettk * added basics for dark mode w/ burnettk * use spiff logo and colors w/ burnettk * use spiff logo and colors w/ burnettk * corrected hover colors in dark mode * some additional formatting * added tree view to start process page in v3 site w/ burnettk * some cleanup for the tree view w/ burnettk * removed unused side nav items w/ burnettk * actually navigate to locations when clicking in nav bar w/ burnettk * moved custom button inline with other items w/ burnettk * moved used items from v2 ui to v3 and change paths to v3 to newui and old to newuiv2 * updated v2 code to match main so we can more easily compare against it * revert v2 route as well to be like main * some fixes and clean and added profile button w/ burnettk * revert nav bar w/ burnettk * update profile menu so it can log out w/ burnettk * added dark mode button back w/ burnettk * profile menu update w/ burnettk * profile menu update w/ burnettk * moved side nav into own component w/ burnettk * make sure you have to logged in to see the new ui w/ burnettk * stack icons on collapse * allow profile menu to go beyond constraint of sidenav * profile menu when collapsed * make thing not overlap * removed duplicate attribute * get tasks from the api instead of mock data * added waiting for column w/ burnettk * fixed header names of new pages w/ burnettk * swap colors * updated some bgcolors w/ burnettk * updated some of the theme colors w/ burnettk * some more color cleanup w/ burnettk * add border to table and background lighter like design * more colors w/ burnettk * add border * add height to tab indicator props * use macro colors * persist theme selection in local storage * h1 as god intended * fix highlight on main nav * new started by me view * avoid hardcoding color because themes * fetch process instances * extract shared junk into components * extract more shared junk * some cleanup to the new workflow view w/ burnettk * update button * more tweaks and fixes to task table w/ burnettk * match design * some updateds to headertabs w/ burnettk * make the create custom tab button look more like the other tabs w/ burnettk * added view mode tile table toggle w/ burnettk * add startopen script to allow all interfaces for dev server * hide complete task play button if no task * remove waiting for from tile if blank w/ burnettk * implemented hide complete w/ burnettk * show non active * fixed var w/ burnettk * do not show action if user cannot complete task w/ burnettk * time ago ts * added timeago in words to task table w/ burnettk * some updates to timeago for typsescript w/ burnettk * some formatting to the tile w/ burnettk * move arrow to top right * make the whole tile clickable if there is a task w/ burnettk * default sidenav to collapsed on mobile * tile views by default on mobile * completely hide menu on mobile, not just collapse * get rid of autocollapse on mobile code, since it is all hidden * mobile nav * improve mobile nav * when you open the nav on mobile, it should always be expanded * some minor support for user group select * lint * persistent top nav so you can always access menu on mobile * implemented group by option w/ burnettk * allow ungroup * only show Ungrouped if it is grouped * group by text * use accent color when grouping tasks * added text.accent for dark mode w/ burnettk * copied task show elements to v3 folder w/ burnettk * newui task show routes work w/ burnettk * converted task show elements to mui w/ burnettk * fixed up task show page a big w/ burnettk * added padding to tash show page w/ burnettk * modified colors for dark mode and consistency w/ burnettk * added interstitial and progress pages to new ui w/ burnettk * go to newui appropriately from interstitial * allow grouping tasks by the process group of their instance * scroll to the card when selecting from the left nav tree w/ burnettk * move task details to bottom of tile w/ burnettk * navigate back to home page when no more tasks w/ burnettk * avoid cutting off right side of main content * a little cleanup w/ burnettk * some format updates to h tags w/ burnettk * fix class name for carbon * Newuiv3a (#2046) * wip to get only runnable prcess models for start process model page w/ burnettk * wip to get only runnable prcess models for start process model page w/ burnettk * wrote out method to group by process group w/ burnettk * added test for grouping by process group * some cleanup to prepare to be merged into the main newuiv3 branch * fixed mypy issues * fixed tests * fixed lint issues w/ burnettk --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> * try to fix animations * remove favorites icon and update pi creation flow w/ burnettk * remove carbon from interstital page w/ burnettk * title is bpmn_name and name is bpmn_id * slow fade transition from interstitial to homepage * do a hilariously long fade in when going from interstitial to homepage * show last process instance id saved on interstitial * get rid of local storage * move last instance to top and avoid on mobile * avoid useEffect and rock local storage * added some error display w/ burnettk * moved v3 specific code to v3 dir w/ burnettk * some code rabbit suggestions w/ burnettk * more code rabbit w/ burnettk * remove bad id w/ burnettk --------- Co-authored-by: burnettk <burnettk@users.noreply.github.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-08-16 15:13:33 -04:00
.cds--white h3 {
font-weight: 400;
font-size: 18px;
line-height: 20px;
color: #161616;
}
.tag-within-dl {
color: black;
margin-left: -3px;
}
.cds--btn.button-white-background {
color: #393939;
background: #ffffff;
background-blend-mode: multiply;
border: 1px solid #393939;
}
.cds--btn.button-white-background:hover {
background: lightgrey;
}
.spiff-breadcrumb .MuiBreadcrumbs-li a:hover {
color: #525252;
}
.spiff-breadcrumb .MuiBreadcrumbs-li a:visited {
color: #525252;
}
.spiff-breadcrumb .MuiBreadcrumbs-li a:visited:hover {
color: #525252;
}
.spiff-breadcrumb .MuiBreadcrumbs-li a {
color: #525252;
}
.cds--btn--ghost {
color: black;
}
.cds--btn--ghost:visited {
color: black;
}
.cds--btn--ghost:hover {
color: black;
}
.cds--btn--ghost:visited:hover {
color: black;
}
/* match normal link colors */
.cds--btn--ghost.button-link {
color: #0062fe;
padding-left: 0;
}
.cds--btn--ghost.button-link:visited {
color: #0062fe;
padding-left: 0;
}
.cds--btn--ghost.button-link:hover {
color: #0062fe;
background-color: transparent;
padding-left: 0;
}
.cds--btn--ghost.button-link:visited:hover {
color: #0062fe;
background-color: transparent;
padding-left: 0;
}
/* make the colors black to make it easier to read */
.cds--btn--tertiary {
color: black;
border-color: black;
}
.cds--btn--tertiary:visited {
color: black;
border-color: black;
}
/* make the colors a little lighter black on hover
* so they match our normal scheme better
*/
.cds--btn--tertiary:focus {
color: #161616;
border-color: #161616;
background-color: #f4f4f4;
}
.cds--btn--tertiary:hover {
color: #161616;
border-color: #161616;
background-color: #f4f4f4;
}
.cds--btn--tertiary:visited:hover {
color: #161616;
border-color: #161616;
background-color: #f4f4f4;
}
.cds--btn--secondary {
color: #161616;
border-color: #efefef;
background-color: #efefef;
}
.cds--btn--secondary:visited {
color: #161616;
border-color: #efefef;
background-color: #efefef;
}
.cds--btn--secondary:focus {
color: #161616;
border-color: #efefef;
background-color: #efefef;
}
.cds--btn--secondary:hover {
color: #161616;
border-color: #dddddd;
background-color: #dddddd;
}
.cds--btn--secondary:visited:hover {
color: #161616;
border-color: #dddddd;
background-color: #dddddd;
}
.cds--modal-footer .cds--btn--secondary {
color: #ffffff;
border-color: #393939;
background-color: #393939;
}
.cds--modal-footer .cds--btn--secondary:visited {
color: #ffffff;
border-color: #393939;
background-color: #393939;
}
.cds--modal-footer .cds--btn--secondary:focus {
color: #ffffff;
border-color: #393939;
background-color: #393939;
}
.cds--modal-footer .cds--btn--secondary:hover {
color: #ffffff;
border-color: #474747;
background-color: #474747;
}
.cds--modal-footer .cds--btn--secondary:visited:hover {
color: #ffffff;
border-color: #474747;
background-color: #474747;
}
/* position the close button at the top-right corner of the modal header */
.cds--modal-close {
position: absolute;
top: 1rem;
right: 1rem;
border: none;
background: transparent;
cursor: pointer;
padding: 0;
}
.cds--modal-close__icon {
fill: #161616;
}
.cds--modal-footer .cds--btn--secondary {
color: #161616;
border-color: #e0e0e0;
background-color: #e0e0e0;
}
.cds--modal-footer .cds--btn--secondary:hover {
border-color: #c6c6c6;
background-color: #c6c6c6;
color: #161616;
}
.cds--header__global .cds--btn--primary.button-link {
color: #f4f4f4;
background-color: #393939;
padding-left: 0;
}
.cds--header__global .cds--btn--primary {
background-color: #161616;
}
.cds--btn--primary {
background-color: #393939;
}
.cds--btn--primary:hover {
background-color: #474747;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
.app-logo {
height: 37px;
width: 152px;
margin-top: 1rem;
margin-bottom: 1rem;
}
.spiffworkflow-header-container {
margin-bottom: 2rem;
}
.active-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
fill: yellow !important;
opacity: 0.6;
}
.completed-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
fill: grey !important;
opacity: 0.4;
}
.cancelled-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
2023-04-12 13:22:10 -04:00
fill: blue !important;
opacity: 0.2;
2023-04-12 13:22:10 -04:00
}
.errored-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
fill: red !important;
opacity: 0.2;
}
.accordion-item-label {
vertical-align: middle;
}
.MuiBreadcrumbs-root.spiff-breadcrumb {
margin-bottom: 2rem;
}
.process-description {
margin-bottom: 2rem;
}
h1.with-icons {
margin-top: 5px;
}
the big message improvements branch (#1549) * imported patch from old message_improvements branch w/ burnettk * wip. * merging in changes from message_improvements * remove patch files that were accidendetally added. * Added a modal for editing a correlation. Added ability to delete whole correlation keys. A little css cleanup. * * Removing migration - will add back in at the end. * The Message models API should not require page and per_age parameters, it will return all. * The Message model list should return a full json description of all messages/correlations for all containing groups. * * wip * Add import, fix class name * Getting ./bin/pyl to pass * Getting ./bin/pyl to pass * Some fe lint fixes * Some ruff fixes * Commands to nuke poetry dirs * Temp skipping of a couple tests * Getting ./bin/pyl to pass * This needs to be back in * Revert back to main * Factored out data store handling * Working on factoring out collecting messages, has test failure * Formatting * Fixed up test failures * Remove commentted out lines * Adding fields * Fix merge issue * Re-enable modal * WIP * Untested relationships * Remove correlation key table * Remove retrieval expression from uniqueness * Remove commentted out lines * WIP * WIP * WIP * WIP * WIP * Make mypy pass * Getting formatters to pass * Add migration * WIP fixing tests * WIP fixing tests * WIP fixing tests * WIP fixing tests * WIP fixing tests * Getting ./bin/pyl to pass * Fix skipped test * Fix skipped test * Getting ./bin/pyl to pass * Remove unused method * Remove unused methods * Clean up unused code * Refactor to support creating single messages from the UI * Untested support for processing one process_group * WIP test * WIP test * Filled out test * Getting ./bin/pyl to pass * Message Editor Modal Work * Change migration and add in schemas. * Swtich to using the associated branch of the process BPMN.io mods * Get the backend returning messages created from the frontend to the drop down list in the BPMN.io editor. * Merge main, fix up test * Getting ./bin/pyl to pass * Show path in location * Rename var * install packages from bpmn-js-spiffworkflow as well for local development * process group api can add and update message models now w/ burnettk * backend tests are passing now w/ burnettk * the launch message edit button is loading the editor w/ burnettk * updated bpmn-js-spiffworkflow * pyl is passing w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * fixed console errors w/ burnettk * a couple tweaks w/ burnettk * save the message json in the new format from the mform w/ burnettk * display the correlation props in the form w/ burnettk * default to empty schema so the format is obvious * allow removing correlation props from web ui w/ burnettk * added save notification when saving a message on a process model w/ burnettk * fixed broken test w/ burnettk * Updating test cases to new message format, tests are failing * support schema from messages in frontend * Fixing tests * Fixing tests * Fixing tests * removed references to correlation keys and removed unused components w/ burnettk * removed temp mesasge model edit button w/ burnettk * Make mypy pass * Fixing tests * Fixing tests * Getting ./bin/pyl to pass * save deleted messages before attempting to add new ones w/ burnettk * set state for the message id so it can be changed w/ burnettk * do not wait for the message id to be set since it is not necessary w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * build images for this branch w/ burnettk * put location in path of message-models so we can control permissions on it w/ burnettk * fix black * some coderabbit suggestions * pull in spiff fix * Default schema to {} * Temp fix for invalid schema * updated bpmn-js-spiffworkflow * some updates for issue 1626 * minor name tweaks and attempts to update message dropdown in panel when message changes - does not work yet w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * attempt to call add_message.returned event when message updates w/ burnettk * treat formData as a state in the MesasgeEditor so it can be updated when the form contents is modified w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * Feature/merge correlation properties (#1693) * Merge XML Correlation properties with Process group properties * updates for messages w/ burnettk --------- Co-authored-by: theaubmov <ayoubaitlachgar98@gmail.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com> * do not wait for message id state to be set to better support new messages w/ burnettk * updated SpiffWorkflow w/ burnettk * some cleanup from coderabbit and linting * added index to message tables, run typecheck in ci, and other updates while code reviewing w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * remove branch to build --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: danfunk <daniel.h.funk@gmail.com> Co-authored-by: Jon Herron <jon.herron@yahoo.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com> Co-authored-by: jasquat <2487833+jasquat@users.noreply.github.com> Co-authored-by: theaubmov <ayoubaitlachgar98@gmail.com>
2024-06-10 16:15:54 +00:00
h3.with-icons {
margin-top: 12px;
}
.with-icons {
margin-top: 10px;
}
.readme-container {
max-width: 640px;
}
dl {
display: block;
grid-template-columns: 35% 65%;
font-size: 14px;
line-height: 1.2rem;
padding-top: 9px;
}
dl dt {
display: inline-block;
font-weight: 600;
Feature/business end states (#333) * WIP: some updates to support new spiff w/ burnettk * unit tests are passing * all tests except message tests are passing * fixed usage of catch message event w/ burnettk * messages are working again w/ burnettk * uncommented remaining message tests w/ burnettk * fixed cypress tests w/ burnettk * use main for spiffworkflow * translated mysql last milestone query to sqlalchemy w/ burnettk * fixed last milestone query so instances still return if no milestone found and moved some code from the main report method to own methods * added some comments * added last milestone column to process instances table * display last milestone in instance list table w/ burnettk * remove 3 characters when truncating last milestone for ellipsis * make sure we have a current processor so we don't return null * remove sleep * The background processor now only picks up processes that were last updated more than a minute ago to avoid conflicting with the interstitial page. With the understanding that we can rmeove this limitation when we can refactor to allow the backend processes to provide updates on what they are doing. * pyl w/ burnettk * cache last milestone on instances * pyl * added test for last milestone and added it to the proces instance show page w/ burnettk * fixed broken test w/ burnettk * fixed last milestone header * removed duplicated column * fixed broken test --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com> Co-authored-by: danfunk <daniel.h.funk@gmail.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-07 10:10:44 -04:00
min-width: 6rem;
color: #161616;
}
dl.metadata-display dt {
width: 7rem;
word-wrap: break-word;
}
dl dd {
display: inline-block;
padding-left: 1rem;
color: #525252;
}
.smaller-text {
font-size: 14px;
}
.diagram-editor-canvas {
border: 1px solid #000000;
height: 78vh;
width: 90vw;
margin: 0 auto;
}
.with-bottom-margin {
margin-bottom: 1rem;
}
.user-profile-toggletip-content {
background-color: #393939;
color: #f4f4f4;
margin-right: 8px;
margin-top: -20px;
}
#user-profile-toggletip {
margin-top: 8px;
margin-right: 12px;
}
#user-profile-toggletip .cds--popover-content::before {
content: none;
}
#user-profile-toggletip .cds--popover--bottom-right .cds--popover-content {
bottom: 11px;
right: -5px;
border-radius: 5px;
border: 3px solid black;
}
#user-profile-toggletip .cds--popover-caret {
display: none;
}
.user-profile-toggletip-button:hover {
background-color: #161616;
}
#user-profile-toggletip .cds--popover--tab-tip__button::after {
content: none;
}
#user-profile-toggletip
.cds--popover--tab-tip.cds--popover--open
.cds--popover--tab-tip__button {
background-color: #161616;
}
.with-top-margin {
margin-top: 1rem;
}
.with-extra-top-margin {
margin-top: 1.3rem;
}
.with-top-margin-for-label-next-to-text-input {
margin-top: 2.3rem;
}
.with-tiny-top-margin {
margin-top: 4px;
}
.with-top-margin-for-unit-test-name {
margin-top: 11px;
}
.with-large-bottom-margin {
margin-bottom: 3rem;
}
.with-tiny-bottom-margin {
margin-bottom: 4px;
}
.with-half-rem-bottom-margin {
margin-bottom: 0.5rem;
}
.with-half-rem-top-margin {
margin-top: 0.5rem;
}
.diagram-viewer-canvas {
border: 1px solid #000000;
height: 70vh;
width: 90vw;
margin: auto;
}
.container .nav-tabs {
margin-top: 1rem;
}
/* Markdown Tables */
.markdown table {
color: #333;
background: white;
font-size: 12pt;
border-collapse: collapse;
}
.markdown table thead th,
.markdown table tfoot th {
color: #777;
background: rgba(0, 0, 0, 0.1);
}
.markdown table th,
.markdown table td {
padding: 0.5rem;
border: 1px solid lightgrey;
}
/* Zebra Table Style */
.markdown tbody tr:nth-of-type(odd) {
background: rgba(0, 0, 0, 0.05);
}
.form-instructions {
margin-bottom: 10rem;
}
/* Json Web Form CSS Fix - Bootstrap now requries that each li have a "list-inline-item." Also have a PR
in on this with the react-jsonschema-form repo. This is just a patch fix to allow date inputs to layout a little more cleanly */
.list-inline > li {
display: inline-block;
padding-right: 5px;
padding-left: 5px;
}
.cds--tile.tile-data-store {
padding: 0px;
margin: 12px 24px 12px 0px;
width: 320px;
height: 264px;
background: #f4f4f4;
order: 1;
float: left;
}
.tile-data-store-content-container {
width: 320px;
height: 264px;
padding: 1rem;
position: relative;
}
.tile-data-store-display-name {
margin-top: 2rem;
margin-bottom: 1rem;
font-size: 20px;
line-height: 28px;
color: #161616;
order: 0;
}
.cds--tile.tile-process-group {
padding: 0px;
margin: 12px 24px 12px 0px;
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 48dcde8faf00241201c515b54444fe9fb373c7f4. * 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 01:24:54 -04:00
width: 320px;
height: 264px;
background: #f4f4f4;
order: 1;
float: left;
}
.tile-process-group-content-container {
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 48dcde8faf00241201c515b54444fe9fb373c7f4. * 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 01:24:54 -04:00
width: 320px;
height: 264px;
padding: 1rem;
position: relative;
}
.tile-process-group-display-name {
margin-top: 2rem;
margin-bottom: 1rem;
font-size: 20px;
line-height: 28px;
color: #161616;
order: 0;
}
.tile-title-top {
margin-bottom: 2rem;
font-size: 20px;
line-height: 28px;
color: #161616;
order: 0;
}
.tile-description {
font-size: 14px;
line-height: 20px;
letter-spacing: 0.16px;
color: #161616;
order: 1;
}
.tile-process-group-children-count {
font-size: 14px;
line-height: 20px;
letter-spacing: 0.16px;
color: #161616;
order: 1;
}
.tile-pin-bottom {
position: absolute;
bottom: 1rem;
}
.cds--tabs .cds--tabs__nav-link {
max-width: 20rem;
}
/* carbon wants padding on all sides. our UI person wanted everything leaning against the left wall. */
.cds--tab-content {
padding-left: 0;
padding-right: 0;
}
.clear-left {
clear: left;
}
td.actions-cell {
width: 1rem;
}
.process-instance-list-table {
margin: 0;
padding: 0;
}
.process-instance-list-table button.button-tag {
max-width: calc(100% - 1rem);
}
2023-04-13 16:36:46 -04:00
.process-instance-table-header {
margin-bottom: 1rem;
2023-04-13 16:36:46 -04:00
}
.no-results-message {
font-style: italic;
font-size: 14px;
}
th.table-header-right-align .cds--data-table,
th.table-header-right-align .cds--table-header-label {
text-align: right;
}
.data-table-description {
font-size: 14px;
line-height: 18px;
letter-spacing: 0.16px;
color: #525252;
margin-bottom: 1rem;
}
.filter-icon {
2022-11-25 11:55:37 -05:00
text-align: right;
padding-bottom: 10px;
margin-right: 0px;
2022-11-25 11:55:37 -05:00
}
.cds--btn--ghost:not([disabled]).red-icon svg {
fill: red;
}
.cds--btn--ghost:not([disabled]).green-icon svg {
fill: #198038;
}
.cds--btn--ghost:not([disabled]) svg.red-icon {
fill: red;
}
svg.green-icon {
fill: #198038;
}
svg.notification-icon {
margin-right: 1rem;
}
.failure-string {
color: red;
}
.filter-tag {
justify-content: left;
width: 100%;
height: 2rem;
}
.filter-tag > span {
display: flex;
flex-direction: row;
width: 100%;
}
.filter-tag > span > span {
margin-right: 0.5px;
}
.cds--btn--ghost.cds--btn--sm.button-tag {
padding-left: 0;
padding-right: 0;
padding-top: 0px;
flex-grow: 1;
}
.cds--btn--ghost.cds--btn--sm.button-tag-icon {
padding-left: 0;
padding-right: 0;
padding-top: 0px;
}
/* .no-wrap cds--label cds--label--inline cds--label--inline--md{ */
.no-wrap .cds--label--inline {
word-break: normal;
}
.vertical-spacer-to-allow-combo-box-to-expand-in-modal {
height: 250px;
}
.cds--btn.narrow-button {
max-width: 10rem;
min-width: 5rem;
word-break: normal;
}
/* make this the same width as the carbon datePickerItem element
* so the calendar icon stays on the input box.
* CLASS: cds--date-picker-input__wrapper
*/
.cds--date-picker-container .cds--form__helper-text {
width: 18rem;
}
/* lime green */
.tag-type-green:hover {
background-color: #80ee90;
}
/* reset to initial modal css and avoid table specific css */
.modal-within-table-cell .cds--modal-container {
text-align: left;
}
.modal-within-table-cell .cds--modal-container button {
padding-left: 15px;
}
/* Errors and notifications */
.error_info .error_title {
display: inline-block;
font-weight: lighter;
width: 100px;
text-align: right;
margin-right: 10px;
}
.error_info_small {
font-size: 0.8em;
color: #550000;
}
.please-press-filter-button {
margin-bottom: 1rem;
font-weight: bold;
}
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 48dcde8faf00241201c515b54444fe9fb373c7f4. * 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 01:24:54 -04:00
.user_instructions {
filter: opacity(1);
font-size: 1.2em;
margin: 15px 0;
}
2023-04-26 18:10:02 -04:00
.user_instructions_0 {
filter: opacity(1);
font-size: 1.2rem;
margin-bottom: 30px;
2023-04-26 18:10:02 -04:00
}
.user_instructions_1 {
filter: opacity(60%);
font-size: 1.1rem;
2023-04-26 18:10:02 -04:00
}
.user_instructions_2 {
filter: opacity(40%);
font-size: 1rem;
2023-04-26 18:10:02 -04:00
}
.user_instructions_3 {
filter: opacity(20%);
font-size: 9rem;
2023-04-26 18:10:02 -04:00
}
.user_instructions_4 {
filter: opacity(10%);
font-size: 8rem;
2023-04-26 18:10:02 -04:00
}
.float-right {
float: right;
}
.user-list {
display: flex;
align-items: center;
margin-left: 8px;
}
.user-circle {
display: flex;
justify-content: center;
align-items: center;
width: 30px;
height: 30px;
border-radius: 50%;
color: #fff;
font-weight: bold;
}
.user-circle-for-list {
margin-right: 10px;
}
/* Randomize color assignment */
.user-circle:nth-child(1) {
background-color: #8e8e8e;
}
.user-circle:nth-child(2) {
background-color: #a57c63;
}
.user-circle:nth-child(3) {
background-color: #8f7c7c;
}
.user-circle:nth-child(4) {
background-color: #9a927f;
}
.user-circle:nth-child(5) {
background-color: #5e5d5d;
}
.user-circle:nth-child(6) {
background-color: #676767;
}
.user-circle:nth-child(7) {
background-color: #6d7d6d;
}
.user-circle:nth-child(8) {
background-color: #7a7171;
}
.user-circle:nth-child(9) {
background-color: #837d63;
}
/* Default to first color if more than 10 users */
.user-circle:nth-child(n + 11) {
background-color: #8e8e8e;
}
.version-info-column {
width: 50%;
}
/* From bootstrap _reboot.scss, people got used to this when we
* had the bootstrap stylesheets, and they liked it.
* Otherwise, the hr in the user profile dropdown shows up as a dot
* and from markdown it's a little darker.
*/
hr {
border: 0;
border-top: 1px solid;
color: inherit;
margin: 1rem 0;
opacity: 0.25;
}
.primary-file-text-suffix {
font-style: italic;
}
.modal-dropdown {
height: 20rem;
Feature/better form nav (#474) * Detect focus loss/return in the Diagram Editor - so that we can reload the process model and assure that we know about any changed files. Allow for looking specifically for json SCHEMA files (those files that are named -schema.json or .schema.json (as is the convention). Only show these in the dropdown for the form. * * Run descriptions through the markdown processor so you can use bold/italic etc... in your description fields within a form. * Move ExampleTable into it's own view component to keep the size of the form builder sane. * Assure markdown within jrsf forms have reasonable styling that follows the containers style, rather than setting to some other default. * Add a couple of example forms so people can get a sense of what is possible. * Connect up the new Json Schema Editor Component to the process model edit diagram. * Just select the schema file - not the ui file when selecting the form for a component - we may revert this to just a text box. * * Cleanup the formatting of arrays, so that they are sligtly intended, do not contain an awkward unneeded heading, and have some tighter css. * Connect the form editing in the modal back to the BPMN-JS editor Auto-Save edits in the Form Builder Lots and lots of tweaks to the react form builder ui * various fixes. * test for prepare_schema * minor fix for run_pyl * css cleanup less issues with reloading and jumping about when in the editor Don't sort keys when returning the json. More intelligent "ready" * bump package to point to branch of bpmn-js-spiffworkflow so others can check it out. * Assure that json keys are not sorted during serialization by default. Allow adding example fields to an existing schema Create a set of examples. * db complaints in migration change. * removed items from interface file that had been moved elsewhere w/ burnettk * rename prepare_form to prepare-form * rename prepare_form to prepare-form * Remove commented out code. * typo * add a comment about the empty column * move back to the main branch --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-08 11:07:43 -04:00
width: auto;
}
.task-data-details-header {
margin-top: 1.5rem;
margin-bottom: 0.5rem;
}
.explanatory-message {
font-style: italic;
font-size: 14px;
}
.indented-content {
margin-left: 1rem;
}
.hidden-form-for-autosave {
display: none;
}
Feature/better form nav (#474) * Detect focus loss/return in the Diagram Editor - so that we can reload the process model and assure that we know about any changed files. Allow for looking specifically for json SCHEMA files (those files that are named -schema.json or .schema.json (as is the convention). Only show these in the dropdown for the form. * * Run descriptions through the markdown processor so you can use bold/italic etc... in your description fields within a form. * Move ExampleTable into it's own view component to keep the size of the form builder sane. * Assure markdown within jrsf forms have reasonable styling that follows the containers style, rather than setting to some other default. * Add a couple of example forms so people can get a sense of what is possible. * Connect up the new Json Schema Editor Component to the process model edit diagram. * Just select the schema file - not the ui file when selecting the form for a component - we may revert this to just a text box. * * Cleanup the formatting of arrays, so that they are sligtly intended, do not contain an awkward unneeded heading, and have some tighter css. * Connect the form editing in the modal back to the BPMN-JS editor Auto-Save edits in the Form Builder Lots and lots of tweaks to the react form builder ui * various fixes. * test for prepare_schema * minor fix for run_pyl * css cleanup less issues with reloading and jumping about when in the editor Don't sort keys when returning the json. More intelligent "ready" * bump package to point to branch of bpmn-js-spiffworkflow so others can check it out. * Assure that json keys are not sorted during serialization by default. Allow adding example fields to an existing schema Create a set of examples. * db complaints in migration change. * removed items from interface file that had been moved elsewhere w/ burnettk * rename prepare_form to prepare-form * rename prepare_form to prepare-form * Remove commented out code. * typo * add a comment about the empty column * move back to the main branch --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-08 11:07:43 -04:00
div.json-schema {
display: flex;
flex-direction: column;
}
.my-completed-forms-header {
font-style: italic;
}
fieldset legend.header {
margin-bottom: 16px;
}
fieldset fieldset fieldset legend.header {
margin-bottom: 16px;
}
.fixed-width-container {
margin: auto;
justify-content: center;
overflow: visible;
/* border: 1px solid black; */
}
/* media min-width 75 means: do the stuff in the block if the browser width is greater than 75 */
@media (min-width: 75rem) {
.fixed-width-container {
max-width: 75rem;
}
}
Newuiv3 (#2047) * new view to kick off process instance * now ProcessModelCard can kick off an instance * show total child items rather than using a slash * some initial code to implement frontend from figma w/ burnettk * updated homepage tab names w/ burnettk * updated field names in new ui w/ burnettk * moved nabar to wrapper component w/ burnettk * added basics for dark mode w/ burnettk * use spiff logo and colors w/ burnettk * use spiff logo and colors w/ burnettk * corrected hover colors in dark mode * some additional formatting * added tree view to start process page in v3 site w/ burnettk * some cleanup for the tree view w/ burnettk * removed unused side nav items w/ burnettk * actually navigate to locations when clicking in nav bar w/ burnettk * moved custom button inline with other items w/ burnettk * moved used items from v2 ui to v3 and change paths to v3 to newui and old to newuiv2 * updated v2 code to match main so we can more easily compare against it * revert v2 route as well to be like main * some fixes and clean and added profile button w/ burnettk * revert nav bar w/ burnettk * update profile menu so it can log out w/ burnettk * added dark mode button back w/ burnettk * profile menu update w/ burnettk * profile menu update w/ burnettk * moved side nav into own component w/ burnettk * make sure you have to logged in to see the new ui w/ burnettk * stack icons on collapse * allow profile menu to go beyond constraint of sidenav * profile menu when collapsed * make thing not overlap * removed duplicate attribute * get tasks from the api instead of mock data * added waiting for column w/ burnettk * fixed header names of new pages w/ burnettk * swap colors * updated some bgcolors w/ burnettk * updated some of the theme colors w/ burnettk * some more color cleanup w/ burnettk * add border to table and background lighter like design * more colors w/ burnettk * add border * add height to tab indicator props * use macro colors * persist theme selection in local storage * h1 as god intended * fix highlight on main nav * new started by me view * avoid hardcoding color because themes * fetch process instances * extract shared junk into components * extract more shared junk * some cleanup to the new workflow view w/ burnettk * update button * more tweaks and fixes to task table w/ burnettk * match design * some updateds to headertabs w/ burnettk * make the create custom tab button look more like the other tabs w/ burnettk * added view mode tile table toggle w/ burnettk * add startopen script to allow all interfaces for dev server * hide complete task play button if no task * remove waiting for from tile if blank w/ burnettk * implemented hide complete w/ burnettk * show non active * fixed var w/ burnettk * do not show action if user cannot complete task w/ burnettk * time ago ts * added timeago in words to task table w/ burnettk * some updates to timeago for typsescript w/ burnettk * some formatting to the tile w/ burnettk * move arrow to top right * make the whole tile clickable if there is a task w/ burnettk * default sidenav to collapsed on mobile * tile views by default on mobile * completely hide menu on mobile, not just collapse * get rid of autocollapse on mobile code, since it is all hidden * mobile nav * improve mobile nav * when you open the nav on mobile, it should always be expanded * some minor support for user group select * lint * persistent top nav so you can always access menu on mobile * implemented group by option w/ burnettk * allow ungroup * only show Ungrouped if it is grouped * group by text * use accent color when grouping tasks * added text.accent for dark mode w/ burnettk * copied task show elements to v3 folder w/ burnettk * newui task show routes work w/ burnettk * converted task show elements to mui w/ burnettk * fixed up task show page a big w/ burnettk * added padding to tash show page w/ burnettk * modified colors for dark mode and consistency w/ burnettk * added interstitial and progress pages to new ui w/ burnettk * go to newui appropriately from interstitial * allow grouping tasks by the process group of their instance * scroll to the card when selecting from the left nav tree w/ burnettk * move task details to bottom of tile w/ burnettk * navigate back to home page when no more tasks w/ burnettk * avoid cutting off right side of main content * a little cleanup w/ burnettk * some format updates to h tags w/ burnettk * fix class name for carbon * Newuiv3a (#2046) * wip to get only runnable prcess models for start process model page w/ burnettk * wip to get only runnable prcess models for start process model page w/ burnettk * wrote out method to group by process group w/ burnettk * added test for grouping by process group * some cleanup to prepare to be merged into the main newuiv3 branch * fixed mypy issues * fixed tests * fixed lint issues w/ burnettk --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> * try to fix animations * remove favorites icon and update pi creation flow w/ burnettk * remove carbon from interstital page w/ burnettk * title is bpmn_name and name is bpmn_id * slow fade transition from interstitial to homepage * do a hilariously long fade in when going from interstitial to homepage * show last process instance id saved on interstitial * get rid of local storage * move last instance to top and avoid on mobile * avoid useEffect and rock local storage * added some error display w/ burnettk * moved v3 specific code to v3 dir w/ burnettk * some code rabbit suggestions w/ burnettk * more code rabbit w/ burnettk * remove bad id w/ burnettk --------- Co-authored-by: burnettk <burnettk@users.noreply.github.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-08-16 15:13:33 -04:00
.limited-width-for-readability,
p,
li,
blockquote,
hr {
max-width: 640px;
}
.cds--white h1,
.cds--white h2,
.cds--white h3,
.cds--white h4,
.cds--white h5,
.cds--white h6 {
max-width: 640px;
}
li.cds--accordion__item {
max-width: 100%;
}
Feature/homepage extension filter refactor (#919) * WIP: initial work to have a home page created from an extension w/ burnettk * added support to display an extension as the root page w/ burnettk * allow extensions to add new routes to base routes w/ burnettk * use page instead of creating new key route w/ burnettk * added components to support pi tables in extensions w/ burnettk * allow using asterisks to mark words as bold in process instance list table * moved table component from InstancesListTable to own component w/ burnettk * filters are somewhat working again w/ burnettk * default homepage uses the table without filters component now w/ burnettk * renamed instance list tables to be more appropriate w/ burnettk * display errors if list table is used incorrectly w/ burnettk * fixed issue where columns were not displaying in the filter list * pyl * rely on changes in report hash to determine if report hash state needs updating * only show link to report if there are instances to show * many updates for filtering to remove the apply button and clean things up w/ burnettk * some more fixes for too many renderings w/ burnettk * advanced filters are working again w/ burnettk * clear is working again w/ burnettk * fixed a few linting errors and warnings w/ burnettk * fixed some cypress tests * if there are errors then display them right away instead of trying to put together the other elements --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-26 11:41:07 -05:00
.process-model-search-combobox li {
max-width: 100%;
}
div.markdown {
padding: 15px 0 15px 0;
overflow: visible;
}
div.markdown-collapsed {
max-height: 200px;
overflow: hidden;
--mask: linear-gradient(
to bottom,
rgba(0, 0, 0, 1) 0,
rgba(0, 0, 0, 1) 40%,
rgba(0, 0, 0, 0) 95%,
rgba(0, 0, 0, 0) 0
)
100% 50% / 100% 100% repeat-x;
font: 2em/1.6em Arial;
-webkit-mask: var(--mask);
mask: var(--mask);
}
.cds--data-table-content {
overflow-x: auto;
}
Newuiv3 (#2047) * new view to kick off process instance * now ProcessModelCard can kick off an instance * show total child items rather than using a slash * some initial code to implement frontend from figma w/ burnettk * updated homepage tab names w/ burnettk * updated field names in new ui w/ burnettk * moved nabar to wrapper component w/ burnettk * added basics for dark mode w/ burnettk * use spiff logo and colors w/ burnettk * use spiff logo and colors w/ burnettk * corrected hover colors in dark mode * some additional formatting * added tree view to start process page in v3 site w/ burnettk * some cleanup for the tree view w/ burnettk * removed unused side nav items w/ burnettk * actually navigate to locations when clicking in nav bar w/ burnettk * moved custom button inline with other items w/ burnettk * moved used items from v2 ui to v3 and change paths to v3 to newui and old to newuiv2 * updated v2 code to match main so we can more easily compare against it * revert v2 route as well to be like main * some fixes and clean and added profile button w/ burnettk * revert nav bar w/ burnettk * update profile menu so it can log out w/ burnettk * added dark mode button back w/ burnettk * profile menu update w/ burnettk * profile menu update w/ burnettk * moved side nav into own component w/ burnettk * make sure you have to logged in to see the new ui w/ burnettk * stack icons on collapse * allow profile menu to go beyond constraint of sidenav * profile menu when collapsed * make thing not overlap * removed duplicate attribute * get tasks from the api instead of mock data * added waiting for column w/ burnettk * fixed header names of new pages w/ burnettk * swap colors * updated some bgcolors w/ burnettk * updated some of the theme colors w/ burnettk * some more color cleanup w/ burnettk * add border to table and background lighter like design * more colors w/ burnettk * add border * add height to tab indicator props * use macro colors * persist theme selection in local storage * h1 as god intended * fix highlight on main nav * new started by me view * avoid hardcoding color because themes * fetch process instances * extract shared junk into components * extract more shared junk * some cleanup to the new workflow view w/ burnettk * update button * more tweaks and fixes to task table w/ burnettk * match design * some updateds to headertabs w/ burnettk * make the create custom tab button look more like the other tabs w/ burnettk * added view mode tile table toggle w/ burnettk * add startopen script to allow all interfaces for dev server * hide complete task play button if no task * remove waiting for from tile if blank w/ burnettk * implemented hide complete w/ burnettk * show non active * fixed var w/ burnettk * do not show action if user cannot complete task w/ burnettk * time ago ts * added timeago in words to task table w/ burnettk * some updates to timeago for typsescript w/ burnettk * some formatting to the tile w/ burnettk * move arrow to top right * make the whole tile clickable if there is a task w/ burnettk * default sidenav to collapsed on mobile * tile views by default on mobile * completely hide menu on mobile, not just collapse * get rid of autocollapse on mobile code, since it is all hidden * mobile nav * improve mobile nav * when you open the nav on mobile, it should always be expanded * some minor support for user group select * lint * persistent top nav so you can always access menu on mobile * implemented group by option w/ burnettk * allow ungroup * only show Ungrouped if it is grouped * group by text * use accent color when grouping tasks * added text.accent for dark mode w/ burnettk * copied task show elements to v3 folder w/ burnettk * newui task show routes work w/ burnettk * converted task show elements to mui w/ burnettk * fixed up task show page a big w/ burnettk * added padding to tash show page w/ burnettk * modified colors for dark mode and consistency w/ burnettk * added interstitial and progress pages to new ui w/ burnettk * go to newui appropriately from interstitial * allow grouping tasks by the process group of their instance * scroll to the card when selecting from the left nav tree w/ burnettk * move task details to bottom of tile w/ burnettk * navigate back to home page when no more tasks w/ burnettk * avoid cutting off right side of main content * a little cleanup w/ burnettk * some format updates to h tags w/ burnettk * fix class name for carbon * Newuiv3a (#2046) * wip to get only runnable prcess models for start process model page w/ burnettk * wip to get only runnable prcess models for start process model page w/ burnettk * wrote out method to group by process group w/ burnettk * added test for grouping by process group * some cleanup to prepare to be merged into the main newuiv3 branch * fixed mypy issues * fixed tests * fixed lint issues w/ burnettk --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> * try to fix animations * remove favorites icon and update pi creation flow w/ burnettk * remove carbon from interstital page w/ burnettk * title is bpmn_name and name is bpmn_id * slow fade transition from interstitial to homepage * do a hilariously long fade in when going from interstitial to homepage * show last process instance id saved on interstitial * get rid of local storage * move last instance to top and avoid on mobile * avoid useEffect and rock local storage * added some error display w/ burnettk * moved v3 specific code to v3 dir w/ burnettk * some code rabbit suggestions w/ burnettk * more code rabbit w/ burnettk * remove bad id w/ burnettk --------- Co-authored-by: burnettk <burnettk@users.noreply.github.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-08-16 15:13:33 -04:00
.MuiContainer-root .wmde-markdown {
background-color: inherit;
color: inherit;
}
.wmde-markdown table {
width: fit-content;
overflow: auto;
}
/* override carbon variable so we can left align accordions*/
.cds--accordion {
--cds-layout-density-padding-inline-local: 0px;
}
.megacondensed-button .cds--btn {
--cds-layout-density-padding-inline-local: 0px;
}
.wmde-markdown ol {
list-style: decimal;
}
.wmde-markdown ul {
list-style: disc;
}
div.cds--tag svg {
vertical-align: middle;
display: inline-block;
}
div.onboarding {
margin-bottom: 2rem;
}
/* makde the completed user form modal more readable */
.completed-task-modal .cds--modal-container {
background-color: #ffffff;
}
.completed-task-modal .cds--text-input:disabled,
.completed-task-modal .cds--text-area:disabled,
.completed-task-modal .cds--date-picker__input:disabled,
.completed-task-modal .cds--select-input:disabled,
.completed-task-modal .cds--select-input:hover:disabled {
--cds-text-disabled: rgba(22, 22, 22, 0.5);
background-color: var(--cds-field);
}
.completed-task-modal .cds--form__helper-text--disabled {
--cds-text-disabled: rgba(22, 22, 22, 0.5);
}
.process-model-file-table {
width: 100%;
table-layout: fixed;
overflow: hidden;
white-space: nowrap;
}
.process-model-file-table-filename {
overflow: hidden;
text-overflow: ellipsis;
}
.login-button {
height: 48px;
width: 216px;
padding-right: 0px;
margin-right: 1rem;
margin-bottom: 1rem;
}
/*
* on the mockup, it looked like about 142px above the heading.
* we already have 32px, so adding the balance.
*/
.login-page-spacer {
padding-top: 110px;
}
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
.shortcut-key {
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
padding: 4px 8px;
margin: 4px;
background-color: #f0f0f0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
font-size: 14px;
color: #333;
}
.shortcut-description {
width: 50%;
/* Adjust width as needed */
float: left;
/* Floats the description to the left */
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
margin-top: 10px;
}
.shortcut-key-group {
width: 50%;
/* Adjust width as needed */
float: right;
/* Floats the keys to the right */
text-align: right;
/* Aligns text to the right within the container */
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
}
the big message improvements branch (#1549) * imported patch from old message_improvements branch w/ burnettk * wip. * merging in changes from message_improvements * remove patch files that were accidendetally added. * Added a modal for editing a correlation. Added ability to delete whole correlation keys. A little css cleanup. * * Removing migration - will add back in at the end. * The Message models API should not require page and per_age parameters, it will return all. * The Message model list should return a full json description of all messages/correlations for all containing groups. * * wip * Add import, fix class name * Getting ./bin/pyl to pass * Getting ./bin/pyl to pass * Some fe lint fixes * Some ruff fixes * Commands to nuke poetry dirs * Temp skipping of a couple tests * Getting ./bin/pyl to pass * This needs to be back in * Revert back to main * Factored out data store handling * Working on factoring out collecting messages, has test failure * Formatting * Fixed up test failures * Remove commentted out lines * Adding fields * Fix merge issue * Re-enable modal * WIP * Untested relationships * Remove correlation key table * Remove retrieval expression from uniqueness * Remove commentted out lines * WIP * WIP * WIP * WIP * WIP * Make mypy pass * Getting formatters to pass * Add migration * WIP fixing tests * WIP fixing tests * WIP fixing tests * WIP fixing tests * WIP fixing tests * Getting ./bin/pyl to pass * Fix skipped test * Fix skipped test * Getting ./bin/pyl to pass * Remove unused method * Remove unused methods * Clean up unused code * Refactor to support creating single messages from the UI * Untested support for processing one process_group * WIP test * WIP test * Filled out test * Getting ./bin/pyl to pass * Message Editor Modal Work * Change migration and add in schemas. * Swtich to using the associated branch of the process BPMN.io mods * Get the backend returning messages created from the frontend to the drop down list in the BPMN.io editor. * Merge main, fix up test * Getting ./bin/pyl to pass * Show path in location * Rename var * install packages from bpmn-js-spiffworkflow as well for local development * process group api can add and update message models now w/ burnettk * backend tests are passing now w/ burnettk * the launch message edit button is loading the editor w/ burnettk * updated bpmn-js-spiffworkflow * pyl is passing w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * fixed console errors w/ burnettk * a couple tweaks w/ burnettk * save the message json in the new format from the mform w/ burnettk * display the correlation props in the form w/ burnettk * default to empty schema so the format is obvious * allow removing correlation props from web ui w/ burnettk * added save notification when saving a message on a process model w/ burnettk * fixed broken test w/ burnettk * Updating test cases to new message format, tests are failing * support schema from messages in frontend * Fixing tests * Fixing tests * Fixing tests * removed references to correlation keys and removed unused components w/ burnettk * removed temp mesasge model edit button w/ burnettk * Make mypy pass * Fixing tests * Fixing tests * Getting ./bin/pyl to pass * save deleted messages before attempting to add new ones w/ burnettk * set state for the message id so it can be changed w/ burnettk * do not wait for the message id to be set since it is not necessary w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * build images for this branch w/ burnettk * put location in path of message-models so we can control permissions on it w/ burnettk * fix black * some coderabbit suggestions * pull in spiff fix * Default schema to {} * Temp fix for invalid schema * updated bpmn-js-spiffworkflow * some updates for issue 1626 * minor name tweaks and attempts to update message dropdown in panel when message changes - does not work yet w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * attempt to call add_message.returned event when message updates w/ burnettk * treat formData as a state in the MesasgeEditor so it can be updated when the form contents is modified w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * Feature/merge correlation properties (#1693) * Merge XML Correlation properties with Process group properties * updates for messages w/ burnettk --------- Co-authored-by: theaubmov <ayoubaitlachgar98@gmail.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com> * do not wait for message id state to be set to better support new messages w/ burnettk * updated SpiffWorkflow w/ burnettk * some cleanup from coderabbit and linting * added index to message tables, run typecheck in ci, and other updates while code reviewing w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * remove branch to build --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: danfunk <daniel.h.funk@gmail.com> Co-authored-by: Jon Herron <jon.herron@yahoo.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com> Co-authored-by: jasquat <2487833+jasquat@users.noreply.github.com> Co-authored-by: theaubmov <ayoubaitlachgar98@gmail.com>
2024-06-10 16:15:54 +00:00
div.retrievalExpressionsForm {
border: 1px solid #999;
border-radius: 15px;
background: #ddd;
padding: 20px;
margin: 20px;
}
.task-info-modal-accordion .cds--accordion__content {
padding-right: 1rem;
}
the big message improvements branch (#1549) * imported patch from old message_improvements branch w/ burnettk * wip. * merging in changes from message_improvements * remove patch files that were accidendetally added. * Added a modal for editing a correlation. Added ability to delete whole correlation keys. A little css cleanup. * * Removing migration - will add back in at the end. * The Message models API should not require page and per_age parameters, it will return all. * The Message model list should return a full json description of all messages/correlations for all containing groups. * * wip * Add import, fix class name * Getting ./bin/pyl to pass * Getting ./bin/pyl to pass * Some fe lint fixes * Some ruff fixes * Commands to nuke poetry dirs * Temp skipping of a couple tests * Getting ./bin/pyl to pass * This needs to be back in * Revert back to main * Factored out data store handling * Working on factoring out collecting messages, has test failure * Formatting * Fixed up test failures * Remove commentted out lines * Adding fields * Fix merge issue * Re-enable modal * WIP * Untested relationships * Remove correlation key table * Remove retrieval expression from uniqueness * Remove commentted out lines * WIP * WIP * WIP * WIP * WIP * Make mypy pass * Getting formatters to pass * Add migration * WIP fixing tests * WIP fixing tests * WIP fixing tests * WIP fixing tests * WIP fixing tests * Getting ./bin/pyl to pass * Fix skipped test * Fix skipped test * Getting ./bin/pyl to pass * Remove unused method * Remove unused methods * Clean up unused code * Refactor to support creating single messages from the UI * Untested support for processing one process_group * WIP test * WIP test * Filled out test * Getting ./bin/pyl to pass * Message Editor Modal Work * Change migration and add in schemas. * Swtich to using the associated branch of the process BPMN.io mods * Get the backend returning messages created from the frontend to the drop down list in the BPMN.io editor. * Merge main, fix up test * Getting ./bin/pyl to pass * Show path in location * Rename var * install packages from bpmn-js-spiffworkflow as well for local development * process group api can add and update message models now w/ burnettk * backend tests are passing now w/ burnettk * the launch message edit button is loading the editor w/ burnettk * updated bpmn-js-spiffworkflow * pyl is passing w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * fixed console errors w/ burnettk * a couple tweaks w/ burnettk * save the message json in the new format from the mform w/ burnettk * display the correlation props in the form w/ burnettk * default to empty schema so the format is obvious * allow removing correlation props from web ui w/ burnettk * added save notification when saving a message on a process model w/ burnettk * fixed broken test w/ burnettk * Updating test cases to new message format, tests are failing * support schema from messages in frontend * Fixing tests * Fixing tests * Fixing tests * removed references to correlation keys and removed unused components w/ burnettk * removed temp mesasge model edit button w/ burnettk * Make mypy pass * Fixing tests * Fixing tests * Getting ./bin/pyl to pass * save deleted messages before attempting to add new ones w/ burnettk * set state for the message id so it can be changed w/ burnettk * do not wait for the message id to be set since it is not necessary w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * build images for this branch w/ burnettk * put location in path of message-models so we can control permissions on it w/ burnettk * fix black * some coderabbit suggestions * pull in spiff fix * Default schema to {} * Temp fix for invalid schema * updated bpmn-js-spiffworkflow * some updates for issue 1626 * minor name tweaks and attempts to update message dropdown in panel when message changes - does not work yet w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * attempt to call add_message.returned event when message updates w/ burnettk * treat formData as a state in the MesasgeEditor so it can be updated when the form contents is modified w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * Feature/merge correlation properties (#1693) * Merge XML Correlation properties with Process group properties * updates for messages w/ burnettk --------- Co-authored-by: theaubmov <ayoubaitlachgar98@gmail.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com> * do not wait for message id state to be set to better support new messages w/ burnettk * updated SpiffWorkflow w/ burnettk * some cleanup from coderabbit and linting * added index to message tables, run typecheck in ci, and other updates while code reviewing w/ burnettk * updated bpmn-js-spiffworkflow w/ burnettk * remove branch to build --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: danfunk <daniel.h.funk@gmail.com> Co-authored-by: Jon Herron <jon.herron@yahoo.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com> Co-authored-by: jasquat <2487833+jasquat@users.noreply.github.com> Co-authored-by: theaubmov <ayoubaitlachgar98@gmail.com>
2024-06-10 16:15:54 +00:00
.task-instance-modal-row-item {
height: 48px;
line-height: 48px;
}
Tcoz openai assist (#1138) * Update README.md Some notes for people that might want to run full-on native, with detail about how Mac hijacks port 7000 and how to get around it. * Revert "Update README.md" This reverts commit 096887c26d591f93a836ef808c148af09767f2d2. * README update and native code patch Some details for user that might be running Python3, Mac, and want to run everything locally/natively. * Implement basic tooltips Uses MUI tooltip, as it behaves more predictably with existing styling, and enables top-level theme config. Top-level configuration for all MUI components can be controlled via overriding the existing theme. See index.tsx. This could be done per user for customization, etc. Enabling JSON module imports in tsconfig.json seemed to fix the error in ReactDiagramEditor * Naive AI code editor implementation A working starting point. * Implement API to return if script assist should be enabled Along with route and function, api config, etc. * UI calls backend to see if script assist is enabled. If it is, loads the related UI, otherwise it doesn't appear. * Moving forward with service for message processing. * Services scaffolded * Open API called, prompt-engineered to get script only. * Little cleanup work * Enabled + process message working. Had to find all the places permissions are enabled, etc. * Cleanup, comments, etc. * Env vars, styling, error cases, conditional display of script assist Finishing touches for the most part. REQUIRES TWO ENV VARS BE SET. SPIFFWORKFLOW_SCRIPT_ASSIST_ENABLED=["True" | "true" | 1] (anything else is false) SECRET_KEY_OPENAI_API=[thekey] The are retrieved in default.py. I run the app locally, so I just set them in the terminal. NEW INSTALL: @carbon/colors (so we consistently use carbon palette etc.) * Fix tooltips, clean up some styling. Finishing it off. * Add loader and error message Complete UX stuff * Update useScriptAssistEnabled.tsx Remove log * Update script_assist_controller.py Add this tweak to avoid TMI. * Some reasonable changes suggested by the build process * Comments from PR. * Update ProcessModelEditDiagram.tsx Should (but I don't know how to tell yet) call the change handler that wasn't firing before. * updated the permissions setting in authorization service w/ burnettk * precommit now passes. tests are failing w/ burnettk * pinned SpiffWorkflow to known working version and fixed tests. we will update spiff in a later pr w/ burnettk * made changes based on coderabbi suggestions * updated the error handling to be more inline with how we have handled other errors and some ui tweaks * removed pymysql package w/ burnettk * forgot to remove pymysql from lock file w/ burnettk --------- Co-authored-by: Tim Consolazio <tcoz@tcoz.com> Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com> Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-04 10:42:27 -05:00
/* Utility classes to create horizontally centered stacks (to align icons etc) */
.flex-align-horizontal-center {
display: flex;
align-items: center;
}
.flex-justify-end {
display: flex;
justify-content: flex-end;
}
.gray-text {
color: gray;
}
.error-text-red {
color: red;
}
/* Utility classes (carbon equivalents for stacks, columns and rows?) */
.p-10 {
padding: 10px;
}
.p-top-10 {
padding-top: 10px;
}
.p-bottom-10 {
padding-bottom: 10px;
}
.p-left-10 {
padding-left: 10px;
}
.p-right-10 {
padding-right: 10px;
}
.m-10 {
margin: 10px;
}
.m-top-10 {
margin-top: 10px;
}
.m-bottom-10 {
margin-bottom: 10px;
}
.m-left-10 {
margin-left: 10px;
}
.m-right-10 {
margin-right: 10px;
}
.not-editable {
pointer-events: none;
}
.pi-show-new-tab-button {
position: relative;
left: 6px;
}