-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enhanced Workflow Instance Filters #4957
Commits on Feb 17, 2024
-
Add timestamp filtering for workflow instances
Implemented a new feature in the workflow instances' querying API, enabling filtering based on timestamps. The changes include adding a new TimestampFilter class and modifying existing classes accordingly. This new filter supports various operators such as greater than and less than, providing flexibility in filtering workflow instances.
Configuration menu - View commit details
-
Copy full SHA for 349c391 - Browse repository at this point
Copy the full SHA 349c391View commit details
Commits on Feb 18, 2024
-
Improve timestamp filtering efficiency and update UI in WorkflowInsta…
…nceList Timestamp filtering within WorkflowInstanceList is refactored using System.Linq.Dynamic.Core for more compact expression. This change results in simpler and more efficient code, reducing repetitive code lines. The UI updates include changing the MudGrid structure to table for timestamp filters display, offering a more organized view. Also, protection against null or minimum date values during parsing and comparisons is added, increasing stability and safety of operations.
Configuration menu - View commit details
-
Copy full SHA for d944c6c - Browse repository at this point
Copy the full SHA d944c6cView commit details -
Refactor HTTP verbs and routes configuration in Endpoint.cs
The previous Get and Post method calls for handling '/workflow-instances' have been replaced with a Verbs method for HTTP verbs and a Routes method for setting the route.
Configuration menu - View commit details
-
Copy full SHA for b9691a7 - Browse repository at this point
Copy the full SHA b9691a7View commit details -
Update WorkflowInstanceFilter to use nullable HasIncidents
The HasIncidents property in WorkflowInstanceFilter has been updated from a bool to a nullable bool so that it can represent three states (true, false, or null) instead of only two. This allows not only to filter workflow instances that have incidents, but also those that don't have any, enhancing the flexibility of the filter in the process.
Configuration menu - View commit details
-
Copy full SHA for 43f9b2c - Browse repository at this point
Copy the full SHA 43f9b2cView commit details -
Improve search functionality and UI in WorkflowInstanceList
Updated search term comparison in WorkflowInstanceFilter to use "Contains" instead of "Equals" to improve search flexibility. Also, enhanced the user interface in WorkflowInstanceList by adding debounce interval for the search input for performance reasons and by adding a Close button for convenience.
Configuration menu - View commit details
-
Copy full SHA for 79860e0 - Browse repository at this point
Copy the full SHA 79860e0View commit details -
Add input validation to WorkflowInstances endpoint
The code modifies the API endpoint for WorkflowInstances. It now checks that the input provided in the request is valid before proceeding. Furthermore, a new file called 'RequiredMembers.cs' has been added, which introduces two new attributes 'RequiredMemberAttribute' and 'CompilerFeatureRequiredAttribute'.
Configuration menu - View commit details
-
Copy full SHA for 0f34fdd - Browse repository at this point
Copy the full SHA 0f34fddView commit details -
Update src/modules/Elsa.Workflows.Management/Models/TimestampFilter.cs
Co-authored-by: Béchir BEN AMEUR <32399944+bbenameur@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8d24311 - Browse repository at this point
Copy the full SHA 8d24311View commit details -
Update src/modules/Elsa.Workflows.Management/Models/TimestampFilter.cs
Co-authored-by: Béchir BEN AMEUR <32399944+bbenameur@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8765a3f - Browse repository at this point
Copy the full SHA 8765a3fView commit details -
Update src/modules/Elsa.Workflows.Management/Models/TimestampFilter.cs
Co-authored-by: Béchir BEN AMEUR <32399944+bbenameur@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1b047ea - Browse repository at this point
Copy the full SHA 1b047eaView commit details