-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update refactored UI hint handling (#97)
* Remove Elsa.Studio.UIHints.Models namespace and refactor dependent classes The Elsa.Studio.UIHints.Models namespace and related classes (SelectList.cs, SelectListItem.cs, and related JSON converters) are removed. Code that relied on these classes is updated to use the Elsa.Api.Client.Shared.UIHints.DropDown namespace instead. The project reference in Elsa.Studio.Core.csproj is updated to reference Elsa.Api.Client instead of a specific version of the package. Other minor code adjustments and cleanup are performed throughout the codebase to ensure consistency and correct functioning after the deletion and refactoring. * Update ExpressionType assignment in Cases component The code now assigns "ExpressionType" in the Cases component based on the case condition's type. If the case condition's type is null or whitespace, "defaultExpressionType" is used instead. This adjustment enhances code reliability by avoiding possible issues related to undefined or empty types. * Update Elsa.Api.Client reference in Elsa.Studio.Core The project reference to Elsa.Api.Client in the Elsa.Studio.Core project file has been replaced by a package reference. This change transitions from direct project dependency to NuGet package dependency, likely to improve version management and distribution. * Remove CheckListItem model, update UIHints The CheckListItem model from Elsa.Studio.UIHints.Models was removed, which affected various components and the project structure. Components were adjusted accordingly, and references to Elsa.Studio.UIHints.Models.CheckListItem were eliminated. UIHint handler names were updated to remove hyphenation (e.g., "check-list" became "checklist"). * Remove unused Models folder from Elsa.Studio.UIHints project The commit removes the reference to the Models folder in the Elsa.Studio.UIHints.csproj file. This folder was not in use, resulting in cleaner and easier to maintain code.
- Loading branch information
1 parent
f709571
commit 7386df0
Showing
26 changed files
with
64 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/modules/Elsa.Studio.UIHints/Components/OutcomePicker.razor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/modules/Elsa.Studio.UIHints/Components/OutputPicker.razor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/modules/Elsa.Studio.UIHints/Components/VariablePicker.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/modules/Elsa.Studio.UIHints/Components/VariablePicker.razor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/modules/Elsa.Studio.UIHints/Components/WorkflowDefinitionPicker.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/modules/Elsa.Studio.UIHints/Components/WorkflowDefinitionPicker.razor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
src/modules/Elsa.Studio.UIHints/Converters/SelectListItemJsonConverter.cs
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
src/modules/Elsa.Studio.UIHints/Converters/SelectListJsonConverter.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.