UX feedback updates

This commit is contained in:
Dean 2024-01-04 16:34:30 +00:00
parent fdd3ebab9b
commit dce941c794
3 changed files with 7 additions and 2 deletions

View File

@ -130,5 +130,6 @@
max-width: 150px; max-width: 150px;
transform: translateX(-50%); transform: translateX(-50%);
text-align: center; text-align: center;
z-index: 1;
} }
</style> </style>

View File

@ -68,9 +68,9 @@
const getStepLabel = ({ stepCount, currentStep }) => { const getStepLabel = ({ stepCount, currentStep }) => {
if (stepCount <= 1) { if (stepCount <= 1) {
return "Details" return "Steps"
} }
return `Details (Step ${currentStep + 1}/${stepCount})` return `Steps (${currentStep + 1}/${stepCount})`
} }
const emitCurrentStep = step => { const emitCurrentStep = step => {

View File

@ -36,6 +36,7 @@
on:click={() => { on:click={() => {
stepAction("previousStep") stepAction("previousStep")
}} }}
tooltip={"Previous step"}
/> />
<ActionButton <ActionButton
size="S" size="S"
@ -45,6 +46,7 @@
on:click={() => { on:click={() => {
stepAction("nextStep") stepAction("nextStep")
}} }}
tooltip={"Next step"}
/> />
<ActionButton <ActionButton
size="S" size="S"
@ -54,6 +56,7 @@
on:click={() => { on:click={() => {
stepAction("removeStep") stepAction("removeStep")
}} }}
tooltip={"Remove step"}
/> />
<ActionButton <ActionButton
size="S" size="S"
@ -62,6 +65,7 @@
on:click={() => { on:click={() => {
stepAction("addStep") stepAction("addStep")
}} }}
tooltip={"Add step"}
/> />
</div> </div>
{/if} {/if}