{t("rebase.eyebrow")}

{t("rebase.dialogLabel")}

{t("rebase.hint")}

{#if error}
{error}
{/if} {#if isLoading}
{t("rebase.loading")}
{:else if !base}
{t("rebase.selectBaseHint")}
{:else if rows.length === 0}
{t("rebase.noCommits")}
{:else}
{#each rows as row, index (row.hash)}
({ value: action, label: action }))} disabled={isBusy} ariaLabel={t("rebase.actionFor", { hash: row.short_hash })} onChange={(value) => updateAction(index, value as RebaseAction)} /> {row.short_hash}
{#if row.action === "reword"} updateMessage(index, (event.target as HTMLInputElement).value)} disabled={isBusy} aria-label={t("rebase.newMessageFor", { hash: row.short_hash })} maxlength="240" /> {:else} {row.summary} {/if} {row.author_name} ยท {new Date(row.date).toLocaleString()}
{/each}
{/if} {#if invalidSquash}
{t("rebase.invalidSquash")}
{:else if invalidReword}
{t("rebase.invalidReword")}
{/if}
{t("rebase.keptCount", { kept: keptCount, total: rows.length })}