fix: plain chat removed from mobile devices#18377
Conversation
|
Hey there and thank you for opening this pull request! 👋🏼 We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted. Details: |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (12/26/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add foundation team as reviewer" took an action on this PR • (12/26/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add ready-for-e2e label" took an action on this PR • (12/27/24)1 label was added to this PR based on Keith Williams's automation. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
|
No dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No dependency changes detected in pull request |
791c24a to
eee2083
Compare
E2E results are ready! |
| const pathname = usePathname(); | ||
| const searchParams = useSearchParams(); | ||
|
|
||
| const isAppDomain = typeof window !== "undefined" && window.location.hostname === "app.cal.com"; |
There was a problem hiding this comment.
is it possible that window is undefined given "use client" is set? Not an issue just an observation
There was a problem hiding this comment.
how else can we check for the domain within the use effect? any recommendations?
What does this PR do?
This PR removes plain chatbot access with mobile users as it takes up too much space
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
make screen smaller and check if plain chatbot is still there
Checklist