mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	small search help improvements
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
| @@ -26,6 +26,7 @@ const TPL = ` | ||||
|             </ul> | ||||
|             </p> | ||||
|           </div> | ||||
|         </div> | ||||
|          | ||||
|         <span class="bx bx-x icon-action search-option-del"></span> | ||||
|     </td> | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user