1
0

Feature: Add 'Rewrite pending' button next to folder title

This commit is contained in:
2026-07-12 11:24:11 +02:00
parent 89a3b47948
commit ade0f2dcbd

View File

@@ -247,8 +247,9 @@
<!-- Content-Area --> <!-- Content-Area -->
<div class="flex-1 p-4 overflow-y-auto content-area"> <div class="flex-1 p-4 overflow-y-auto content-area">
<!-- Title --> <!-- Title -->
<div class="flex items-center pb-2">
<div id="folderTitleDrop" <div id="folderTitleDrop"
class="relative flex items-baseline space-x-1 cursor-pointer select-none group pb-2"> class="relative flex flex-1 min-w-0 items-baseline space-x-1 cursor-pointer select-none group">
<svg id="folderTitleArrow" <svg id="folderTitleArrow"
class="h-4 w-6 flex-none transition-transform" class="h-4 w-6 flex-none transition-transform"
viewBox="0 0 24 24"> viewBox="0 0 24 24">
@@ -258,6 +259,12 @@
</svg> </svg>
<span id="currentTitle" class="font-semibold text-xl truncate"></span> <span id="currentTitle" class="font-semibold text-xl truncate"></span>
</div> </div>
<button id="rewritePendingBtn"
class="hidden ml-3 px-3 py-1.5 text-sm border rounded font-semibold whitespace-nowrap"
style="background: var(--accent); color: #fff; border-color: var(--border)">
Rewrite pending (0)
</button>
</div>
<pre id="folderHierarchyDropdown" <pre id="folderHierarchyDropdown"
class="hidden text-sm font-mono select-text leading-snug mb-2 mt-1 max-h-80 overflow-auto" class="hidden text-sm font-mono select-text leading-snug mb-2 mt-1 max-h-80 overflow-auto"
style="background: none; border: none; color: inherit; padding: 0;"></pre> style="background: none; border: none; color: inherit; padding: 0;"></pre>