Commit Graph

36 Commits

Author SHA1 Message Date
Sofie Hofmann 523b610813 TSK-1678: Show error when saving empty WorkbasketAccessItem 2021-07-29 13:28:36 +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
Mustapha Zorgati 3172f9f1bc TSK-1436: adapted breaking changes for frontend 2020-12-18 11:29:10 +01:00
Sofie Hofmann fc6f420b96
TSK-1474: Update classification details layout (#1358)
Co-authored-by: Chi Nguyen <c.nguyen.prog@gmail.com>
2020-12-08 17:37:20 +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
Chi Nguyen 6a8311a32b
TSK-1398: New material design for classification component (#1287)
* TSK-1394: Remove bootstrap 3

* TSK-1394: Temporarily remove cypress tests

* TSK-1398: fix classification component display

* TSK-1399: fix workbasket display

* TSK-1398: Fixed category selection in classification component

* TSK-1398: Fixed category selection in classification component
TSK-1398:

* TSK-1398: Added selectCategory method

* TSK-1398: Refactored Classification-Types-Selector

* TSK-1398: Replaced category dropdown in classification details by Select

* TSK-1398: Removed color of category icons

* TSK-1398: added new administration overview navbar

* TSK-1398: Removed bootstrap from action toolbar in classification-list

* TSK-1398: Removed bootstrap from import-export component

* TSK-1398: update visual in action bar in classification list and classification tree

* TSK-1398: Removed bootstrap classes from classification-list

* TSK-1398: update design

* TSK-1398: update classification list design

* TSK-1398: Refactored action-toolbar in classification-details

* TSK-1398: rework administration routing configuration, now nested in mat-tabs

* TSK-1398: administration tabs displays correctly when refreshing/first time open

* TSK-1398: fixed overall CSS errors

* TSK-1398: design update, added tooltips to buttons

* TSK-1398: minor visual changes

* TSK-1398: Refactored classification-details

* TSK-1398: Fixed category selector in classification-details

* TSK-1398: Modified category-icon css

* TSK-1398: update classification details actionbar design

* TSK-1398: minor design update, correctly highlight tab when details is showing

* TSK-1398: Fixed tests in classification-details

* TSK-1398: fixed "valid in domain" text not showing

* TSK-1398: add domain selector in administration overview tabs

* TSK-1398: Fixed tests in classification-list

* TSK-1398: added unit tests for admin overview

* TSK-1398: Update design of action bar in classification list

* TSK-1398: Fixed tests

* TSK-1398: minor CSS, tooltips update

* TSK-1398: fix broken test in classification list

Co-authored-by: Sofie Hofmann <29145005+sofie29@users.noreply.github.com>
2020-10-06 09:58:30 +02:00
Sofie Hofmann bdb56c949f TSK-1349: Added unit test for classification-details component 2020-09-10 08:38:53 +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 16d32fe5ab
TSK-1289: Upgrade to Angular 9 (#1202)
* TSK-1289: Bumped to latest angular@8

* TSK-1289: Bumped to angular@9

* TSK-1289: Configured app for angular@9
2020-08-05 09:18:44 +02:00
Tristan Eisermann 04729b86f8 TSK-1315: Now uses (input) instead of (keypress)
to catch pasting and deleting
2020-07-28 10:59:15 +02:00
Tristan Eisermann a2c5b22435 TSK-1315: Added inputLengthValidation to Workplace/Task 2020-07-28 10:59:15 +02:00
Tristan Eisermann 153f783a8a TSK-1315: Moved validation from components to service 2020-07-28 10:59:15 +02:00
Tristan Eisermann 78ba08fd77 TSK-1315: Added maxlength validation in workbasket
Also small fixes and formating
2020-07-28 10:59:15 +02:00
Tristan Eisermann 33845db647 TSK-1315: Now uses maxlength for validation in classification 2020-07-28 10:59:15 +02:00
Tristan Eisermann da4a90c998 TSK-1315: Start of input validation using pattern 2020-07-28 10:59:15 +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
Sofie Hofmann 83a79eab18 TSK-1291: Removing action property in store to make the code cleaner 2020-07-21 13:45:21 +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
Tristan Eisermann 6f225ebc28 TSK-1221: Fix for key not showing after copy of classification 2020-06-24 22:19:52 +02:00
Tristan Eisermann 7abb9b4c2f TSK-1221: Added test for copy
TSK-1221: Added copy functionality to classifications
2020-06-23 17:00:02 +02:00
Tristan Eisermann b0dc2663e5 TSK-1221: Added copy functionality to classifications 2020-06-23 17:00:02 +02:00
Sofie Hofmann 2760b9ee59 TSK-1279: Enable the creation of subclassifications 2020-06-22 12:43:25 +02:00
Tristan Eisermann dbdf3e6b03 TSK-1214: Removed unneccessary copies and GET call 2020-06-17 14:21:38 +02:00
Chi Nguyen 8434bde759 TSK-1214 implemented ngxs store as state manager for classification component 2020-06-17 12:19:38 +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 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 ea87836a9a reverted changes to tree component 2020-04-19 19:25:09 +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 3820f0d5c7 TSK-1187 tree component, service and model to administration 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
Chi Nguyen 2ce65c502c moved files from classification to components folder 2020-04-19 19:25:09 +02:00