-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
1
-
Iteration P (Nov 18 -Dec 2)
-
Developer Tools
https://mongodb.slack.com/archives/C066YP06SRZ/p1732227611853839
I'm investigating a related issue for the Cloud Nav, but i've noticed the new compass experience has an issue with the Visualise your data button, specifically the name of the query params used:Here's a url in cloud-dev from the network tab:
https://cloud-dev.mongodb.com/charts/673abb60c8f6a96debead9e3?sourceType=cluster&instanceName=Cluster0&database=A&collection=B&utm_source=DE&utm_medium=product
Here's a url in prod, old experience
https://cloud.mongodb.com/charts/5bd10032cf09a25d83b2d10c?sourceType=cluster&name=charts-sample-data-dev&database=sample_data&collection=iot
Key thing here is just we're using instanceName instead of name for the query param, this causes the ChartsResource to ignore the deep link and just go to Charts.The query params in ChartsResource in MMS:
interface RedirectParams { String SOURCE_TYPE = "sourceType"; String NAME = "name"; <-------- (Name, not instanceName) String DATABASE = "database"; String COLLECTION = "collection"; String EMBEDDING = "embedding"; }