Skip to content

Conversation

@mabaasit
Copy link
Collaborator

@mabaasit mabaasit commented Jan 7, 2025

In this PR, we added CompassWeb specific welcome page. compass-welcome plugin exports two different welcome tabs (web and desktop).
For connections-store-redux changes, 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 rendering Create Cluster button for web, we check if there's no cluster (connection) and show the button. To avoid doing if count is numConnections - 1, I removed this initial part from connections-store-redux.

Description

Checklist

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

});

function getCreateAtlasClusterUrl() {
return window.location.href.replace(/#.*$/, '#/clusters/starterTemplates');
Copy link
Collaborator

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added in 3b19e29

Copy link
Collaborator Author

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

Copy link
Collaborator

@gribnoysup gribnoysup left a 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!

@mabaasit mabaasit marked this pull request as ready for review January 8, 2025 15:18
@mabaasit mabaasit merged commit e3c2427 into main Jan 9, 2025
29 of 31 checks passed
@mabaasit mabaasit deleted the COMPASS-8657-welcome-page branch January 9, 2025 08:34
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