feat(ecobot): introduce backdrop click dismissal & streamline header UI - #202
Open
toufiq00007 wants to merge 5 commits into
Open
feat(ecobot): introduce backdrop click dismissal & streamline header UI#202toufiq00007 wants to merge 5 commits into
toufiq00007 wants to merge 5 commits into
Conversation
|
@toufiq00007 is attempting to deploy a commit to the arzoorai0207-5745's projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
failing , check for issues |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Description
Refactors the interaction model of the floating
EcoChatbotcomponent. It permanently removes the manual close (X) button from the header layout and replaces it with a backdrop overlay, allowing users to dismiss the chat widget by clicking anywhere in the empty viewport space.🛠️ Changes Made
fixed inset-0 z-40 bg-transparent) right beneath the chat container. Clicking this layer setsisOpento false, seamlessly dismissing the widget.<>...</>) to handle both the backdrop overlay and the chat card as side-by-side elements under theisOpenstate.🧪 Verification
closes feat(ecobot): close chatbot on backdrop click and permanently remove close button #201