mirror of
https://github.com/sune-org/sune.git
synced 2026-10-29 13:04:51 +00:00
Open a popover from the thread Sync button instead of a confirm prompt
Thread Sync now shows Upload to GitHub / Download from GitHub in a popover, like sunes sync, so it can be dismissed instead of forcing a choice. It closes on an outside click, resize, the sidebar overlay, or picking an option. The push and pull code is unchanged, and the readme's sync steps now name the popover options. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
<button id="sunesSyncUploadBtn" class="menu-item"><i data-lucide="upload-cloud" class="h-4 w-4"></i><span>Upload to GitHub</span></button>
|
||||
<button id="sunesSyncDownloadBtn" class="menu-item"><i data-lucide="download-cloud" class="h-4 w-4"></i><span>Download from GitHub</span></button>
|
||||
</div>
|
||||
<div id="threadsSyncPopover" class="menu-card hidden">
|
||||
<button id="threadsSyncUploadBtn" class="menu-item"><i data-lucide="upload-cloud" class="h-4 w-4"></i><span>Upload to GitHub</span></button>
|
||||
<button id="threadsSyncDownloadBtn" class="menu-item"><i data-lucide="download-cloud" class="h-4 w-4"></i><span>Download from GitHub</span></button>
|
||||
</div>
|
||||
<div id="attachPopover" class="menu-card hidden">
|
||||
<button data-action="clear" class="menu-item text-red-600"><i data-lucide="x" class="h-4 w-4"></i><span>Clear all attachments</span></button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user