-
Notifications
You must be signed in to change notification settings - Fork 4
[NAE-2036] Task-List-View to open Case by link #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- add option to open DefaultSimpleTaskView from URL when defined in nae.json and registered in view service - view in nae.json needs to have :singleCaseId in the path
@@ -42,6 +42,7 @@ import {BreadcrumbsExampleComponent} from './doc/breadcrumbs-example/breadcrumbs | |||
import {DashboardCaseExampleComponent} from './doc/dashboard-case-example/dashboard-case-example.component'; | |||
import {ImpersonationDemoComponent} from './doc/impersonation-demo/impersonation-demo.component'; | |||
import {ChangePasswordComponent} from "./doc/forms/change-password/change-password.component"; | |||
import {DefaultSimpleTaskViewComponent} from 'netgrif-components'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix import
} | ||
|
||
public extractCompleteFilterFromData(dataSection: Array<DataGroup>, fieldId: string = UserFilterConstants.FILTER_FIELD_ID): Filter | undefined { | ||
public extractCompleteFilterFromData(activatedRoute: ActivatedRoute, dataSection?: Array<DataGroup>, fieldId: string = UserFilterConstants.FILTER_FIELD_ID): Filter | undefined { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be activatedRoute also the optional ? i dont think we want to put activated route in this function on views that arent supposed to take route parameter
- fix imports -> netgrif-components-core - @netgrif/components-core
|
Description
Implements possibility to navigate to task list view of case which caseId is included in URL. Only tasks of this case are displayed in this task list view. This view needs to be included in nae.json and registered in view.service of project. See example in code.
Implements NAE-2036
Dependencies
No new dependencies were introduced.
Third party dependencies
No new dependencies were introduced.
Blocking Pull requests
There are no dependencies on other PR
How Has Been This Tested?
Manually from application
Checklist: