mirror of
https://github.com/zadam/trilium.git
synced 2025-03-04 19:13:37 +08:00
small search help improvements
This commit is contained in:
parent
3cc93157bf
commit
a78c8ddad7
6 changed files with 39 additions and 0 deletions
|
@ -19,6 +19,20 @@ const TPL = `
|
|||
</div>
|
||||
</td>
|
||||
<td class="button-column">
|
||||
<div class="dropdown help-dropdown">
|
||||
<span class="bx bx-help-circle icon-action" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></span>
|
||||
<div class="dropdown-menu dropdown-menu-right p-4">
|
||||
<p>On all matched notes:</p>
|
||||
|
||||
<ul>
|
||||
<li>create given label if note doesn't have one yet</li>
|
||||
<li>or change value of the existing label</li>
|
||||
</ul>
|
||||
|
||||
<p>You can also call this method without value, in such case label will be assigned to the note without value.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<span class="bx bx-x icon-action action-conf-del"></span>
|
||||
</td>
|
||||
</tr>`;
|
||||
|
|
|
@ -23,6 +23,18 @@ const TPL = `
|
|||
</div>
|
||||
</td>
|
||||
<td class="button-column">
|
||||
<div class="dropdown help-dropdown">
|
||||
<span class="bx bx-help-circle icon-action" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></span>
|
||||
<div class="dropdown-menu dropdown-menu-right p-4">
|
||||
<p>On all matched notes:</p>
|
||||
|
||||
<ul>
|
||||
<li>create given relation if note doesn't have one yet</li>
|
||||
<li>or change target note of the existing relation</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<span class="bx bx-x icon-action action-conf-del"></span>
|
||||
</td>
|
||||
</tr>`;
|
||||
|
|
|
@ -8,6 +8,13 @@ const TPL = `
|
|||
Fast search
|
||||
</td>
|
||||
<td class="button-column">
|
||||
<div class="dropdown help-dropdown">
|
||||
<span class="bx bx-help-circle icon-action" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></span>
|
||||
<div class="dropdown-menu dropdown-menu-right p-4">
|
||||
Fast search option disables full text search of note contents which might speed up searching in large databases.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<span class="bx bx-x icon-action search-option-del"></span>
|
||||
</td>
|
||||
</tr>`;
|
||||
|
|
|
@ -33,6 +33,7 @@ return matchedNotes;</pre>
|
|||
|
||||
<p>Note that search script and search string can't be combined with each other.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<span class="bx bx-x icon-action search-option-del"></span>
|
||||
</td>
|
||||
|
|
|
@ -25,6 +25,7 @@ const TPL = `
|
|||
<li><code>note.dateCreated >= MONTH-1</code> - notes created in the last month</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<span class="bx bx-x icon-action search-option-del"></span>
|
||||
|
|
|
@ -919,6 +919,10 @@ ul.fancytree-container li {
|
|||
color: var(--main-text-color);
|
||||
}
|
||||
|
||||
.help-dropdown {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.help-dropdown .dropdown-menu {
|
||||
border-radius: 10px;
|
||||
border-width: 2px;
|
||||
|
|
Loading…
Reference in a new issue