HUE-7333 [search] Simplifies menu text and add autogrow to query boxes

Review Request #11638 - Created Sept. 27, 2017 and submitted

Romain Rigaux
hue
master
HUE-7333
hue
enricoberti, jgauthier, johan, ranade, weixia, yingc
commit 532622bded16fec732767d9ab25ab938587b35b0
Author: Romain Rigaux <romain@cloudera.com>
Date:   Wed Sep 27 09:02:14 2017 -0400

    HUE-7333 [search] Simplifies menu text and add autogrow to query boxes

:100644 100644 b69b062... 621d874... M	desktop/libs/dashboard/src/dashboard/templates/common_search.mako

manual

After, before autogrow:
https://www.dropbox.com/s/9ffuwkj6kq7mdvp/autogrow.png?dl=0

  • 1
  • 0
  • 0
  • 0
  • 1
Description From Last Updated
nice one! forgot that we have it :) To avoid an initial jump both with 1 or more query fields, ... Enrico Berti
  1. Nice!

  2. nice one! forgot that we have it :)

    To avoid an initial jump both with 1 or more query fields, probably betta to do this:

    autogrowInput: { minWidth: $root.query.qs().length > 1 ? 90 : 206, maxWidth: 270, comfortZone: 15 }

    (206 standard input size from bootstrap, 90 is input-small)

  3. 
      
Review request changed

Status: Closed (submitted)

Loading...