search in the toolbar
Thiat was discussed at the iDempiere workshop 2019.
We like to have preconfigured searches in the toolbar. We can add these as a submenu to the search button or as a combobox. The combobox also shows the actual search's name in the ui.
showed us his implementation and we like to review and integrate that.
Copying the discussion from https://github.com/idempiere/idempiere/pull/272
one thing that bother me is the out of the box look of this is poor - you have 1 big empty drop down box at all your data entry window that did nothing.
I think we can think about potential solutions for this:
Hide or inactivate that Searchbox if no saved queries exist. But I think this would be not good for UX, as the toolbar would change from window to window.
Maybe we could add a default option - if no query exists, we show a ** new query ** option that opens the Find window for a new query.
This one sounds bad - the memory of toolbar is positional.
Alternatively, we could change the placeholder to something different than "Query Name", like:
if the list is empty: "Click Find button to query"
if the list have saved searches: "Select Query"
regarding to saved queries. for example, in salesforce they have defaults, like all records, x days, my records - so dropdown is never empty.
This was committed in 7.1 - but is just visible in 7.1z
If anybody wants to use it in 7.1 - then it must run the migration scripts:
in that order.
Yes, drop down is shown always, and I think it must, position of the buttons in the toolbar is better to be consistent in the UI.
But, in case somebody doesn't like it - it can be removed easily inactivating the record in toolbar window. I think these changes will be better introduced for next version, so, we can enable the code here (as the sponsor wants to use it in 7.1), and apply the migration script in 7.1z
Hi , +1 for third.
Question - is the dropdown shown if there’s no saved query for the window ?