File tree Expand file tree Collapse file tree 16 files changed +147
-45
lines changed
Synapse.Core.Infrastructure
correlator/Synapse.Correlator
dashboard/Synapse.Dashboard
Components/WorkflowDiagram Expand file tree Collapse file tree 16 files changed +147
-45
lines changed Original file line number Diff line number Diff line change 43
43
</ItemGroup >
44
44
45
45
<ItemGroup >
46
- <PackageReference Include =" Neuroglia.Mediation.AspNetCore" Version =" 4.15.4 " />
47
- <PackageReference Include =" Neuroglia.Security.AspNetCore" Version =" 4.15.4 " />
46
+ <PackageReference Include =" Neuroglia.Mediation.AspNetCore" Version =" 4.15.6 " />
47
+ <PackageReference Include =" Neuroglia.Security.AspNetCore" Version =" 4.15.6 " />
48
48
<PackageReference Include =" Swashbuckle.AspNetCore.SwaggerGen" Version =" 6.7.3" />
49
49
</ItemGroup >
50
50
Original file line number Diff line number Diff line change 45
45
<ItemGroup >
46
46
<PackageReference Include =" IdentityModel" Version =" 7.0.0" />
47
47
<PackageReference Include =" Microsoft.IdentityModel.JsonWebTokens" Version =" 8.0.2" />
48
- <PackageReference Include =" Neuroglia.Data.Expressions.Abstractions" Version =" 4.15.4 " />
49
- <PackageReference Include =" Neuroglia.Data.Infrastructure.Redis" Version =" 4.15.4 " />
50
- <PackageReference Include =" Neuroglia.Data.Infrastructure.ResourceOriented.Redis" Version =" 4.15.4 " />
51
- <PackageReference Include =" Neuroglia.Mediation" Version =" 4.15.4 " />
52
- <PackageReference Include =" Neuroglia.Plugins" Version =" 4.15.4 " />
48
+ <PackageReference Include =" Neuroglia.Data.Expressions.Abstractions" Version =" 4.15.6 " />
49
+ <PackageReference Include =" Neuroglia.Data.Infrastructure.Redis" Version =" 4.15.6 " />
50
+ <PackageReference Include =" Neuroglia.Data.Infrastructure.ResourceOriented.Redis" Version =" 4.15.6 " />
51
+ <PackageReference Include =" Neuroglia.Mediation" Version =" 4.15.6 " />
52
+ <PackageReference Include =" Neuroglia.Plugins" Version =" 4.15.6 " />
53
53
<PackageReference Include =" ServerlessWorkflow.Sdk.IO" Version =" 1.0.0-alpha2.15" />
54
54
</ItemGroup >
55
55
Original file line number Diff line number Diff line change 63
63
<ItemGroup >
64
64
<PackageReference Include =" Docker.DotNet" Version =" 3.125.15" />
65
65
<PackageReference Include =" KubernetesClient" Version =" 14.0.12" />
66
- <PackageReference Include =" Neuroglia.Data.Infrastructure.ResourceOriented" Version =" 4.15.4 " />
67
- <PackageReference Include =" Neuroglia.Eventing.CloudEvents" Version =" 4.15.4 " />
66
+ <PackageReference Include =" Neuroglia.Data.Infrastructure.ResourceOriented" Version =" 4.15.6 " />
67
+ <PackageReference Include =" Neuroglia.Eventing.CloudEvents" Version =" 4.15.6 " />
68
68
<PackageReference Include =" Semver" Version =" 2.3.0" />
69
69
<PackageReference Include =" ServerlessWorkflow.Sdk" Version =" 1.0.0-alpha2.15" />
70
70
</ItemGroup >
Original file line number Diff line number Diff line change 35
35
<PackageReference Include =" Microsoft.Extensions.Configuration.KeyPerFile" Version =" 8.0.8" />
36
36
<PackageReference Include =" Microsoft.Extensions.Hosting" Version =" 8.0.0" />
37
37
<PackageReference Include =" Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version =" 1.21.0" />
38
- <PackageReference Include =" Neuroglia.Data.Expressions.JavaScript" Version =" 4.15.4 " />
39
- <PackageReference Include =" Neuroglia.Data.Expressions.JQ" Version =" 4.15.4 " />
40
- <PackageReference Include =" Neuroglia.Eventing.CloudEvents.AspNetCore" Version =" 4.15.4 " />
41
- <PackageReference Include =" Neuroglia.Mediation.AspNetCore" Version =" 4.15.4 " />
42
- <PackageReference Include =" Neuroglia.Eventing.CloudEvents.Infrastructure" Version =" 4.15.4 " />
43
- <PackageReference Include =" Neuroglia.Security.AspNetCore" Version =" 4.15.4 " />
38
+ <PackageReference Include =" Neuroglia.Data.Expressions.JavaScript" Version =" 4.15.6 " />
39
+ <PackageReference Include =" Neuroglia.Data.Expressions.JQ" Version =" 4.15.6 " />
40
+ <PackageReference Include =" Neuroglia.Eventing.CloudEvents.AspNetCore" Version =" 4.15.6 " />
41
+ <PackageReference Include =" Neuroglia.Mediation.AspNetCore" Version =" 4.15.6 " />
42
+ <PackageReference Include =" Neuroglia.Eventing.CloudEvents.Infrastructure" Version =" 4.15.6 " />
43
+ <PackageReference Include =" Neuroglia.Security.AspNetCore" Version =" 4.15.6 " />
44
44
<PackageReference Include =" Swashbuckle.AspNetCore.SwaggerGen" Version =" 6.7.3" />
45
45
<PackageReference Include =" Swashbuckle.AspNetCore.SwaggerUI" Version =" 6.7.3" />
46
46
</ItemGroup >
Original file line number Diff line number Diff line change
1
+ @*
2
+ Copyright © 2024-Present The Synapse Authors
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ *@
16
+
17
+ @namespace Synapse.Dashboard
18
+
19
+ @if (Graph != null )
20
+ {
21
+ <Button Outline =" true" Color =" ButtonColor.Primary" Size =" ButtonSize.Small" @onclick =" async (_) => await Graph.CenterAsync()" TooltipTitle =" Center graph" >
22
+ <svg >
23
+ <use href =" #center-target" />
24
+ </svg >
25
+ </Button >
26
+ }
27
+
28
+ @code {
29
+ [CascadingParameter ] public DagreGraph ? Graph { get ; set ; }
30
+ }
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ @*
2
+ Copyright © 2024-Present The Synapse Authors
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ *@
16
+
17
+ @namespace Synapse.Dashboard
18
+
19
+ @if (Graph != null )
20
+ {
21
+ <Button Outline =" true" Color =" ButtonColor.Primary" Size =" ButtonSize.Small" @onclick =" async (_) => await Graph.SaveAsPngAsync()" TooltipTitle =" Save as png" >
22
+ <svg >
23
+ <use href =" #save" />
24
+ </svg >
25
+ </Button >
26
+ }
27
+
28
+ @code {
29
+ [CascadingParameter ] public DagreGraph ? Graph { get ; set ; }
30
+ }
Original file line number Diff line number Diff line change
1
+ @*
2
+ Copyright © 2024-Present The Synapse Authors
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ *@
16
+
17
+ @namespace Synapse.Dashboard
18
+
19
+ @if (Graph != null )
20
+ {
21
+ <Button Outline =" true" Color =" ButtonColor.Primary" Size =" ButtonSize.Small" @onclick =" async (_) => await Graph.ZoomToFitAsync()" TooltipTitle =" Zoom to fit" >
22
+ <svg >
23
+ <use href =" #fit" />
24
+ </svg >
25
+ </Button >
26
+ }
27
+
28
+ @code {
29
+ [CascadingParameter ] public DagreGraph ? Graph { get ; set ; }
30
+ }
Original file line number Diff line number Diff line change 35
35
</defs >
36
36
</svg >
37
37
<DagreGraph @ref =" Store.DagreGraph" OnMouseDown =" HandleOnMouseDown" OnMouseUp =" HandleOnMouseUp" Options =" options" Graph =" graph" >
38
+ <CenterControl >
39
+ <CenterControl />
40
+ </CenterControl >
41
+ <ZoomToFitControl >
42
+ <ZoomToFitControl />
43
+ </ZoomToFitControl >
44
+ <SaveAsPngControl >
45
+ <SaveAsPngControl />
46
+ </SaveAsPngControl >
38
47
<ExtraControls >
39
- <button class = " btn " type = " button " title = " legend " @onclick =" Store.ToggleLegendAsync" >
48
+ <Button Outline = " true " Color = " ButtonColor.Primary " Size = " ButtonSize.Small " @onclick =" Store.ToggleLegendAsync" TooltipTitle = " Legend " >
40
49
<svg >
41
50
<use href =" #legend" />
42
51
</svg >
43
- </button >
52
+ </Button >
44
53
</ExtraControls >
45
54
</DagreGraph >
46
55
47
56
@if (isLegendVisible )
48
57
{
49
- <WorkflowDiagramLegend />
58
+ <Legend />
50
59
}
51
60
}
52
61
Original file line number Diff line number Diff line change 77
77
<div class =" d-flex flex-column h-100 mh-100" >
78
78
<div class =" d-flex justify-content-between mb-2" >
79
79
<div >
80
- <Button Outline =" true" Color =" ButtonColor.Primary" Size =" ButtonSize.Small" class =" ms-2" @onclick =" _ => OnCreateWorkflowVersion() " >
80
+ <Button Outline =" true" Color =" ButtonColor.Primary" Size =" ButtonSize.Small" class =" ms-2" @onclick =" OnCreateWorkflowVersion " TooltipTitle = " Create new from " >
81
81
<Icon Name =" IconName.FileEarmarkPlus" />
82
82
</Button >
83
- <Button Outline =" true" Color =" ButtonColor.Primary" Size =" ButtonSize.Small" class = " ms-2 " @onclick = " _ => Store.OnCopyToClipboard() " >
83
+ <Button Outline =" true" Color =" ButtonColor.Primary" Size =" ButtonSize.Small" @onclick = " Store.OnCopyToClipboard " TooltipTitle = " Copy to clipboard " >
84
84
<Icon Name =" IconName.Clipboard" />
85
85
</Button >
86
86
</div >
You can’t perform that action at this time.
0 commit comments