Skip to content

Commit d5c842c

Browse files
committed
fix(Dashboard): added down arrow indicator on select controls
1 parent 65fa0d7 commit d5c842c

File tree

14 files changed

+21
-13
lines changed

14 files changed

+21
-13
lines changed

src/dashboard/Synapse.Dashboard/Features/Workflows/WorkflowEditor/ActionEditor.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<tr>
3838
<td>Type</td>
3939
<td>
40-
<select class="form-control bg-secondary text-white" title="The type of the action to perform" required @onchange="async e => await OnActionTypeChangedAsync(EnumHelper.Parse<ActionType>((string)e.Value!))">
40+
<select class="form-select bg-secondary text-white" title="The type of the action to perform" required @onchange="async e => await OnActionTypeChangedAsync(EnumHelper.Parse<ActionType>((string)e.Value!))">
4141
<option value="@EnumHelper.Stringify(ActionType.Function)">@EnumHelper.Stringify(ActionType.Function)</option>
4242
<option value="@EnumHelper.Stringify(ActionType.Subflow)">@EnumHelper.Stringify(ActionType.Subflow)</option>
4343
<option value="@EnumHelper.Stringify(ActionType.Trigger)">@EnumHelper.Stringify(ActionType.Trigger)</option>
@@ -47,7 +47,7 @@
4747
<tr>
4848
<td>Retry policy</td>
4949
<td>
50-
<select class="form-control" title="The retry policy associated to the action, if any">
50+
<select class="form-select" title="The retry policy associated to the action, if any">
5151

5252
</select>
5353
</td>

src/dashboard/Synapse.Dashboard/Features/Workflows/WorkflowEditor/AuthenticationEditor.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<tr>
2929
<td>Scheme</td>
3030
<td>
31-
<select class="form-control bg-secondary text-white"
31+
<select class="form-select bg-secondary text-white"
3232
@onchange="async e => await OnAuthenticationSchemeChangedAsync(EnumHelper.Parse<AuthenticationScheme>((string)e.Value!))">
3333
@foreach(var scheme in Enum.GetValues<AuthenticationScheme>())
3434
{

src/dashboard/Synapse.Dashboard/Features/Workflows/WorkflowEditor/AuthenticationSelector.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
@namespace Synapse.Dashboard
1818

19-
<select class="form-control @CssClass" @onchange="OnStateSelectorValueChangedAsync">
19+
<select class="form-select @CssClass" @onchange="OnStateSelectorValueChangedAsync">
2020
@if(Selected == null)
2121
{
2222
<option disabled selected value> -- select an authentication -- </option>

src/dashboard/Synapse.Dashboard/Features/Workflows/WorkflowEditor/EventCollectionSelector.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
@namespace Synapse.Dashboard
1818

19-
<select class="form-control @CssClass" multiple @onchange="OnStateSelectorValueChangedAsync">
19+
<select class="form-select @CssClass" multiple @onchange="OnStateSelectorValueChangedAsync">
2020
<option disabled selected="@(Selected == null || !Selected.Any())" value> -- select an event -- </option>
2121
@if(events != null)
2222
{

src/dashboard/Synapse.Dashboard/Features/Workflows/WorkflowEditor/EventSelector.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
@namespace Synapse.Dashboard
1818

19-
<select class="form-control @CssClass" @onchange="OnStateSelectorValueChangedAsync">
19+
<select class="form-select @CssClass" @onchange="OnStateSelectorValueChangedAsync">
2020
<option disabled selected="@(Selected == null)" value> -- select an event -- </option>
2121
@if(events != null)
2222
{

src/dashboard/Synapse.Dashboard/Features/Workflows/WorkflowEditor/FunctionSelector.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
@namespace Synapse.Dashboard
1818

19-
<select class="form-control @CssClass" @onchange="OnStateSelectorValueChangedAsync">
19+
<select class="form-select @CssClass" @onchange="OnStateSelectorValueChangedAsync">
2020
<option disabled selected="@(Selected == null)" value> -- select a function -- </option>
2121
@if(functions != null)
2222
{

src/dashboard/Synapse.Dashboard/Features/Workflows/WorkflowEditor/OutcomeEditor.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<tr>
2222
<td>Type</td>
2323
<td>
24-
<select class="form-control bg-secondary text-white" @onchange="OnOutcomeTypeChangedAsync">
24+
<select class="form-select bg-secondary text-white" @onchange="OnOutcomeTypeChangedAsync">
2525
<option value="@EnumHelper.Stringify(SwitchCaseOutcomeType.End)" selected="@(outcome?.Type == WorkflowOutcomeType.End)">End</option>
2626
<option value="@EnumHelper.Stringify(SwitchCaseOutcomeType.Transition)" selected="@(outcome?.Type == WorkflowOutcomeType.Transition)">Transition</option>
2727
</select>

src/dashboard/Synapse.Dashboard/Features/Workflows/WorkflowEditor/SecretSelector.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
@namespace Synapse.Dashboard
1818

19-
<select class="form-control @CssClass" disabled="@Disabled" @onchange="OnStateSelectorValueChangedAsync">
19+
<select class="form-select @CssClass" disabled="@Disabled" @onchange="OnStateSelectorValueChangedAsync">
2020
<option disabled="@(Selected == null)" selected value> -- select a secret -- </option>
2121
@if(Secrets != null)
2222
{

src/dashboard/Synapse.Dashboard/Features/Workflows/WorkflowEditor/StateEditor.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<tr>
4242
<td>Type</td>
4343
<td>
44-
<select class="form-control bg-secondary text-white"
44+
<select class="form-select bg-secondary text-white"
4545
@onchange="async e => await OnStateTypeChangedAsync(EnumHelper.Parse<StateType>((string)e.Value!))">
4646
@foreach(var type in Enum.GetValues<StateType>().OrderBy(v => v.ToString()))
4747
{

src/dashboard/Synapse.Dashboard/Features/Workflows/WorkflowEditor/StateEditors/SwitchStateEditor.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<tr>
2424
<td>Type</td>
2525
<td>
26-
<select class="form-control bg-secondary text-white"
26+
<select class="form-select bg-secondary text-white"
2727
@onchange="async e => await OnSwitchStateTypeChangedAsync(EnumHelper.Parse<SwitchStateType>((string)e.Value!))">
2828
@foreach(var type in Enum.GetValues<StateType>().OrderBy(v => v.ToString()))
2929
{

0 commit comments

Comments
 (0)