Commit Graph

34 Commits

Author SHA1 Message Date
MM1277 31100a54dd Closes #2563 - add handling of permissions as access ids
Co-authored-by: SebastianRoseneck <55637012+SebastianRoseneck@users.noreply.github.com>
Co-authored-by: ryzheboka <025465835+ryzheboka@users.noreply.github.com>
2024-07-26 10:12:36 +02:00
SebastianRoseneck 5d1668b958 Closes #2306 - extend Admin-UI by permissions READTASKS and EDITTASKS (#2318) 2023-07-25 15:27:00 +02:00
Tristan 28be668453 TSK-1806: Bug fixes for Workbasket Distribution Targets
Bug fixes:
  Changes no longer get discarded when switching tabs
  Saving of Workbasket Distribution Targets is now possible from all tabs
  Saving of Workbasket Distribution Targets now works correctly and does not throw an error 400
  Removing of Distribution Targets now works correctly
  Removed loading of duplicate distribution targets
  Added E2E tests for most previously mentioned bugs
2022-03-01 14:36:20 +01:00
Sofie Hofmann f18a8dc932 TSK-1630,TSK-1670: Enabled owner validiation and editing AccessItem name 2021-09-01 10:54:23 +02:00
Mustapha Zorgati 8edb488bd3 TSK-1647: Implemented global frontend error handling using backend error keys
Co-authored-by: Tristan Eisermann<19949441+Tristan2357@users.noreply.github.com>
Co-authored-by: Tim Gerversmann<72377965+tge20@users.noreply.github.com>
Co-authored-by: Sofie Hofmann<29145005+sofie29@users.noreply.github.com>
2021-07-14 10:49:34 +02:00
Sofie Hofmann 22999c0bb0 TSK-1044: Correct checking of 'select all' checkbox in access items
TSK-1044: Rebase
2021-02-16 12:26:35 +01:00
Sofie Hofmann 725679d77c TSK-1556: Fix indexing in workbasket access items 2021-02-15 17:27:44 +01:00
Sofie Hofmann 751930226b TSK-1044: Fix selectAll checkbox 2021-02-03 11:17:23 +01:00
Sofie Hofmann d18a040cf1 TSK-1431: Sort workbasket access items by accessId 2021-02-02 17:35:24 +01:00
Sofie Hofmann 5f94d31056 TSK-1043: Fix access-items table width 2021-02-01 08:39:59 +01:00
Sofie Hofmann 7e965a2709 TSK-1503: Refactored copy function and saving mechanism 2021-01-26 07:45:41 +01:00
Sofie Hofmann bdf761d29c TSK-1496: Fixed error in console when creating new workbasket 2020-12-22 18:36:33 +01:00
Sofie Hofmann 149aae8e85 TSK-1493: Small changes in task-history-query
TSK-1493:
2020-12-21 15:30:39 +01:00
Franzi321 f42f79ef69
TSK-1476: Rework workbasket access items (#1360)
* TSK-1476: Rework Workbasket Access Items

* TSK-1476: Rework Workbasket Access Items

* TSK-1476: update
2020-12-18 15:27:59 +01:00
Chi Nguyen 2a9ffa8a80 TSK-1485: implement save all 3 components in save button 2020-12-18 12:28:02 +01:00
Sofie Hofmann 4dd426e060 TSK-1316: Replaced local progress bars by global one
TSK-1316: Replaced local progress bars by global one in workplace
TSK-1316: Rework of progress-bar component


TSK-1316: Renamed progress-bar component


TSK-1316: Changed progress-bar mode
TSK-1316: Updated tests
2020-12-02 11:55:20 +01:00
Sofie Hofmann b8156d75ab
TSK-1448: Expand workbasket path with selected tab (#1333) 2020-11-16 12:59:58 +01:00
Chi Nguyen a139940bd2
TSK-1411: Update Update Workbasket Access Items Component MD (#1310)
* TSK-1411: updated workbasket access items functionality to work with new action bar

* TSK-1411: updated new design, accessibility, tests for workbasket access items

* TSK-1411: remove container ripple effect which causes discrepancy between firefox and chromium

* TSK-1411: minor CSS update
2020-10-20 17:06:22 +02:00
Chi Nguyen 88b8486a49
TSK-1349: Workbasket access items unit tests (#1246)
* TSK-1349: remove html coverage to optimize test speed

* TSK-1349: init workbasket access items testing env

* TSK-1349: update workbasket access items unit tests
2020-09-02 11:03:59 +02:00
Chi Nguyen 008c1aec20
TSK-1349: Added unit test for Workbasket-Overview, -List and -ListToolbar (#1236)
* TSK-1349: added test for workbasket overview

* TSK-1349: moved animations ts files to shared

* TSK-1349: added unit test for workbasket list toolbar

* TSK-1349: added unit tests for workbasket-list

* TSK-1349: improved tests for workbasket-overview

* TSK-1349: Updated test for workbasket list, workbasket-list-toolbar

* TSK-1349: added more test variants for workbasket overview

* TSK-1349: removed console log

* TSK-1349: removed CUSTOM_ELEMENTS_SCHEMA

* TSK-1349: improved tests

* TSK-1349: further optimized tests
2020-08-19 12:52:57 +02:00
Chi Nguyen 29e468e6aa
TSK-981: Provide frontend formatter for common IDEs (#1187)
* TSK-981: tested adding prettier

* TSK-981: Refined prettier and eslint configs

* TSK-981: Update eslint rules

* TSK-981: Updated VS Code settings and ignore folders

* TSK-981: Added editor config

* TSK-981: added html to prettierignore

* TSK-981: tested adding prettier

* TSK-981: Refined prettier and eslint configs

* TSK-981: Update eslint rules

* TSK-981: Updated VS Code settings and ignore folders

* TSK-981: Added editor config

* TSK-981: added html to prettierignore

* TSK-981: reformatted code using prettier/new eslint configs
2020-07-22 10:44:33 +02:00
Chi Nguyen 59b45f626a
TSK-1215: Workbasket component NGXS store (#1169)
* TSK-1214: refactored taskana-classification

TSK-1214 Trying to make drag'n drop in tree possible

TSK-1214 Removed refreshClassification output from tree

TSK-1214 New action in store updates a classification and refetches all, saving now correctly refreshes the classification-list

TSK-1214 Fixed tests in tree component

TSK-1214 Removed tree service and corresponding test in class-details

TSK-1214 fixed issues in tree where multiple actions to store are fired incorrectly

TSK-1214 added accessibility action, use space to select a tree node

TSK-1214 swapped space and enter in tree component, cleaned code

TSK-1214 fixed bug where page isn't updated dynamically according to browser path

TSK-1214 workaround circular dependency.

service uses snapshot of store, does not actually access the state in store

TSK-1214 fixed eslint. TODO: circular dependency between classification.service and classification.state

TSK-1214 changed first() to take(1) to fix Observable dying during test

TSK-1214 fixed test cases and lint issues

TSK-1214 fixed circular dependency

TSK-1214 devmode = false

TSK-1214: fixed merge problems with notificationService and removed some warnings

TSK-1214: fixed merge problems with notificationService

TSK-1214 remove wrong imports from before merge

* TSK-1215 initialized workbasket ngxs store with get all and select workbasket

* TSK-1215 added actions for creating workbasket and getting workbasket access items

* TSK-1215 fixed models' attributes in workbasket

* TSK-1215 changed workbasket models from class type to interface type

* TSK-1215 correct the naming scheme for models in workbasket

* TSK-1215 update workbasket models to mirror backend entities

* TSK-1215 implemented workbasketsSummary in store

* TSK-1215 workbasket list data is now populated using NGXS Store

* TSK-1215 fixed console errors while navigating pagination

* TSK-1215 initialized workbasket-overview

* TSK-1215 removed unnecessary subscriptions

* TSK-1215 fixed workbasket access items still using WorkbasketAccessItems as a class instead of an interface

* TSK-1215 implemented routing for workbasket overview, removed master-details component

* TSK-1215 implemented new behaviors based on ngxs store instead of router

* TSK-1215 bug fixes for creating, selecting and deselecting workbasket

* TSK-1215 further bugs fixing regarding creating and selecting workbasket

* TSK-1215 fixed bugs where input workbasket was immutable in information component

* TSK-1215 added remove distribution target and delete workbasket actions

* TSK-1215 implemented mark workbasket for deletion in state

* TSK-1215 implemented workbasket copy function

* TSK-1215 implemented mark workbasket for deletion

* TSK-1287 implemented typeahead for owner field in workbasket

* TSK-1215 added actions for workbasket access items and distribution targets

* TSK-1215 fixed bugs saving or creating new workbasket

* TSK-1215 finished workbasket information

* TSK-1215 updated tests for workbasket list, details and information

* TSK-1215 increased HTML visibility, refine css

* TSK-1215 implemented workbasket access items using ngxs state

* TSK-1215 increased workbasket distribution target HTML code visibility

* TSK-1215 initialization of distribution targets now uses actions from state

* TSK-1215 use takeUntil for subscriptions instead of manually unsubscribing

* TSK-1215 save function for distribution targets now dispatch an action

* TSK-1215: code refinement in ngxs store

* TSK-1214: refactored taskana-classification

TSK-1214 Trying to make drag'n drop in tree possible

TSK-1214 Removed refreshClassification output from tree

TSK-1214 New action in store updates a classification and refetches all, saving now correctly refreshes the classification-list

TSK-1214 Fixed tests in tree component

TSK-1214 Removed tree service and corresponding test in class-details

TSK-1214 fixed issues in tree where multiple actions to store are fired incorrectly

TSK-1214 added accessibility action, use space to select a tree node

TSK-1214 swapped space and enter in tree component, cleaned code

TSK-1214 fixed bug where page isn't updated dynamically according to browser path

TSK-1214 workaround circular dependency.

service uses snapshot of store, does not actually access the state in store

TSK-1214 fixed eslint. TODO: circular dependency between classification.service and classification.state

TSK-1214 changed first() to take(1) to fix Observable dying during test

TSK-1214 fixed test cases and lint issues

TSK-1214 fixed circular dependency

TSK-1214 devmode = false

TSK-1214: fixed merge problems with notificationService and removed some warnings

TSK-1214: fixed merge problems with notificationService

TSK-1214 remove wrong imports from before merge

* TSK-1215 initialized workbasket ngxs store with get all and select workbasket

* TSK-1215 added actions for creating workbasket and getting workbasket access items

* TSK-1215 fixed models' attributes in workbasket

* TSK-1215 changed workbasket models from class type to interface type

* TSK-1215 correct the naming scheme for models in workbasket

* TSK-1215 update workbasket models to mirror backend entities

* TSK-1215 implemented workbasketsSummary in store

* TSK-1215 workbasket list data is now populated using NGXS Store

* TSK-1215 fixed console errors while navigating pagination

* TSK-1215 initialized workbasket-overview

* TSK-1215 removed unnecessary subscriptions

* TSK-1215 fixed workbasket access items still using WorkbasketAccessItems as a class instead of an interface

* TSK-1215 implemented routing for workbasket overview, removed master-details component

* TSK-1215 implemented new behaviors based on ngxs store instead of router

* TSK-1215 bug fixes for creating, selecting and deselecting workbasket

* TSK-1215 further bugs fixing regarding creating and selecting workbasket

* TSK-1215 fixed bugs where input workbasket was immutable in information component

* TSK-1215 added remove distribution target and delete workbasket actions

* TSK-1215 implemented mark workbasket for deletion in state

* TSK-1215 implemented workbasket copy function

* TSK-1215 implemented mark workbasket for deletion

* TSK-1287 implemented typeahead for owner field in workbasket

* TSK-1215 added actions for workbasket access items and distribution targets

* TSK-1215 fixed bugs saving or creating new workbasket

* TSK-1215 finished workbasket information

* TSK-1215 updated tests for workbasket list, details and information

* TSK-1215 increased HTML visibility, refine css

* TSK-1215 implemented workbasket access items using ngxs state

* TSK-1215 increased workbasket distribution target HTML code visibility

* TSK-1215 initialization of distribution targets now uses actions from state

* TSK-1215 use takeUntil for subscriptions instead of manually unsubscribing

* TSK-1215 save function for distribution targets now dispatch an action

* TSK-1215: code refinement in ngxs store

* TSK-1215: Optimize select workbasket algorithm

* TSK-1215: Fixed workbasket information not displaying correctly after saving

* TSK-1215: configured tests for workbasket distribution targets

* TSK-1215: updated unit tests for workbasket

* TSK-1215: cleaned up code, prep for PR

* TSK-1215: disable dev mode

* TSK-1215: fixed failed tests occured after merge

* TSK-1215: reverted node version

* TSK-1215: Further bugs fixed due to merging

* TSK-1068: Fixed bugs workbasket staying active after being moved

* TSK-1215: Fixed minor bugs in tests

* TSK-1215: various improvement in code, typeahead style

* TSK-1215: Updated typeahead css

* TSK-1215: Fixed failed tests due to merge

* TSK-1342: getTasksWorkbasketReport now filters for states

* TSK-1214: refactored taskana-classification

TSK-1214 Trying to make drag'n drop in tree possible

TSK-1214 Removed refreshClassification output from tree

TSK-1214 New action in store updates a classification and refetches all, saving now correctly refreshes the classification-list

TSK-1214 Fixed tests in tree component

TSK-1214 Removed tree service and corresponding test in class-details

TSK-1214 fixed issues in tree where multiple actions to store are fired incorrectly

TSK-1214 added accessibility action, use space to select a tree node

TSK-1214 swapped space and enter in tree component, cleaned code

TSK-1214 fixed bug where page isn't updated dynamically according to browser path

TSK-1214 workaround circular dependency.

service uses snapshot of store, does not actually access the state in store

TSK-1214 fixed eslint. TODO: circular dependency between classification.service and classification.state

TSK-1214 changed first() to take(1) to fix Observable dying during test

TSK-1214 fixed test cases and lint issues

TSK-1214 fixed circular dependency

TSK-1214 devmode = false

TSK-1214: fixed merge problems with notificationService and removed some warnings

TSK-1214: fixed merge problems with notificationService

TSK-1214 remove wrong imports from before merge

* TSK-1215 initialized workbasket ngxs store with get all and select workbasket

* TSK-1215 added actions for creating workbasket and getting workbasket access items

* TSK-1215 fixed models' attributes in workbasket

* TSK-1215 changed workbasket models from class type to interface type

* TSK-1215 correct the naming scheme for models in workbasket

* TSK-1215 update workbasket models to mirror backend entities

* TSK-1215 implemented workbasketsSummary in store

* TSK-1215 workbasket list data is now populated using NGXS Store

* TSK-1215 fixed console errors while navigating pagination

* TSK-1215 initialized workbasket-overview

* TSK-1215 removed unnecessary subscriptions

* TSK-1215 fixed workbasket access items still using WorkbasketAccessItems as a class instead of an interface

* TSK-1215 implemented routing for workbasket overview, removed master-details component

* TSK-1215 implemented new behaviors based on ngxs store instead of router

* TSK-1215 bug fixes for creating, selecting and deselecting workbasket

* TSK-1215 further bugs fixing regarding creating and selecting workbasket

* TSK-1215 fixed bugs where input workbasket was immutable in information component

* TSK-1215 added remove distribution target and delete workbasket actions

* TSK-1215 implemented mark workbasket for deletion in state

* TSK-1215 implemented workbasket copy function

* TSK-1215 implemented mark workbasket for deletion

* TSK-1287 implemented typeahead for owner field in workbasket

* TSK-1215 added actions for workbasket access items and distribution targets

* TSK-1215 fixed bugs saving or creating new workbasket

* TSK-1215 finished workbasket information

* TSK-1215 updated tests for workbasket list, details and information

* TSK-1215 increased HTML visibility, refine css

* TSK-1215 implemented workbasket access items using ngxs state

* TSK-1215 increased workbasket distribution target HTML code visibility

* TSK-1215 initialization of distribution targets now uses actions from state

* TSK-1215 use takeUntil for subscriptions instead of manually unsubscribing

* TSK-1215 save function for distribution targets now dispatch an action

* TSK-1215: code refinement in ngxs store

* TSK-1215 initialized workbasket ngxs store with get all and select workbasket

* TSK-1215 added actions for creating workbasket and getting workbasket access items

* TSK-1215 fixed models' attributes in workbasket

* TSK-1215 changed workbasket models from class type to interface type

* TSK-1215 correct the naming scheme for models in workbasket

* TSK-1215 update workbasket models to mirror backend entities

* TSK-1215 implemented workbasketsSummary in store

* TSK-1215 workbasket list data is now populated using NGXS Store

* TSK-1215 fixed console errors while navigating pagination

* TSK-1215 initialized workbasket-overview

* TSK-1215 removed unnecessary subscriptions

* TSK-1215 fixed workbasket access items still using WorkbasketAccessItems as a class instead of an interface

* TSK-1215 implemented routing for workbasket overview, removed master-details component

* TSK-1215 implemented new behaviors based on ngxs store instead of router

* TSK-1215 bug fixes for creating, selecting and deselecting workbasket

* TSK-1215 further bugs fixing regarding creating and selecting workbasket

* TSK-1215 fixed bugs where input workbasket was immutable in information component

* TSK-1215 added remove distribution target and delete workbasket actions

* TSK-1215 implemented mark workbasket for deletion in state

* TSK-1215 implemented workbasket copy function

* TSK-1215 implemented mark workbasket for deletion

* TSK-1287 implemented typeahead for owner field in workbasket

* TSK-1215 added actions for workbasket access items and distribution targets

* TSK-1215 fixed bugs saving or creating new workbasket

* TSK-1215 finished workbasket information

* TSK-1215 updated tests for workbasket list, details and information

* TSK-1215 increased HTML visibility, refine css

* TSK-1215 implemented workbasket access items using ngxs state

* TSK-1215 increased workbasket distribution target HTML code visibility

* TSK-1215 initialization of distribution targets now uses actions from state

* TSK-1215 use takeUntil for subscriptions instead of manually unsubscribing

* TSK-1215 save function for distribution targets now dispatch an action

* TSK-1215: code refinement in ngxs store

* TSK-1215: Optimize select workbasket algorithm

* TSK-1215: Fixed workbasket information not displaying correctly after saving

* TSK-1215: configured tests for workbasket distribution targets

* TSK-1215: updated unit tests for workbasket

* TSK-1215: cleaned up code, prep for PR

* TSK-1215: disable dev mode

* TSK-1215: fixed failed tests occured after merge

* TSK-1215: reverted node version

* TSK-1215: Further bugs fixed due to merging

* TSK-1068: Fixed bugs workbasket staying active after being moved

* TSK-1215: Fixed minor bugs in tests

* TSK-1215: various improvement in code, typeahead style

* TSK-1215: Updated typeahead css

* TSK-1215: Fixed failed tests due to merge

* TSK-1215: Rebase, prep for merge with master

Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
Co-authored-by: Tristan Eisermann <19949441+Tristan2357@users.noreply.github.com>
2020-07-22 09:54:57 +02:00
Sofie Hofmann caf886ffc7 TSK-1325: Renamed selectors in administration component 2020-07-10 12:13:39 +02:00
Mustapha Zorgati 135d78ff54 TSK-1298: TSK-1292: fixed several bugs in taskana-admin > classifications 2020-06-30 13:58:47 +02:00
Mustapha Zorgati 493e25b565 TSK-1214: refactored taskana-classification
TSK-1214 Trying to make drag'n drop in tree possible

TSK-1214 Removed refreshClassification output from tree

TSK-1214 New action in store updates a classification and refetches all, saving now correctly refreshes the classification-list

TSK-1214 Fixed tests in tree component

TSK-1214 Removed tree service and corresponding test in class-details

TSK-1214 fixed issues in tree where multiple actions to store are fired incorrectly

TSK-1214 added accessibility action, use space to select a tree node

TSK-1214 swapped space and enter in tree component, cleaned code

TSK-1214 fixed bug where page isn't updated dynamically according to browser path

TSK-1214 workaround circular dependency.

service uses snapshot of store, does not actually access the state in store

TSK-1214 fixed eslint. TODO: circular dependency between classification.service and classification.state

TSK-1214 changed first() to take(1) to fix Observable dying during test

TSK-1214 fixed test cases and lint issues

TSK-1214 fixed circular dependency

TSK-1214 devmode = false

TSK-1214: fixed merge problems with notificationService and removed some warnings

TSK-1214: fixed merge problems with notificationService

TSK-1214 remove wrong imports from before merge
2020-06-17 12:19:38 +02:00
Tristan Eisermann 015ba38a25 TSK-1039: Autofocus AccessID field after adding a new AccessID in Workbasket 2020-06-16 14:56:53 +02:00
Tristan Eisermann e64af885b3 TSK-1205 Added new Toasts and DialogPopUps that replace the old infrastructure for alerting the user 2020-05-12 11:28:36 +02:00
Tristan Eisermann 314fa14b91 TSK-1199 Adapt alert handling to error handling and use global notification handler 2020-04-24 11:27:42 +02:00
Chi Nguyen cdfaa13401 TSK-1189 moved store in shared 2020-04-22 17:04:24 +02:00
Chi Nguyen 029d8595b2 TSK-1189 restructure theme files 2020-04-22 17:04:24 +02:00
Sofie Hofmann f8945ecfa7 TSK-1191 Restructured shared component
TSK-1191 Removed camelCase notation from file names


TSK-1191 Moved services


TSK-1191 Moved models


TSK-1191 Moved classification-types-selector to admin


TSK-1191 Moved components and guards


TSK-1191 Renamed some models


TSK-1191 Moved services into folders
2020-04-21 16:46:16 +02:00
Chi Nguyen c1ad59c2a3 Revert "TSK-1187 moved action and tree node models to administration"
This reverts commit 3543a898ec.
2020-04-19 19:25:09 +02:00
Chi Nguyen 55b752cd40 TSK-1187 moved action and tree node models to administration 2020-04-19 19:25:09 +02:00
Tristan Eisermann d6f507670a TSK-1187 renamed and rearranged the workbasket in administration 2020-04-19 19:25:09 +02:00