UI refresh: shared widgets, screen cleanups, and full translations
- Extract reusable widgets (chat composer/send pipeline, message bubble frame, reaction chips, path map scaffold, radio settings dialog, translation settings section, map POI clusters, nav tiles, etc.) and slim down the screens that used them - Map: hide/remove markers with restore, confirm before setting node location, POI clustering, semantics labels - Map cache: cancellable downloads and a bulk tile limit - Repeater: unsaved-changes guard, CLI search/copy/share transcript, framed-command debug preview, disconnected banner - Confirm before clearing chats and debug logs - Keep cached unread totals in sync on per-contact/channel updates - Move remaining hardcoded strings into l10n and translate the 98 new keys into all 17 non-English locales
This commit is contained in:
1 parent
9609a8231d
commit
88dcc5943f
100 files changed
+19778
-8167
No files matched your search
@@ -1116,7 +1116,12 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
}
|
||||
|
||||
void setContactUnreadCount(String contactKeyHex, int count) {
|
||||
final previousCount = _contactUnreadCount[contactKeyHex] ?? 0;
|
||||
_contactUnreadCount[contactKeyHex] = count;
|
||||
if (_shouldTrackUnreadForContactKey(contactKeyHex)) {
|
||||
final total = _cachedContactsUnreadTotal + (count - previousCount);
|
||||
_cachedContactsUnreadTotal = total < 0 ? 0 : total;
|
||||
}
|
||||
_unreadStore.saveContactUnreadCount(
|
||||
Map<String, int>.from(_contactUnreadCount),
|
||||
);
|
||||
@@ -1126,7 +1131,10 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
void setChannelUnreadCount(int channelIndex, int count) {
|
||||
final channel = _findChannelByIndex(channelIndex);
|
||||
if (channel != null) {
|
||||
final previousCount = channel.unreadCount;
|
||||
channel.unreadCount = count;
|
||||
final total = _cachedChannelsUnreadTotal + (count - previousCount);
|
||||
_cachedChannelsUnreadTotal = total < 0 ? 0 : total;
|
||||
unawaited(
|
||||
_channelStore.saveChannels(
|
||||
_channels.isNotEmpty ? _channels : _cachedChannels,
|
||||
|
||||
Reference in new issue
Block a user