Skip to content

Conversation

@lerouxb
Copy link
Contributor

@lerouxb lerouxb commented Oct 10, 2024

Screenshot 2024-10-10 at 09 29 10

@github-actions github-actions bot added the feat label Oct 10, 2024
@lerouxb lerouxb changed the title feat(connection-form): show a banner on the connection form explaining why you can't edit the connection feat(connection-form): show a banner on the connection form explaining why you can't edit the connection COMPASS-8264 Oct 10, 2024
</div>
</Banner>
)}
{protectConnectionStrings && (
Copy link
Collaborator

@gribnoysup gribnoysup Oct 10, 2024

Choose a reason for hiding this comment

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

I know it's a corner case, but would it make more sense to make this banner show up only when you can actually edit the connection string taking connection status into account? Otherwise it's getting pretty packed in there when editing a connected one:

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Aah well spotted. Fixed.

Copy link
Collaborator

@paula-stacho paula-stacho left a comment

Choose a reason for hiding this comment

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

I'd go for .is.visible instead of .to.exist for better safety, but it's not a blocker

@lerouxb lerouxb merged commit 7f59150 into main Oct 10, 2024
4 checks passed
@lerouxb lerouxb deleted the protect-connection-strings-banner branch October 10, 2024 11:26
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.

4 participants