Move Browse Templates + Load from File to Disc Designer quick actions bar, equal width buttons, remove from Save & Export panel

This commit is contained in:
thePR0M3TH3AN committed 2026-05-15 11:09:18 -04:00
1 parent 46f1e4cf87
commit 3599e524bf
1 file changed
+7 -2
+7 -2
View File
@@ -1400,6 +1400,12 @@
<input id="projectFile" type="file" accept="application/json,.json" hidden />
</div>
<div class="quickActions designer-only" aria-label="Designer actions">
<button type="button" id="designerBrowseCommunityBtn">Browse Templates</button>
<button type="button" id="designerLoadFileBtn">Load from file</button>
<input id="discProjectFile" type="file" accept="application/json,.json" hidden />
</div>
<fieldset class="workflowStep template-only" id="layoutFieldset">
<legend data-step="1">Layout</legend>
<div class="layoutTabs" role="tablist" aria-label="Template layout">
@@ -1813,8 +1819,6 @@
<legend data-step="4">Save &amp; Export</legend>
<div class="buttonRow">
<button type="button" id="designerSaveProjectBtn">Save design (JSON)</button>
<button type="button" id="designerLoadFileBtn">Load from file</button>
<input id="discProjectFile" type="file" accept="application/json,.json" hidden />
</div>
<details>
<summary>Nostr</summary>
@@ -5095,6 +5099,7 @@
$('browseCommunityBtn').addEventListener('click', () => { $('nostrModal').classList.add('open'); switchModalTab('New'); });
$('designerBrowseCommunityBtn').addEventListener('click', () => { $('nostrModal').classList.add('open'); switchModalTab('New'); });
$('welcomeSearchBtn').addEventListener('click', runWelcomeSearch);
$('welcomeSkipBtn').addEventListener('click', dismissWelcomeModal);
$('loadProjectBtn').addEventListener('click', () => $('projectFile').click());