feat(ui): restructure promote modal into read/grab/fill columns
Card types grouped by intent: read (note, link, decision), grab (snippet), fill (template, checklist). 3-column grid layout with stacked buttons and intent headers.
This commit is contained in:
+39
-30
@@ -44,36 +44,45 @@
|
||||
<h3>promote to card</h3>
|
||||
<div class="modal-sub" id="promote-sub"></div>
|
||||
<div class="type-picker">
|
||||
<button data-type="snippet" class="type-btn">
|
||||
<span class="type-glyph glyph-snippet">◆</span>
|
||||
<span class="type-name">snippet</span>
|
||||
<span class="type-hint">quick reference, command, code</span>
|
||||
</button>
|
||||
<button data-type="template" class="type-btn">
|
||||
<span class="type-glyph glyph-template">◈</span>
|
||||
<span class="type-name">template</span>
|
||||
<span class="type-hint">fillable with ${slot}s</span>
|
||||
</button>
|
||||
<button data-type="checklist" class="type-btn">
|
||||
<span class="type-glyph glyph-checklist">☐</span>
|
||||
<span class="type-name">checklist</span>
|
||||
<span class="type-hint">step-by-step process</span>
|
||||
</button>
|
||||
<button data-type="decision" class="type-btn">
|
||||
<span class="type-glyph glyph-decision">⚖</span>
|
||||
<span class="type-name">decision</span>
|
||||
<span class="type-hint">record a choice + rationale</span>
|
||||
</button>
|
||||
<button data-type="note" class="type-btn">
|
||||
<span class="type-glyph glyph-note">¶</span>
|
||||
<span class="type-name">note</span>
|
||||
<span class="type-hint">readable markdown content</span>
|
||||
</button>
|
||||
<button data-type="link" class="type-btn">
|
||||
<span class="type-glyph glyph-link">↗</span>
|
||||
<span class="type-name">link</span>
|
||||
<span class="type-hint">reference URL</span>
|
||||
</button>
|
||||
<div class="type-col">
|
||||
<div class="type-col-lbl">read</div>
|
||||
<button data-type="note" class="type-btn">
|
||||
<span class="type-glyph glyph-note">¶</span>
|
||||
<span class="type-name">note</span>
|
||||
<span class="type-hint">markdown content</span>
|
||||
</button>
|
||||
<button data-type="link" class="type-btn">
|
||||
<span class="type-glyph glyph-link">↗</span>
|
||||
<span class="type-name">link</span>
|
||||
<span class="type-hint">reference URL</span>
|
||||
</button>
|
||||
<button data-type="decision" class="type-btn">
|
||||
<span class="type-glyph glyph-decision">⚖</span>
|
||||
<span class="type-name">decision</span>
|
||||
<span class="type-hint">choice + rationale</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="type-col">
|
||||
<div class="type-col-lbl">grab</div>
|
||||
<button data-type="snippet" class="type-btn">
|
||||
<span class="type-glyph glyph-snippet">◆</span>
|
||||
<span class="type-name">snippet</span>
|
||||
<span class="type-hint">code, command, text</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="type-col">
|
||||
<div class="type-col-lbl">fill</div>
|
||||
<button data-type="template" class="type-btn">
|
||||
<span class="type-glyph glyph-template">◈</span>
|
||||
<span class="type-name">template</span>
|
||||
<span class="type-hint">fillable ${slot}s</span>
|
||||
</button>
|
||||
<button data-type="checklist" class="type-btn">
|
||||
<span class="type-glyph glyph-checklist">☐</span>
|
||||
<span class="type-name">checklist</span>
|
||||
<span class="type-hint">step-by-step</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<button class="modal-close">esc to cancel</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user