You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/12/21 23:11:42 UTC
[GitHub] thinmatt opened a new issue #6565: SQL Lab SQL Editor Resizer UI
Improvement
thinmatt opened a new issue #6565: SQL Lab SQL Editor Resizer UI Improvement
URL: https://github.com/apache/incubator-superset/issues/6565
The current UI of the SQL Resizer is not as discoverable as it could be. Want to update the UI to use a more standard convention than he single 2px rule. In addition, the location of the resizer between the SQL Toolbar actions and the results tabs does not communicate to users that sql editor pane is resizeable. I've seen users struggle with this as I've observed them use SQL lab.
My recommendation would be to
* (1) **add an additional UI element to the resizer component** to hint that the resizer can be "grabbed." A single line isn't often enough to communicate that concept in a UI (especially with borders on so many elements in the SQL Lab layout).
* (2) **assess the location of the resizer element or the visual design of the SQL Toolbar actions**. From a UI standpoint, it would be more intuitive for the resizer component to be above the SQL toolbar _or_ for the SQL toolbar to visually match up with the editor pane that way the resizer is the true visual edge of the editor pane
I have attached a few different UI mocks to represent the ideas:
### Additional UI for resizer with resizer at the visual botton of the sql editor pane

### Making the SQL toolbar visually a part of the editor

### Both concepts combined

If it's decided that we want to make the SQL toolbar visually appear as a part of the SQL editor pane, we will need to make a small adjustment to how Ace Editor styles the gutters (likely a simple override in the styles). Ace currently darkens the gutters, which in and of itself isn't an issue, but when you get to more than 10 lines of code, the gutter widens slightly. My recommendation would be to make the gutter the same color as the main editor pane, then add a border-right to designate where the right most part of the gutter is.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org