mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-13 02:54:27 +00:00
50ebf05100
* 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>
92 lines
2.3 KiB
JavaScript
92 lines
2.3 KiB
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
},
|
|
extends: [
|
|
'airbnb',
|
|
'plugin:import/errors',
|
|
'plugin:import/typescript',
|
|
'plugin:import/warnings',
|
|
'plugin:prettier/recommended',
|
|
'plugin:react-hooks/recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:sonarjs/recommended-legacy',
|
|
],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module',
|
|
},
|
|
plugins: [
|
|
'@typescript-eslint',
|
|
'react',
|
|
'react-hooks',
|
|
'sonarjs',
|
|
'unused-imports',
|
|
],
|
|
rules: {
|
|
// according to https://github.com/typescript-eslint/typescript-eslint/issues/2621, You should turn off the eslint core rule and turn on the typescript-eslint rule
|
|
// but not sure which of the above "extends" statements is maybe bringing in eslint core
|
|
'max-len': ['error', { code: 200, ignoreUrls: true }],
|
|
'no-shadow': 'off',
|
|
'@typescript-eslint/no-shadow': ['error'],
|
|
'jest/expect-expect': 'off',
|
|
'react/jsx-no-bind': 'off',
|
|
// FIXME: turn this back on someday
|
|
'react/jsx-key': 'off',
|
|
'jsx-a11y/no-autofocus': 'off',
|
|
'jsx-a11y/label-has-associated-control': 'off',
|
|
'no-console': 'off',
|
|
'react/jsx-filename-extension': [
|
|
'warn',
|
|
{ extensions: ['.js', '.jsx', '.tsx', '.ts'] },
|
|
],
|
|
'react/react-in-jsx-scope': 'off',
|
|
'react/require-default-props': 'off',
|
|
'import/prefer-default-export': 'off',
|
|
'no-unused-vars': 'off',
|
|
'sonarjs/no-duplicate-string': ['error', { threshold: 7 }],
|
|
'unused-imports/no-unused-imports': 'error',
|
|
'unused-imports/no-unused-vars': [
|
|
'warn',
|
|
{
|
|
vars: 'all',
|
|
varsIgnorePattern: '^_',
|
|
args: 'after-used',
|
|
argsIgnorePattern: '^_',
|
|
},
|
|
],
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'error',
|
|
{
|
|
destructuredArrayIgnorePattern: '^_',
|
|
varsIgnorePattern: '_',
|
|
argsIgnorePattern: '^_',
|
|
},
|
|
],
|
|
'import/extensions': [
|
|
'error',
|
|
'ignorePackages',
|
|
{
|
|
js: 'never',
|
|
jsx: 'never',
|
|
ts: 'never',
|
|
tsx: 'never',
|
|
},
|
|
],
|
|
curly: ['error', 'all'],
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ['**/*.test.ts', '**/*.test.tsx'],
|
|
env: {
|
|
jest: true,
|
|
},
|
|
},
|
|
],
|
|
};
|