-
Notifications
You must be signed in to change notification settings - Fork 245
feat(compass-web): add welcome page COMPASS-8657 #6593
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
Conversation
| }); | ||
|
|
||
| function getCreateAtlasClusterUrl() { | ||
| return window.location.href.replace(/#.*$/, '#/clusters/starterTemplates'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can just do #/clusters/starterTemplates here, you don't need a full url to replace a fragment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added in 3b19e29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i also removed more code in f44ae52 to fix the test failures
gribnoysup
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat! Thanks for the cleanup!
In this PR, we added CompassWeb specific welcome page. compass-welcome plugin exports two different welcome tabs (web and desktop).
For
connections-store-reduxchanges, currently we have code that supports single connection and as such when connection form is not visible, we still have a connection in the store. For renderingCreate Clusterbutton for web, we check if there's no cluster (connection) and show the button. To avoid doingif count is numConnections - 1, I removed this initial part from connections-store-redux.Description
Checklist
Motivation and Context
Open Questions
Dependents
Types of changes