Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMPASS-458 Decoupling and improving no collections visible message #679

Merged
merged 4 commits into from Dec 13, 2016

Conversation

pzrq
Copy link
Contributor

@pzrq pzrq commented Dec 13, 2016

Not writable suggests Connect to another instance zero state:
not writable suggest connect to another instance zero state

Create Database visible zero state does not suggest Connect to another instance:
create database visible zero state

Note: Could not get enzyme tests (not pushed) to work due to tight coupling with the create-database-store.js and other circular import issues, so happy to let this flow into the next sprint if we want to spend the time unit testing these components.

See also #675

This also only suggests to “Connect to another instance” link if the server is not a primary, which should make even more sense once COMPASS-288 (view replica set status info) is completed.
Design sprint will create their own ticket to iterate it, add 🎨, etc but the pieces should be there from dev for them to play with :)
Triple branch to get this right suggests I should push it downwards into its own component
@satyasinha satyasinha merged commit 11078c7 into master Dec 13, 2016
@satyasinha satyasinha deleted the COMPASS-458-decoupling branch December 13, 2016 10:30
@pzrq
Copy link
Contributor Author

pzrq commented Dec 13, 2016

@KeyboardTsundoku Thanks for reviewing, but your refactoring broke the Connect to another instance link. Guess we do need at least enzyme tests 👍

@pzrq pzrq restored the COMPASS-458-decoupling branch December 13, 2016 11:49
@pzrq pzrq deleted the COMPASS-458-decoupling branch December 13, 2016 11:54
@satyasinha
Copy link

@pzrq oh what, I thought I did a direct copy. Sorry about that 😞

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.

None yet

2 participants