Skip to content

Conversation

rueckstiess
Copy link
Contributor

@rueckstiess rueckstiess commented Nov 28, 2016

active state (light gray background) for sidebar entries

  • instance (home) button
  • database
  • collection

Using this in favor of #635 because it's less complex to pass the active namespace down from the store than to create a callback chain to pass the information up the component tree.

I did not implement the "databases are collapsed by default" change from #635 because it breaks our automated tests and the behavior when searching for a collection is strange (it does not automatically expand the database of a matched collection, so it's invisible).

screen shot 2016-11-28 at 14 22 19

@pzrq
Copy link
Contributor

pzrq commented Nov 28, 2016

LGTM.

@pzrq pzrq merged commit 2bed1e4 into master Nov 28, 2016
@pzrq pzrq deleted the COMPASS-334-active-sidebar branch November 28, 2016 03:50
@pzrq pzrq restored the COMPASS-334-active-sidebar branch November 28, 2016 03:50
@pzrq
Copy link
Contributor

pzrq commented Nov 28, 2016

@fredtruman For info we copied the updated sidebar styles as per your previous branch #635, but the default expanded state makes it harder to visually distinguish between a database and collection.

Please let us know if you have any additional styling passes for 1.5, thanks.

@pzrq
Copy link
Contributor

pzrq commented Nov 28, 2016

screen shot 2016-11-28 at 3 11 44 pm

pzrq pushed a commit that referenced this pull request Nov 28, 2016
* COMPASS-334 active state for sidebar entries

* make refresh icon white as well
@pzrq
Copy link
Contributor

pzrq commented Nov 28, 2016

Backported to 1.5-releases in 0ebd700

@pzrq pzrq deleted the COMPASS-334-active-sidebar branch November 28, 2016 04:17
@fredtruman
Copy link
Contributor

fredtruman commented Nov 28, 2016

Thanks @pzrq . I'll see if I can address your points and will let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants