Display a banner mentioning the cloud product
gmourier opened this issue · comments
Guillaume Mourier commented
- The banner can be closed with the cross icon on the right. If it is closed, it should not reappear for the user again.
- It must be possible to deactivate it via a query parameter or a header, e.g
?banner=false
; It should not be displayed for users who open the mini-dashboard from the cloud interface. - The link on "Meilisearch Cloud" is this one.
@bidoubiwa I have a figma link at hand if needed
Dave Larkan commented
Thanks @gmourier
The query param to hide the banner on the cloud should work fine for us. It's a little "fragile" but absolutely fine for a first iteration.
Morgane Dubus commented
Just thinking out loud, maybe we can use something like document.referrer
to get the provenance URL and compare it with the Cloud URL 🤔
Don't know if that would work, some tests have to be made, but it could be a much "cleaner" solution than the query params one 😀