-
Notifications
You must be signed in to change notification settings - Fork 277
AAE-38328 Support screens on start process event #11261
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
AAE-38328 Support screens on start process event #11261
Conversation
| } | ||
| private readonly destroyRef = inject(DestroyRef); | ||
|
|
||
| createDynamicComponent() { |
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.
This logic was moved to base screen
c6ec3b6 to
c41a656
Compare
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.
Pull Request Overview
This PR adds support for screens on start process events, expanding the existing functionality to handle screen-based start forms alongside traditional forms.
- Refactored task type detection into a dedicated service for better code reusability
- Created new screen components for start process events with base class architecture
- Extended start process component to handle screen types and their specific behaviors
Reviewed Changes
Copilot reviewed 18 out of 20 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
start-process-screen-mock.component.ts |
Mock component for testing start process screens |
user-task-cloud.component.ts |
Refactored to use new task type resolver service |
user-task-cloud.component.spec.ts |
Updated test setup for improved mock data handling |
task-type-resolver.service.ts |
New service to centralize task type detection logic |
task-type-resolver.service.spec.ts |
Comprehensive tests for task type resolution |
screen-cloud.component.ts |
Refactored to extend new base screen component |
start-process-screen.model.ts |
Interface definitions for start process screen components |
start-process-screen-cloud.component.ts |
New component for rendering start process screens |
start-process-screen-cloud.component.spec.ts |
Tests for the start process screen component |
start-process-screen-cloud.component.scss |
Styling for overlay screen display |
start-process-screen-cloud.component.html |
Template with conditional button rendering |
base-screen-cloud.component.ts |
Base class for screen components to reduce duplication |
start-process.component.mock.ts |
Enhanced mock helper for test flexibility |
start-process-cloud.component.ts |
Extended to support screen-based process starting |
start-process-cloud.component.spec.ts |
Added comprehensive tests for screen functionality |
start-process-cloud.component.html |
Template updated to render screens conditionally |
public-api.ts |
Updated exports for new screen components |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
lib/process-services-cloud/src/lib/services/task-type-resolver/task-type-resolver.service.ts
Show resolved
Hide resolved
...n/components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.ts
Show resolved
Hide resolved
...components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.scss
Show resolved
Hide resolved
| taskDetails: TaskDetailsCloudModel; | ||
| taskType: TaskTypesType; | ||
| taskTypeEnum = TaskTypes; | ||
| taskType: UserTaskType; |
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.
I prefer to keep properties in alphabetical order, it helps to find properties.
| variables: this.variables ?? {} | ||
| }) | ||
| ); | ||
| let action: Observable<ProcessInstanceCloud>; |
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.
thank you for replacing that completely unreadable ternary
|



Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
What is the new behaviour?
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: