search in the toolbar
Description
Environment
Attachments
- 05 Mar 2020, 08:15 PM
- 05 Mar 2020, 08:05 PM
- 05 Mar 2020, 08:05 PM
- 05 Mar 2020, 08:05 PM
- 04 Mar 2020, 05:08 PM
- 17 Feb 2020, 10:26 PM
- 17 Feb 2020, 10:26 PM
Activity
Diego Ruiz September 22, 2020 at 2:48 PM
Copying the discussion from https://github.com/idempiere/idempiere/pull/272
@Heng Sin Low :
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.
@Diego Ruiz
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.
@Carlos Ruiz :
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"
@Norbert Bede :
regarding to saved queries. for example, in salesforce they have defaults, like all records, x days, my records - so dropdown is never empty.
Carlos Ruiz March 10, 2020 at 5:33 PM
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:
202002051703_IDEMPIERE-4084.sql
202002101911_IDEMPIERE-4084.sql
202003041800_IDEMPIERE-4085.sql
in that order.
Carlos Ruiz March 8, 2020 at 2:15 PM
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
Heng Sin Low March 8, 2020 at 9:07 AM
Hi @Carlos Ruiz , +1 for third.
Question - is the dropdown shown if there’s no saved query for the window ?
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.
@Norbert Bede showed us his implementation and we like to review and integrate that.