Repository navigation
Conversation
On database table hover, an explore button appears which launches the data explorer, prefilled in with a query to explore that table. The button is only displayed in browsers that support localStorage.
|
My main concern with my attempt is if |
|
Will check this out today. Thanks for the PR |
|
I like it, the functionality is nice and clean. The buttons only showing up on hover is probably not the way to go though. We don't use that mechanism anywhere else in the ui. @mglukhovsky also mentioned we try to remove as much as we can from the table listing to keep it uncluttered. What I think needs to happen:
|
|
@joshhunt Are you still interested in updating the PR? (in particular moving the "Explore" button to the top of the individual table page as @deontologician described) We can try to use some of your code as a basis for our own modifications, but I'm not sure when we'll get to that. Had you signed our CLA http://rethinkdb.com/community/cla/ btw? |
|
This would be a great addition... hope it makes it :) |
|
Fixed merge conflicts, followed @deontologician's advice about navigation, and cherry-picked into next as of 05be59f. Thank you! |
My quick attempt at completing issue #3856 and #3509.
Each row gets a new 'Explore' button, visible only on row hover (to avoid the clutter of lots of repeating buttons).
Clicking the button navigates to the data explorer, profiled in with the query
r.db('databaseName').table('tableName')I wasn't sure of the best way to do this, so I went for the simplest approach:
Because it relies on localStorage to refill in the command, the button is only displayed in browsers that support localStorage.
Thoughts?