Closed itsmartashub closed 3 months ago
In the new UI, when the full-width option is enabled, the edit icon for user chats disappears due to the restricted width of the user chat element. This pull request aims to fix this issue by repositioning the edit icon and ensuring it remains visible and accessible to users. Additionally, we will address the overflow issue by applying overflow: visible to the user chat element, while thoroughly testing for any potential layout breaks caused by this change.
overflow: visible
to the user chat element to address the overflow issue.overflow-x-hidden
setting.hello @itsmartashub , i have some sugestions regarding the chat width implementation,
Cancel
and Submit
edit state buttons are immediately next to it.Aah ok my bad, apologies :( Its looks good, thanks 🙌
hello @itsmartashub , i did notice a small behaviour of chat-full-width implementation, it does maintain the selected width % even after smaller device breakpoint which shouldnt be the case
hello @itsmartashub , i did notice a small behaviour of chat-full-width implementation, it does maintain the selected width % even after smaller device breakpoint which shouldnt be the case
Hi there, dear @NeeRaj-2401. Yap, I'm aware of that. Just I've got a lot on my plate these days and not a lot of free time to focus on the extension.
Also, since this extension is primarily for the desktop versions, I tend to work in a similar way. So, I always make sure everything is working properly on the desktop versions first, and then once I'm sure everything is tested, I move on to mobile (smaller breakpoints).
In this case, the full/custom width feature is far from finished, so mobile is even further away.
I hope you don't mind me asking, but I'm curious about why you think the currently selected width should be different at different breakpoints?
I hope you don't mind me asking, but I'm curious about why you think the currently selected width should be different at different breakpoints?
The only reason 😅
I hope you don't mind me asking, but I'm curious about why you think the currently selected width should be different at different breakpoints?
The only reason 😅
I understand that. But what if someone uses the extension on tablets or phones and wants the width to be custom, say, 85%
instead of 100%
? If I reset the width to 100%
at the tablet/phones breakpoint, this feature wouldn't make sense on smaller devices/breakpoints, right? After all, you suggested the full-width feature (and there shouldn't be such "problems" with dynamic width), if I'm not mistaken. This slider customization is just a bonus.
But I can certainly look into what I can do when the user resizes the window if that would help you. If you have a better idea than changing the widths on the window resizing event to solve this, please suggest it.
1. Chat Width Customization [#1, #37]:
storage
saving)2. Prompt Field Width Customization [#37]:
storage
saving)3. Sync Feature for Prompt Field [#38]:
storage
saving)4. Implement responsive full-width adjustment for chat bubbles and prompt textarea when resizing window [#39]
<= 768px
768px
and the interface is being resized, remove the full-width adjustment and reset to the default or previously chosen width options. So first, I have to detect if the user change the default preferences.debounce
fn to prevent unnecessary resizing events and ensure smooth adjustments.Closes: #1, #37, #38, #39