Changeset 0.17.3 (#78)
This commit is contained in:
@@ -237,6 +237,8 @@
|
||||
</div>
|
||||
<div class="notes-actions-bar">
|
||||
<button class="btn-small" id="notesSelectModeBtn">Select</button>
|
||||
<button class="btn-small" id="notesGraphBtn" title="Knowledge graph">Graph</button>
|
||||
<button class="btn-small" id="notesTodayBtn" title="Today's daily note">Today</button>
|
||||
<button class="btn-small btn-primary" id="notesNewBtn">+ New Note</button>
|
||||
</div>
|
||||
<div class="notes-selection-bar" id="notesSelectionBar" style="display:none">
|
||||
@@ -250,6 +252,19 @@
|
||||
<div class="notes-empty">No notes yet. Create one or ask the AI to save a note.</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Graph view (hidden by default) -->
|
||||
<div id="notesGraphView" class="notes-graph-view" style="display:none">
|
||||
<div class="notes-graph-toolbar">
|
||||
<button class="btn-small" onclick="closeNoteGraph()">← List</button>
|
||||
<span class="notes-graph-stats">
|
||||
<span id="graphNodeCount">0</span> notes ·
|
||||
<span id="graphEdgeCount">0</span> links
|
||||
</span>
|
||||
<button class="btn-small" onclick="_graphToggleOrphans()" title="Toggle unresolved links">Ghosts</button>
|
||||
<button class="btn-small" onclick="_graphResetZoom()" title="Reset zoom">Reset</button>
|
||||
</div>
|
||||
<canvas id="noteGraphCanvas"></canvas>
|
||||
</div>
|
||||
<!-- Editor view (hidden by default) -->
|
||||
<div id="notesEditorView" style="display:none">
|
||||
<div class="notes-editor">
|
||||
@@ -265,9 +280,16 @@
|
||||
<h3 class="note-read-title" id="noteReadTitle"></h3>
|
||||
<div class="note-read-meta" id="noteReadMeta"></div>
|
||||
<div class="note-read-content msg-text" id="noteReadContent"></div>
|
||||
<!-- Backlinks panel -->
|
||||
<div id="noteBacklinks" class="note-backlinks" style="display:none">
|
||||
<div class="note-backlinks-header" onclick="toggleBacklinks()">
|
||||
<span>Linked mentions</span>
|
||||
<span id="noteBacklinksCount" class="badge">0</span>
|
||||
</div>
|
||||
<div id="noteBacklinksList" class="note-backlinks-list"></div>
|
||||
</div>
|
||||
<div class="notes-editor-actions">
|
||||
<button class="btn-small" id="noteCopyBtn" onclick="copyNoteContent()">Copy</button>
|
||||
<button class="btn-small btn-primary" id="noteEditBtn2">Edit</button>
|
||||
<button class="btn-small btn-danger" id="noteDeleteBtn2" style="display:none">Delete</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -278,7 +300,7 @@
|
||||
<div class="form-group"><input type="text" id="noteEditorFolder" placeholder="Folder (e.g. /work/meetings)" class="notes-folder-input"></div>
|
||||
<div class="form-group"><input type="text" id="noteEditorTags" placeholder="Tags (comma-separated)" class="notes-tags-input"></div>
|
||||
</div>
|
||||
<div class="form-group"><textarea id="noteEditorContent" rows="12" placeholder="Note content (Markdown supported)..." class="notes-content-input"></textarea></div>
|
||||
<div class="form-group"><div id="noteEditorContentContainer" class="notes-content-input"></div></div>
|
||||
<div class="notes-editor-actions">
|
||||
<button class="btn-small btn-primary" id="noteSaveBtn">Save</button>
|
||||
<button class="btn-small" id="noteCancelEditBtn" style="display:none">Cancel</button>
|
||||
@@ -997,6 +1019,49 @@
|
||||
</div>
|
||||
|
||||
<!-- Command Palette (Ctrl+K) -->
|
||||
|
||||
<!-- ── Save to Note Modal ──────────────────── -->
|
||||
<div class="modal-overlay" id="saveToNoteModal" style="display:none">
|
||||
<div class="modal modal-narrow">
|
||||
<div class="modal-header"><h2>Save to Note</h2><button class="modal-close" onclick="closeSaveToNoteModal()">✕</button></div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label>Title</label>
|
||||
<input type="text" id="saveToNoteTitle" placeholder="Note title" class="notes-title-input">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group">
|
||||
<label>Folder</label>
|
||||
<input type="text" id="saveToNoteFolder" placeholder="/ (root)" class="notes-folder-input">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Tags</label>
|
||||
<input type="text" id="saveToNoteTags" placeholder="comma-separated" class="notes-tags-input">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="save-to-note-toggle">
|
||||
<input type="checkbox" id="saveToNoteAppendToggle" onchange="_toggleAppendMode(this.checked)">
|
||||
Append to existing note
|
||||
</label>
|
||||
</div>
|
||||
<div id="saveToNoteAppendPicker" style="display:none" class="form-group">
|
||||
<label>Target note</label>
|
||||
<input type="text" id="saveToNoteAppendSearch" placeholder="Search notes..." class="notes-title-input" oninput="_searchAppendTarget(this.value)">
|
||||
<div id="saveToNoteAppendResults" class="save-to-note-results"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Preview</label>
|
||||
<div id="saveToNotePreview" class="save-to-note-preview msg-text"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn-small" onclick="closeSaveToNoteModal()">Cancel</button>
|
||||
<button class="btn-small btn-primary" id="saveToNoteConfirmBtn" onclick="_confirmSaveToNote()">Create Note</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cmd-palette-overlay" id="cmdPalette">
|
||||
<div class="cmd-palette">
|
||||
<div class="cmd-input-wrap">
|
||||
@@ -1031,6 +1096,7 @@
|
||||
<script src="js/ui-admin.js?v=%%APP_VERSION%%"></script>
|
||||
<script src="js/tokens.js?v=%%APP_VERSION%%"></script>
|
||||
<script src="js/notes.js?v=%%APP_VERSION%%"></script>
|
||||
<script src="js/note-graph.js?v=%%APP_VERSION%%"></script>
|
||||
<script src="js/attachments.js?v=%%APP_VERSION%%"></script>
|
||||
<script src="js/tools-toggle.js?v=%%APP_VERSION%%"></script>
|
||||
<script src="js/knowledge-ui.js?v=%%APP_VERSION%%"></script>
|
||||
|
||||
Reference in New Issue
Block a user