Skip to content

Commit

Permalink
Release 0.0.5 (#71)
Browse files Browse the repository at this point in the history
* pack gallery as example

* release 0.0.5
  • Loading branch information
LittleLittleCloud authored Sep 29, 2024
1 parent 14ec104 commit 07c2602
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 11 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<img src="./asset/stepwise-logo.svg" alt="StepWise Logo" width="100">

# 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/)
</div>

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.
Expand Down
2 changes: 1 addition & 1 deletion StepWise.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion eng/MetaInfo.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VersionPrefix>0.0.4</VersionPrefix>
<VersionPrefix>0.0.5</VersionPrefix>
<Authors>LittleLittleCloud</Authors>
<RepositoryType>git</RepositoryType>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
Expand Down
5 changes: 0 additions & 5 deletions example/HelloWorld/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackAsTool>true</PackAsTool>
<ToolCommandName>stepwise-gallery</ToolCommandName>
</PropertyGroup>

<Import Project="$(RepoRoot)/nuget/nuget-package.props" />

<ItemGroup>
<PackageReference Include="AutoGen" />
<PackageReference Include="Octokit" />
Expand Down
10 changes: 9 additions & 1 deletion website/getting_start/gallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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"
Binary file added website/image/gallery-release-note-master.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions website/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
### 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
```

28 changes: 28 additions & 0 deletions website/release_notes/0_0.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion website/template/dashboard.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div id="template-container">
{{#items}}
<div class="card">
<img src="{{thumbnail}}" class="card-img-top" alt="{{name}}" height="200" />
<img src="{{thumbnail}}" class="card-img-top" alt="{{name}}" height="200px" />
<div class="card-body flex-fill">
<h5 class="card-title"><a href="{{homepage}}" class="card-link">{{name}}</a></h5>
<p class="card-text">{{{description}}}</p>
Expand Down

0 comments on commit 07c2602

Please sign in to comment.