chatwoot/app/javascript/shared
Sivin Varghese f9c258f1a0
fix: Prevent [object Object] when copying custom attributes (#12323)
# Pull Request Template

## Description

This PR fixes custom conversation attributes copying as `[object
Object]` by enhancing the clipboard helper to properly serialize objects
and handle different data types.


Fixes
[CW-5428](https://linear.app/chatwoot/issue/CW-5428/copying-custom-conversation-attribute-returns-object-object-instead-of),
https://github.com/chatwoot/chatwoot/issues/12202

## 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/f52db17d4d524b3cbb5badb2b6f381eb?sid=2b34f38f-e95d-4981-be5f-6cb42a0212b9


## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] 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
2025-09-01 13:02:35 +05:30
..
assets chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
components chore: Refactor UTM params to stay compliant with standards (#12312) 2025-08-29 11:46:52 -07:00
composables fix: Installation name not showing (#12096) 2025-08-06 13:11:22 +05:30
constants feat: Add twilio content templates (#12277) 2025-08-29 16:13:25 +05:30
helpers fix: Prevent [object Object] when copying custom attributes (#12323) 2025-09-01 13:02:35 +05:30
mixins feat(voice): Improved voice call creation flow [EE] (#12268) 2025-08-22 13:38:23 +02:00
store feat: Implement UI for Agent Bots in settings and remove CSML support (#11276) 2025-04-16 18:02:49 +05:30