3616 Commits

Author SHA1 Message Date
andrekir
b05768df98 2.5.15 2.5.15 2024-12-18 08:31:02 -03:00
andrekir
b0ccde9117 feat: update Crowdin localization strings 2024-12-18 08:30:16 -03:00
andrekir
6daf3d8508 feat: update device_hardware.json 2024-12-18 08:29:31 -03:00
andrekir
38c61a1803 chore: update proto submodule to v2.5.17 2024-12-18 08:16:31 -03:00
Tavis
1f0092bbe1 fix: handle GATT_CONNECTION_TIMEOUT status in Bluetooth connection state change (#1463)
* Trap code 147 on BT disconnect

If we trap code 147 on BT disconnect and then call lostConnection(), the app will attempt reconnect every 30 seconds and autoreconnect works even after prolonged disconnect.
2024-12-18 08:14:16 -03:00
andrekir
8226207dbf fix: node key status dialog public key selection 2024-12-17 12:31:16 -03:00
andrekir
33f86dcf61 feat: add user longName and userId to messages
closes #1479
2024-12-17 12:27:34 -03:00
andrekir
5693874db1 fix: message text is not always cleaned when sending
fixes #1474
2024-12-17 12:25:54 -03:00
renovate[bot]
066e44ae00 chore(deps): update androidx.compose:compose-bom to v2024.12.01 2024-12-15 08:23:52 -03:00
renovate[bot]
84e4183918 chore(deps): update nav_version to v2.8.5 2024-12-15 08:15:59 -03:00
renovate[bot]
7a321ecc91 chore(deps): update hilt_version to v2.53.1 2024-12-15 08:06:13 -03:00
renovate[bot]
d2a70b15c0 chore(deps): update protobuf_version to v4.29.1 2024-12-14 06:17:59 -03:00
renovate[bot]
ef9a1e49ac chore(deps): update com.google.firebase:firebase-bom to v33.7.0 2024-12-14 06:09:31 -03:00
andrekir
193ee727b5 feat(serial): send heartbeat to keep connection alive
closes #456
2024-12-14 05:59:41 -03:00
andrekir
22fafe8033 refactor: remove protobuf dependency from HardwareModel 2024-12-13 16:00:38 -03:00
andrekir
6506de9ab1 2.5.14 2.5.14 2024-12-12 06:59:52 -03:00
andrekir
0f9c1fc4bf feat: update Crowdin localization strings 2024-12-11 12:31:47 -03:00
Robert-0410
06bf9e5ecd feat: device metrics time breaks (#1456)
* The battery line is only drawn from point to point when we don't have a significant break in time.

* Implemented GraphUtil.plotPoint

* Implemented GraphUtil.createPath

* Added licence to GraphUtil.kt.
2024-12-11 11:48:15 -03:00
rcarteraz
5d0b0e7d72 chore: Remove Discourse Links, Replace with Discussions (#1455)
* Update README.md

* update discourse links to discussions
2024-12-11 11:40:46 -03:00
andrekir
a642e6a62e feat: add NodeMenu options to messages
closes #682
2024-12-10 16:21:19 -03:00
andrekir
a19a28c4b3 feat: trigger channel scan dialog when users paste a new valid URL 2024-12-10 13:00:44 -03:00
andrekir
a475280b86 chore: update Triple-T phone-screenshots 2024-12-10 12:59:27 -03:00
andrekir
d6a7a60a3c fix: node detail mismatch key layout 2024-12-10 12:58:05 -03:00
andrekir
2110183d2b fix: keyboard flicker after sending messages
replaces `keyboardController.hide()` with `focusManager.clearFocus()`
2024-12-10 12:56:53 -03:00
andrekir
1a67ea8ad4 refactor: add DTO mapper for DeviceHardware 2024-12-10 12:55:48 -03:00
andrekir
165f5a2b49 chore: enable detekt license header template 2024-12-10 12:14:21 -03:00
James Rich
993f659742 feat: add support for Device Hardware json and svg graphics (#1449)
* feat: add support for Device Hardware json and svg graphics

Allows for better hardware device display names, graphics, and indication of support.

* make detekt happy

* Fix: Use first image name to find vector drawable

Use the first image name from the `images` list (after removing the ".svg" suffix) to find the corresponding vector drawable resource.

* Refactor: Update device detail layout

Updated the device detail layout to group device-specific information under a "Device" category.
Added a circular background with device-specific color behind the device icon.
Moved hardware, support status details to the Device section.

* Refactor: Move device hardware logic to MetricsViewModel

Moves the logic for retrieving device hardware information and image resources from NodeDetail to MetricsViewModel.

Also replaces id lookup with when statement for image resource id mapping.

* fix: cache deviceHardwareList, add exception handling

* refactor: mutable list unnecessary

* default to hw_unknown device image
2024-12-10 12:02:57 -03:00
renovate[bot]
f08916764c chore(deps): update nav_version to v2.8.4 2024-12-07 08:49:41 -03:00
renovate[bot]
6d629b4985 chore(deps): update com.android.tools.build:gradle to v8.7.3 2024-12-07 08:39:54 -03:00
andrekir
1ea55b2209 refactor: move ignore node to is_ignored field in NodeInfo 2024-12-07 08:18:18 -03:00
andrekir
4a1319a645 refactor: replace user with node in Message model 2024-12-05 19:50:15 -03:00
andrekir
746f155a99 feat: add Public Key to node key status dialog 2024-12-05 19:45:34 -03:00
andrekir
94dc3dead1 feat: add EnvironmentMetrics radiation to node detail 2024-12-05 19:39:37 -03:00
andrekir
7c63d0fe2b chore: stop tracking Project_Default.xml 2024-12-05 09:48:21 -03:00
andrekir
b4aa4896d8 2.5.13 2.5.13 2024-12-03 19:21:43 -03:00
andrekir
bf2d8c99d8 feat: update Slovak localization strings 2024-12-03 19:21:07 -03:00
andrekir
dd3a77e2f7 feat: add reaction dialog with grouped emojis and user list 2024-12-03 17:47:22 -03:00
andrekir
797fc67982 refactor: move reaction button to MessageItem 2024-12-03 15:58:43 -03:00
andrekir
f9424f2abc feat: add Alert Bell to Quick Chat actions
closes #972
2024-12-03 10:23:27 -03:00
andrekir
ca8a49d862 fix: enforce single-line NodeSignalQuality text 2024-12-03 10:23:27 -03:00
andrekir
9cb7f89315 refactor: start DeviceMetrics chart at current time 2024-12-03 10:23:26 -03:00
andrekir
76454cc802 fix: missing radio config import/export buttons 2024-12-03 09:21:06 -03:00
andrekir
49ac8a432d fix: hide keyboard on send text message 2024-12-03 09:17:54 -03:00
andrekir
96087cca59 refactor: move message files to separate package 2024-12-03 09:14:32 -03:00
James Rich
2234f5a713 feat: add emoji reactions to message bubbles (#1421)
* Add tapback emojis to message bubbles

Added TapBackEmojiItem composable to display tapback emojis.
Included it in MessageItem composable for incoming messages.
Added a FlowRow to show tapback emojis below the message bubble.

* feat: Add EmojiPicker View

* feat: show emojis for local messages

* feat: Add emoji tapbacks to messages

This commit introduces the ability to send and receive emoji tapbacks for messages.

- Adds emoji and replyId fields to DataPacket.
- Adds emoji tapback support to the MeshService
- Modifies UIState to handle emojis in message lists.

* feat: store tapbacks in database

Store tapbacks in the database and display them in the message list.
- Add a new table to the database to store tapbacks.
- Add a new DAO method to insert and retrieve tapbacks.
- Update the message list UI to display tapbacks.

* refactor: relation db and other changes

---------

Co-authored-by: Andre K <andrekir@pm.me>
2024-12-03 08:57:35 -03:00
Robert-0410
b3f4929cf4 feat: Scrollable x axis (#1445)
* Started horizontal scrolling for DeviceMetrics. Drawing lines based on the TimeFrame and setting the dp.

* Wrote YAxisLabels(), it will replace the Y labels portion of the ChartOverlay(). The composable works for either side of the graph.

* Wrote HorizontalLinesOverlay(), it will replace the horizontal lines portion of the ChartOverlay().

* Updated the data points to use their actual x values.

* Based the width of the scrollable graph on time.

* Added a date label to the TimeAxisOverlay.
2024-12-01 07:22:54 -03:00
Andre K
3c581f81a8 refactor: migrate MessagesFragment to Compose (#1444) 2024-11-30 23:20:09 -03:00
andrekir
5d3b36532f refactor: move dialog into NodeKeyStatusIcon component 2024-11-30 21:10:54 -03:00
andrekir
c02a30cff9 2.5.12 2.5.12 2024-11-30 15:12:18 -03:00
andrekir
6117862e01 feat: update Crowdin localization strings 2024-11-30 15:11:24 -03:00