diff --git a/src/public/app/widgets/search_definition.js b/src/public/app/widgets/search_definition.js index 3b4467cb8..f39c5c966 100644 --- a/src/public/app/widgets/search_definition.js +++ b/src/public/app/widgets/search_definition.js @@ -1,11 +1,10 @@ import noteAutocompleteService from "../services/note_autocomplete.js"; -import SpacedUpdate from "../services/spaced_update.js"; import server from "../services/server.js"; import TabAwareWidget from "./tab_aware_widget.js"; import treeCache from "../services/tree_cache.js"; import ws from "../services/ws.js"; import toastService from "../services/toast.js"; -import utils from "../services/utils.js"; + import DeleteNoteSearchAction from "./search_actions/delete_note.js"; import DeleteLabelSearchAction from "./search_actions/delete_label.js"; import DeleteRelationSearchAction from "./search_actions/delete_relation.js"; @@ -13,7 +12,12 @@ import RenameLabelSearchAction from "./search_actions/rename_label.js"; import SetLabelValueSearchAction from "./search_actions/set_label_value.js"; import SetRelationTargetSearchAction from "./search_actions/set_relation_target.js"; import RenameRelationSearchAction from "./search_actions/rename_relation.js"; -import ExecuteScriptSearchAction from "./search_actions/execute_script.js"; +import ExecuteScriptSearchAction from "./search_actions/execute_script.js" +import SearchString from "./search_options/search_string.js"; +import FastSearch from "./search_options/fast_search.js"; +import Ancestor from "./search_options/ancestor.js"; +import IncludeArchivedNotes from "./search_options/include_archived_notes.js"; +import OrderBy from "./search_options/order_by.js"; const TPL = `
Search string: | -- - | -
-
-
-
- Search tips - also see
-
- -
|
-
Add search option: | + + | |
- Ancestor: | -
-
-
-
- |
- - - | -
- - - Fast search - | -- - | -|
- - - Include archived notes - | -- - | -|
- - - Order by - | -- - - - | -- - | -
Search string: | ++ + | +
+
+
+
+ Search tips - also see
+
+ +
|
+
+ + + Fast search + | ++ + | +|
+ + + Include archived notes + | ++ + | +|
+ + + Order by + | ++ + + + | ++ + | +
Search string: | ++ + | +
+
+
+
+ Search tips - also see
+
+ +
|
+