@nyaruka/temba-components 0.134.4 → 0.134.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -4,16 +4,38 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
#### [v0.134.
|
|
7
|
+
#### [v0.134.5](https://github.com/nyaruka/temba-components/compare/v0.134.4...v0.134.5)
|
|
8
|
+
|
|
9
|
+
- Fix message log links [`6bfb571`](https://github.com/nyaruka/temba-components/commit/6bfb571d6e09dba4d5b9ef9fea3d50718d98dbed)
|
|
10
|
+
|
|
11
|
+
#### [v0.134.4](https://github.com/nyaruka/temba-components/compare/v0.134.3...v0.134.4)
|
|
12
|
+
|
|
13
|
+
> 2 December 2025
|
|
8
14
|
|
|
9
15
|
- Nicer popups for chat messages [`#773`](https://github.com/nyaruka/temba-components/pull/773)
|
|
10
16
|
- Fix groupings, dates, new lines in messages [`#772`](https://github.com/nyaruka/temba-components/pull/772)
|
|
17
|
+
- Revert unintended change [`4615b1d`](https://github.com/nyaruka/temba-components/commit/4615b1d68cb89060dac219c3ecab18488cee73d5)
|
|
18
|
+
|
|
19
|
+
#### [v0.134.3](https://github.com/nyaruka/temba-components/compare/v0.134.2...v0.134.3)
|
|
20
|
+
|
|
21
|
+
> 1 December 2025
|
|
22
|
+
|
|
11
23
|
- Fix handling of showMessageLogsAfter property in ContactChat component [`#771`](https://github.com/nyaruka/temba-components/pull/771)
|
|
24
|
+
|
|
25
|
+
#### [v0.134.2](https://github.com/nyaruka/temba-components/compare/v0.134.1...v0.134.2)
|
|
26
|
+
|
|
27
|
+
> 1 December 2025
|
|
28
|
+
|
|
12
29
|
- Generate message log URLs for messages [`#770`](https://github.com/nyaruka/temba-components/pull/770)
|
|
13
|
-
- Fix rendering of note added events when no user [`#769`](https://github.com/nyaruka/temba-components/pull/769)
|
|
14
30
|
- Generate message log URLs for messages created within a specified number of days. [`1e6433d`](https://github.com/nyaruka/temba-components/commit/1e6433dcaccf3a8cf1e07f5865eda16db7f16e70)
|
|
15
31
|
- Use Date type property on Chat component [`cf244e1`](https://github.com/nyaruka/temba-components/commit/cf244e102fbb2aaa22eb688eeda9172270ddfb70)
|
|
16
|
-
-
|
|
32
|
+
- Apply suggestions from code review [`9ceae6a`](https://github.com/nyaruka/temba-components/commit/9ceae6a95aed669824d771c8cefeb7745f7628af)
|
|
33
|
+
|
|
34
|
+
#### [v0.134.1](https://github.com/nyaruka/temba-components/compare/v0.134.0...v0.134.1)
|
|
35
|
+
|
|
36
|
+
> 27 November 2025
|
|
37
|
+
|
|
38
|
+
- Fix rendering of note added events when no user [`#769`](https://github.com/nyaruka/temba-components/pull/769)
|
|
17
39
|
|
|
18
40
|
#### [v0.134.0](https://github.com/nyaruka/temba-components/compare/v0.133.0...v0.134.0)
|
|
19
41
|
|
package/dist/temba-components.js
CHANGED
|
@@ -2731,7 +2731,7 @@ const{I:th}=at,eh=()=>document.createComment(""),ih=(t,e,i)=>{const n=t._$AA.par
|
|
|
2731
2731
|
</div>
|
|
2732
2732
|
${null}
|
|
2733
2733
|
${b}
|
|
2734
|
-
`;return{html:x,timestamp:y}}renderMessage(t,e=null){var i,n;if(t._rendered)return V`<div class="event">${t._rendered.html}</div>`;const o=t,s=null===(i=o.msg)||void 0===i?void 0:i.unsendable_reason,r=null===(n=o._status)||void 0===n?void 0:n.reason,a=s?(t=>{switch(t){case"no_route":return"No channel available to send message";case"contact_blocked":return"Contact has been blocked";case"contact_stopped":return"Contact has been stopped";case"contact_archived":return"Contact is archived";case"org_suspended":return"Workspace is suspended";case"looping":return"Message loop detected";default:return"Unable to send message"}})(s):r?(t=>{switch(t){case"error_limit":return"Error limit reached";case"too_old":return"Message is too old to send";case"channel_removed":return"Channel was removed";default:return"Message failed to send"}})(r):null,l=this.showMessageLogsAfter&&o.created_on>=this.showMessageLogsAfter&&o.msg.channel?`/channels/channel/logs/${o.msg.channel}/msg/${t.uuid}/`:null;return V`
|
|
2734
|
+
`;return{html:x,timestamp:y}}renderMessage(t,e=null){var i,n;if(t._rendered)return V`<div class="event">${t._rendered.html}</div>`;const o=t,s=null===(i=o.msg)||void 0===i?void 0:i.unsendable_reason,r=null===(n=o._status)||void 0===n?void 0:n.reason,a=s?(t=>{switch(t){case"no_route":return"No channel available to send message";case"contact_blocked":return"Contact has been blocked";case"contact_stopped":return"Contact has been stopped";case"contact_archived":return"Contact is archived";case"org_suspended":return"Workspace is suspended";case"looping":return"Message loop detected";default:return"Unable to send message"}})(s):r?(t=>{switch(t){case"error_limit":return"Error limit reached";case"too_old":return"Message is too old to send";case"channel_removed":return"Channel was removed";default:return"Message failed to send"}})(r):null,l=this.showMessageLogsAfter&&o.created_on>=this.showMessageLogsAfter&&o.msg.channel?`/channels/channel/logs/${o.msg.channel.uuid}/msg/${t.uuid}/`:null;return V`
|
|
2735
2735
|
<div class="bubble-wrap">
|
|
2736
2736
|
<div class="popup" style="white-space: nowrap;">
|
|
2737
2737
|
${a?V`<div style="color: var(--color-error); margin-right: 1em;">
|