added README.md, minor UI fixes

This commit is contained in:
2026-01-20 00:35:35 -05:00
parent 569557a82a
commit 5c1ddd91b5
4 changed files with 251 additions and 4 deletions

View File

@@ -469,6 +469,10 @@ button:active {
gap: 8px;
}
.footer.compact {
justify-content: flex-end;
}
.footer-left {
display: flex;
align-items: center;

View File

@@ -20,8 +20,8 @@
<textarea id="partialTextPaste" rows="4" placeholder="Paste some text here..."></textarea>
<div id="minimalExtractStatus" class="helper-text hidden"></div>
<div class="row">
<button id="extractMinimalBtn" class="accent">Try Extracting Minimal</button>
<button id="extractFullBtn" class="ghost">Extract Full Text</button>
<button id="extractMinimalBtn" class="accent control-btn">Try Extracting Minimal</button>
<button id="extractFullBtn" class="ghost control-btn">Extract Full Text</button>
</div>
</div>
</section>
@@ -43,8 +43,8 @@
<select id="workspaceSelect"></select>
</div>
<div class="row">
<button id="retryExtractBtn" class="ghost">Retry</button>
<button id="confirmSiteBtn" class="accent">Confirm</button>
<button id="retryExtractBtn" class="ghost control-btn">Retry</button>
<button id="confirmSiteBtn" class="accent control-btn">Confirm</button>
</div>
</div>
</section>

View File

@@ -22,6 +22,8 @@ const copyRenderedBtn = document.getElementById("copyRenderedBtn");
const copyRawBtn = document.getElementById("copyRawBtn");
const clearOutputBtn = document.getElementById("clearOutputBtn");
const outputSection = document.querySelector(".output");
const footerLeft = document.querySelector(".footer-left");
const footer = document.querySelector(".footer");
const OUTPUT_STORAGE_KEY = "lastOutput";
const AUTO_RUN_KEY = "autoRunDefaultTask";
@@ -746,6 +748,8 @@ function updateOutputVisibility() {
const shouldHide =
state.currentPopupState !== "normal" && !state.alwaysShowOutput;
outputSection.classList.toggle("hidden", shouldHide);
footerLeft?.classList.toggle("hidden", shouldHide);
footer?.classList.toggle("compact", shouldHide);
}
async function persistCustomTaskState() {