Sivin Varghese
945fa5fd16
chore: Update message bubble orientation ( #11348 )
...
# Pull Request Template
## Description
This PR includes,
### Changes
1. **Message Orientation**:
- Updated the bubble orientation of Bot, Agent, and Private Note
messages to align from **left** to **right**.
2. **Activity Message bubble Styling**:
- Adjusted **padding** and **border-radius** for activity message
bubbles for better alignment and appearance.
| **Before** | **After** |
| ------------- | ------------- |
| <img width="559" alt="image"
src="https://github.com/user-attachments/assets/18258ae0-0d8e-4447-a005-9b6643b71f81 "
/> | <img width="559" alt="image"
src="https://github.com/user-attachments/assets/425785d8-17f9-4629-8301-f19f23aef201 "
/> |
---
Fixes
[CW-4263](https://linear.app/chatwoot/issue/CW-4263/v410-messages-history-incoming-and-outgoing-renders-in-one-line ),
https://github.com/chatwoot/chatwoot/issues/11340
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
### Loom video
https://www.loom.com/share/117bbb1dda98451883c9bb17f7cf016b?sid=05eae4d4-af11-4a41-a1d6-dc4e7e2cb281
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2025-05-06 13:21:52 +05:30
Sivin Varghese
6b42305f59
fix: Show agent bot name and avatar correctly in messages ( #11394 )
...
This PR fixes an issue where messages from the agent bot were incorrectly displayed as "BOT" with a missing avatar. It now correctly shows the agent bot’s name and avatar URL in the message list.
2025-05-05 16:26:30 -07:00
Pranav
73f6b888cd
fix: Fix issues in bubble design ( #10940 )
...
Just making it easier to test and merge
https://github.com/chatwoot/chatwoot/pull/10796 .
This PR does the following:
- Removes the change on br + br condition.
- Support 1x, 1.5x, 2x playbacks
- Add a hover on the agent avatar
2025-02-21 09:51:54 +05:30
Shivam Mishra
d997734837
revert: Next bubble improvements ( #10795 )
2025-01-29 20:04:45 -08:00
Sivin Varghese
2c1a8e59f5
chore: Next bubble improvements ( #10759 )
2025-01-29 22:56:08 +05:30
Shivam Mishra
5046dc5727
feat: add CSAT & Form bubble ( #10711 )
...


---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2025-01-17 15:30:52 +05:30
Shivam Mishra
7fd8b4d03a
feat: update colors for v4 ( #10660 )
...
Porting changes from https://github.com/chatwoot/chatwoot/pull/10552
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Pranav <pranavrajs@gmail.com >
2025-01-15 17:13:03 +05:30
Shivam Mishra
7b31b5ad6e
fix: Fix bubble design in RTL ( #10683 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2025-01-14 11:14:13 -08:00
Shivam Mishra
dbcc55665a
fix: Bubble style when grouping with next ( #10677 )
2025-01-14 09:05:29 +05:30
Shivam Mishra
25258417de
fix: v4 ui issues ( #10652 )
...
This PR has the following fixes
1. Remove leading `:` in inbox view push message content
2. Styles for block quotes in text
3. Better condition for checking bot message
4. Use dompurify
2025-01-08 18:17:50 +05:30
Shivam Mishra
91b1015457
feat: fixes for bubble UI ( #10643 )
...
This PR applies the following fixes
1. Images in emails have margins, causing unnecessary gaps when 1x1px
images are loaded (ref:
[42111](https://app.chatwoot.com/app/accounts/1/conversations/42111?messageId=96215315 ))
2. Two adjacent `<br>` tags would add a huge gap, fixed this (ref:
[42111](https://app.chatwoot.com/app/accounts/1/conversations/42111?messageId=96215315 ))
3. Color for outgoing emails is wrong (ref:
[41621](https://app.chatwoot.com/app/accounts/1/conversations/41621?messageId=93560032 ))
4. Wrong list styles (see:
[42372](https://app.chatwoot.com/app/accounts/1/conversations/42372?messageId=96208130 ))
5. Wrong bubble color when outgoing message is sent by a bot or captain
6. Wrong avatar when outgoing message is sent by a bot or captain
2025-01-08 09:26:40 +05:30
Shivam Mishra
c19d70a6a0
fix: bubble UI issues ( #10608 )
...
This PR has fixes for the following issues
- Inconsistent spacing between meta and text in text bubble
- Activity bubble overflows for longer text (for now I have truncated
it, I'll work with @absurdiya on a better solution)
- Ugly lookinh gradient for expand button on email bubble
- Email bubble overflow issues and text rendering issues
- Alignment for error message
- Minute-wise grouping not working
- Link color should not be blue
- Use `gray-3` for bubble background instead of `gray-4`
2024-12-21 13:36:46 +05:30
Shivam Mishra
eef70b9bd7
feat: integrate new bubbles ( #10550 )
...
To test this, set the `useNextBubble` value to `true` in the
localstorage. Here's a quick command to run in the console
```js
localStorage.setItem('useNextBubble', true)
```
```js
localStorage.setItem('useNextBubble', false)
```
---------
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-12-19 18:41:55 +05:30
Shivam Mishra
19ff5bdd5e
feat: Add new message bubbles ( #10481 )
...
---------
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-12-12 17:42:22 -08:00