|
1 | | ---- |
2 | 1 |
|
3 | | -### ✨ New |
4 | 2 |
|
5 | | -* Added **LAN room label** in the discovery footer and chat popup, making it clearer when users are discoverable on local networks. |
6 | | -* Introduced **LAN room badge** for better visual identification of local network rooms. |
7 | | -* Prepared new **i18n keys for Crowdin**, allowing missing translations to be completed by the community. |
| 3 | +## 🚀 Release Notes — Chat Notifications & Media Upload Improvements |
| 4 | + |
| 5 | +**Version:** v1.12.1 |
| 6 | +**Date:** 2026-02-03 |
8 | 7 |
|
9 | | -### 🌍 Internationalization (i18n) |
| 8 | +### ✨ New |
10 | 9 |
|
11 | | -* Fixed **PT-BR translations** to proper Portuguese. |
12 | | -* Fixed **EN translations** to proper English. |
13 | | -* Normalized translation keys to avoid mixed-language strings. |
14 | | -* Added empty placeholders for other languages to be completed via Crowdin. |
| 10 | +* Chat now supports **image and video attachments** with in-line preview and a download button. |
| 11 | +* Added a **media upload button** (clip icon) next to the message input for faster sharing. |
| 12 | +* Browser **title and favicon indicators** now update when there are unread chat messages. |
| 13 | +* Web notifications are triggered for **new chat messages when the tab is in background**. |
15 | 14 |
|
16 | | -### 🎨 UI Improvements |
| 15 | +### 🛠 Improvements |
17 | 16 |
|
18 | | -* Updated room badges to include **LAN mode styling**. |
19 | | -* Improved consistency of badge colors across IP, LAN, and paired/secret rooms. |
| 17 | +* Chat notifications are now properly handled by the `Notifications` service instead of being bound to the wrong UI class. |
| 18 | +* Notification triggering logic was standardized using `document.hidden` and `document.visibilityState`. |
| 19 | +* Improved visual feedback for **unread messages received while the chat popup is closed** (pinned highlight until reload). |
| 20 | +* Better UX consistency with existing notification patterns in the app. |
20 | 21 |
|
21 | | -### 🛠️ Developer Experience |
| 22 | +### 🐛 Fixes |
22 | 23 |
|
23 | | -* Improved translation structure to simplify future localization updates. |
24 | | -* Minor cleanup in styles related to room badges. |
| 24 | +* Fixed an issue where chat notifications **did not fire** due to the handler being registered in the wrong class (`ChatUI` instead of `Notifications`). |
| 25 | +* Fixed cases where messages received while the chat popup was closed **were not rendered when reopening**. |
25 | 26 |
|
26 | | -### 🐞 Fixes |
| 27 | +### 📁 Files Changed |
27 | 28 |
|
28 | | -* Fixed mixed-language labels appearing in some UI sections. |
29 | | -* Resolved missing translation keys that caused fallback text to appear incorrectly. |
| 29 | +* `public/scripts/ui.js` |
| 30 | +* `public/scripts/network.js` |
| 31 | +* `public/index.html` |
| 32 | +* `public/styles/styles-main.css` |
30 | 33 |
|
31 | | ---- |
| 34 | +### 🧪 Testing |
32 | 35 |
|
33 | | -### ⚠️ Known Limitations |
| 36 | +* Not executed (manual testing recommended): |
34 | 37 |
|
35 | | -* LAN mode uses local signaling for WebRTC (no native device discovery due to browser limitations). |
36 | | -* Full offline peer discovery is only available in native desktop builds (e.g., Electron). |
| 38 | + * Reload the page (Ctrl + F5). |
| 39 | + * Send a message from another device/tab. |
| 40 | + * Keep the chat tab in background to verify browser notifications. |
| 41 | + * Test image/video upload and rendering in chat. |
37 | 42 |
|
38 | | ---- |
| 43 | +* uma versão **curta** de Release Notes (pra descrição do GitHub Release), e |
| 44 | +* uma versão **super resumida** pra mensagem de update dentro do app. |
0 commit comments