From 9fcd659df4951da2267999afd94b44b374d7cab2 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 8 Jan 2021 19:57:49 +0100 Subject: [PATCH] mock up of search definition changes --- src/public/app/widgets/search_definition.js | 132 +++++++++++++++++--- 1 file changed, 118 insertions(+), 14 deletions(-) diff --git a/src/public/app/widgets/search_definition.js b/src/public/app/widgets/search_definition.js index 22d1f0066..726e4837f 100644 --- a/src/public/app/widgets/search_definition.js +++ b/src/public/app/widgets/search_definition.js @@ -36,12 +36,12 @@ const TPL = ` - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + +
Search string: +
Limit search to subtree: -
- +
Add search option: + + + + + + + + + -
+ Descendant of: +
+ +
+
+ +
+ + + Fast search + + +
+ + + Include archived notes + + +
+ + + Delete matched note + + +
+ Rename attribute name: + +
+
From:
+ + + +
To:
+ + +
+
+ +
+
+ - Search also within note content - + +
@@ -158,8 +264,6 @@ export default class SearchDefinitionWidget extends TabAwareWidget { } getContent() { - return JSON.stringify({ - searchString: this.$searchString.val() - }); + return ''; } }