diff --git a/README.md b/README.md index effd1ba..78a5ddd 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ StepWise Logo # StepWise + +[![NuGet version](https://badge.fury.io/nu/LittleLittleCloud.StepWise.svg)](https://badge.fury.io/nu/LittleLittleCloud.StepWise) +[![Website](https://img.shields.io/badge/Website-StepWise-blue)](https://littlelittlecloud.github.io/StepWise/) StepWise is a workflow engine build with C# and typescript. In StepWise, you define a workflow in C#, then visualize and execute it in StepWise UI. diff --git a/StepWise.sln b/StepWise.sln index 24d8c34..a9f5ab2 100644 --- a/StepWise.sln +++ b/StepWise.sln @@ -31,7 +31,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StepWise.WebAPI.Tests", "te EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "stepwise-studio", "stepwise-studio", "{DC2EB9EC-E500-4BC0-A36C-F3FD0245CF3F}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Gallery", "example\HelloWorld\Gallery.csproj", "{8BD13BAB-263D-403F-93CC-FB628FA2E0C2}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StepWise.Gallery", "example\HelloWorld\StepWise.Gallery.csproj", "{8BD13BAB-263D-403F-93CC-FB628FA2E0C2}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StepWise.WebUI", "src\StepWise.WebUI\StepWise.WebUI.csproj", "{7DD9A65A-C68D-464A-AFDB-21E9A3C6AA0E}" EndProject diff --git a/eng/MetaInfo.props b/eng/MetaInfo.props index ce8bbe0..466274f 100644 --- a/eng/MetaInfo.props +++ b/eng/MetaInfo.props @@ -1,7 +1,7 @@ - 0.0.4 + 0.0.5 LittleLittleCloud git false diff --git a/example/HelloWorld/Program.cs b/example/HelloWorld/Program.cs index 8f30a73..e5ea498 100644 --- a/example/HelloWorld/Program.cs +++ b/example/HelloWorld/Program.cs @@ -28,15 +28,10 @@ var basicSteps = new BasicSteps(); var releaseMaster = new ReleaseMaster(); -stepWiseClient.AddWorkflow(Workflow.CreateFromInstance(basicSteps)); stepWiseClient.AddWorkflow(Workflow.CreateFromInstance(releaseMaster)); stepWiseClient.AddWorkflow(helloWorldWorkflow); -stepWiseClient.AddWorkflow(loopWorkflow); stepWiseClient.AddWorkflow(cumulativeWorkflow); stepWiseClient.AddWorkflow(Workflow.CreateFromInstance(new PrepareDinner())); -stepWiseClient.AddWorkflow(Workflow.CreateFromInstance(new CountingDown())); -stepWiseClient.AddWorkflow(Workflow.CreateFromInstance(new CodeInterpreter())); -stepWiseClient.AddWorkflow(Workflow.CreateFromInstance(new CircularLoop())); // Wait for the host to shutdown await host.WaitForShutdownAsync(); diff --git a/example/HelloWorld/Gallery.csproj b/example/HelloWorld/StepWise.Gallery.csproj similarity index 75% rename from example/HelloWorld/Gallery.csproj rename to example/HelloWorld/StepWise.Gallery.csproj index be6a849..7979ddf 100644 --- a/example/HelloWorld/Gallery.csproj +++ b/example/HelloWorld/StepWise.Gallery.csproj @@ -5,8 +5,12 @@ net8.0 enable enable + true + stepwise-gallery + + diff --git a/website/getting_start/gallery.yml b/website/getting_start/gallery.yml index 0b97622..49ce3b0 100644 --- a/website/getting_start/gallery.yml +++ b/website/getting_start/gallery.yml @@ -27,4 +27,12 @@ items: homepage: https://github.com/LittleLittleCloud/StepWise/blob/main/example/HelloWorld/PrepareDinner.cs repository: type: git - url: "https://github.com/LittleLittleCloud/StepWise/blob/main/example/HelloWorld/PrepareDinner.cs" \ No newline at end of file + url: "https://github.com/LittleLittleCloud/StepWise/blob/main/example/HelloWorld/PrepareDinner.cs" + - name: Release Note Master + description: A stepwise workflow that generates release notes. + type: Internal + thumbnail: ../image/gallery-release-note-master.png + homepage: https://github.com/LittleLittleCloud/StepWise/blob/main/example/HelloWorld/ReleaseMaster.cs + repository: + type: git + url: "https://github.com/LittleLittleCloud/StepWise/blob/main/example/HelloWorld/ReleaseMaster.cs" diff --git a/website/image/gallery-release-note-master.png b/website/image/gallery-release-note-master.png new file mode 100644 index 0000000..df57037 Binary files /dev/null and b/website/image/gallery-release-note-master.png differ diff --git a/website/index.md b/website/index.md index 43b25fb..5fb617c 100644 --- a/website/index.md +++ b/website/index.md @@ -56,5 +56,13 @@ To use StepWise, you can install the LittleLittleCloud.StepWise package from NuG dotnet add package LittleLittleCloud.StepWise ``` -### Example -You can find more examples in the [example](https://github.com/LittleLittleCloud/StepWise/tree/main/example) folder. \ No newline at end of file +### Example and Gallery +You can find more examples in the [example](https://github.com/LittleLittleCloud/StepWise/tree/main/example) folder. We also publish these examples as a .NET tool package to NuGet. You can install the package and run the example directly from the command line. + +```bash +dotnet tool install -g LittleLittleCloud.StepWise.Gallery + +# Run the gallery example +stepwise-gallery +``` + diff --git a/website/release_notes/0_0.md b/website/release_notes/0_0.md index 4c2dfe7..db1282b 100644 --- a/website/release_notes/0_0.md +++ b/website/release_notes/0_0.md @@ -1,3 +1,31 @@ +# [Private Preview] 0.0.5 + +We are excited to announce the release of several key enhancements and new features for StepWise. This release focuses on improving user experience and adding more control to workflow executions. Below is a detailed list of updates and improvements: + +### 🌟 New Features and Enhancements + +1. **📦 Publish Gallery Example as .NET Tool Package to NuGet (#67)** + - The gallery example is now available as a .NET tool package published to NuGet, making it easier for users to integrate and deploy. Now you can run the gallery example directly from the command line using the `dotnet` command. + + ```bash + dotnet tool install -g LittleLittleCloud.StepWise.Gallery + + # Run the gallery example + stepwise-gallery + ``` + +2. **🛠 Enhanced WebUI Controls:** + - **🔥 Running Indicator in Control Bar (#66)**: A new running indicator has been added to the control bar to provide a visual cue when a workflow is executing. + - **📂 Folding/Unfolding Output in StepNode (#65)**: Users can now fold and unfold the output in step nodes, allowing for a cleaner and more organized workspace. + - **🛑 Cancel Button in Step Node Card (#63)**: A cancel button has been introduced in the step node card to give users the ability to abort workflows when needed. + - **📏 Resize Step Nodes (#56)**: Added support to resize step nodes within the workflow, offering better layout control and customization. + - **👁️ Display Result in Step Node if Available (#52)**: Step nodes will now show results directly if available, providing immediate feedback and data visibility. + +3. **🚀 Workflow Execution Behavior Update:** + - **🔄 Reset and Run Option in Top Bar (#48)**: Updated the stepwise workflow execution behavior to include a "reset and run" option in the top bar, streamlining the workflow testing and execution process. + +For more details, visit our [GitHub repository](https://github.com/LittleLittleCloud/StepWise). + # [Private Preview] 0.0.4 We are thrilled to introduce StepWise v0.0.4! This update brings new features, bug fixes, improvements, and documentation updates to enhance your workflow. diff --git a/website/template/dashboard.html.tmpl b/website/template/dashboard.html.tmpl index 13ad85c..acf176f 100644 --- a/website/template/dashboard.html.tmpl +++ b/website/template/dashboard.html.tmpl @@ -4,7 +4,7 @@
{{#items}}
- {{name}} + {{name}}
{{name}}

{{{description}}}