Global search development

* search input
* parse query with operators
This commit is contained in:
John R. Supplee 2021-01-10 21:52:25 +02:00
parent 4e8ee8eb86
commit 5913a4af1b
4 changed files with 272 additions and 0 deletions

View file

@ -149,6 +149,24 @@ FlowRouter.route('/due-cards', {
},
});
FlowRouter.route('/global-search', {
name: 'global-search',
action() {
Filter.reset();
// EscapeActions.executeAll();
EscapeActions.executeUpTo('popup-close');
Utils.manageCustomUI();
Utils.manageMatomo();
BlazeLayout.render('defaultLayout', {
headerBar: 'globalSearchHeaderBar',
content: 'globalSearch',
});
// }
},
});
FlowRouter.route('/import/:source', {
name: 'import',
triggersEnter: [AccountsTemplates.ensureSignedIn],