You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[NAE-2416] AbstractFileDefaultFieldComponent does not push upload event notification to TaskEventService
- Integrated `FrontActionService` in `AbstractFileDefaultFieldComponent` to handle front-end actions based on outcomes.
- Enhanced file upload logic with better error handling and front action triggers, such as displaying success feedback via snackbar actions.
- Updated tests for `AbstractFileListDefaultFieldComponent` to include `FrontActionService`.
- Registered a new `snackBar` front action in the `FrontActionModule`.
- Refactored the file upload methods to utilize modern RXJS subscription patterns with error handling improvements.
- Improved readability and maintainability of file download and preview logic by addressing structuring and formatting issues.
- Removed unused imports and simplified test components.
These changes aim to improve the user experience by handling outcome-based front actions and offering better feedback on file operations.
Copy file name to clipboardExpand all lines: projects/netgrif-components-core/src/lib/data-fields/file-field/file-default-field/abstract-file-default-field.component.spec.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,6 @@ import {MockUserResourceService} from "../../../utility/tests/mocks/mock-user-re
Copy file name to clipboardExpand all lines: projects/netgrif-components-core/src/lib/data-fields/file-field/file-default-field/abstract-file-default-field.component.ts
+59-46Lines changed: 59 additions & 46 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ import {DATA_FIELD_PORTAL_DATA, DataFieldPortalData} from "../../models/data-fie
Copy file name to clipboardExpand all lines: projects/netgrif-components-core/src/lib/data-fields/file-list-field/file-list-default-field/abstract-file-list-default-field.component.spec.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,6 @@ import {MockUserResourceService} from "../../../utility/tests/mocks/mock-user-re
0 commit comments