Commit Graph

3700 Commits

Author SHA1 Message Date
James Rich
4242afef9c feat: Introduce Version Catalog for Dependency Management (#1607)
* feat: Introduce Version Catalog for Dependency Management

This commit introduces a version catalog via `libs.versions.toml` to centralize and manage project dependencies. It replaces the previous hardcoded dependency versions in `app/build.gradle` with references to the version catalog. This change enhances maintainability and organization by centralizing dependency management.

- Added `gradle/libs.versions.toml` to define dependencies and their versions.
- Updated `app/build.gradle` to utilize dependencies from the version catalog.

* chore: migrate plugins to version catalog

* chore: sort lines in `libs.versions.toml`

-Sorts `versions`, `dependencies`, and `plugins` references alphabetically.

* feat: pin ZXing Core dependency

*   Suppressed warning about updating zxing-core to avoid confusion.
*   Added a note to avoid updating zxing-core.

* refactor: Enforce consistent `implementation()` calls in `build.gradle`

-   Ensures all library dependencies are called with `implementation(libs.xxx)` instead of `implementation libs.xxx` in `build.gradle`.

* feat: use version catalog bundles

- Updated dependencies in the app build.gradle to use bundles where possible.

* fix: fix ui test dependency declarations

* chore: comments for clarity

* fix: remove material3 from this PR
2025-02-24 18:42:37 -06:00
Joshua Soberg
1e9b1c2bc3 feat: PR screenshot template(#1606) 2025-02-22 14:55:53 -06:00
Joshua Soberg
ef64df3515 fix: Stop overriding surface/onSurface in theme (#1605)
Fixes #1604
* Stop overriding surface/onSurface in theme

* Wrap preview in AppTheme to get a better representation of what it'll look like on-device
2025-02-22 14:06:56 -06:00
Joshua Soberg
8fee9dbc45 fix: Accommodate large font for node filter (#1602)
Fixes #1561

* Add large font preview

* Adjust default min size such that the filter input will accomodate larger fonts. Also, align the dropdown icon and use body1 typography for input text

* Add license and newline to fix detekt issues
2025-02-22 12:57:30 -06:00
renovate[bot]
84d916f410 chore(deps): update plugin io.gitlab.arturbosch.detekt to v1.23.8 (#1600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-22 11:07:53 -06:00
renovate[bot]
9a026a8b6c chore(deps): update io.gitlab.arturbosch.detekt:detekt-formatting to v1.23.8 (#1599)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-22 11:07:10 -06:00
Robert-0410
85d6e0ccdf feat: Graphs Blue Color (#1597)
* Changed the humidity color on the graph to the same blue used for current in the power graph.

* Refactor: Centralized the blue used in both the Env and Pow metrics in CommonCharts.kt.

---------

Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-02-22 09:39:46 -06:00
Joshua Soberg
3e74373617 chore(devex): Update project name and icon (#1601)
* Update project name from "Mesh Util" to "Meshtastic Android"

* Add project icon for Android Studio/IntelliJ/Jetbrains Toolbox
2025-02-22 09:17:50 -06:00
James Rich
7ef396bf3b 2.5.17 2.5.17 2025-02-16 17:59:36 -06:00
Joshua Soberg
5430169830 Add an animation to user node list items to animate on details expansion (#1590) 2025-02-16 14:37:49 -06:00
James Rich
8ddd553753 chore: update proto submodule to v2.5.22 (#1589) 2025-02-16 10:48:30 -06:00
Joshua Soberg
ed52a5360f Apply a background to the filter search sticket header so that list items don't show behind it when scrolling (#1588) 2025-02-16 10:22:06 -06:00
Joshua Soberg
37489604f0 Introduction of stable Compose UI State and some simple animations in Debug Panel (#1575)
* Add dependency to KotlinX immutable collections

* Build a Compose-stable UI state vs using a database model. Move appropriate mapping logic for converting database model -> UI state into the view model. Introduce animations to new log placement and automated scroll.

* Center the top card row vertically

* Move log message generation into separate method

---------

Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-02-16 06:09:41 -06:00
Ken Piper
e15ad23c46 feat: Initial implementation of adding nodes to favorites (#1520)
* Implement initial support for adding and removing nodes from favorites

* Make favorite nodes' names show up bold in the node list

* Forgot to add this here when I was fixing the previous merge conflicts. Whoops!

* Make detekt happy

---------

Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-02-16 06:02:02 -06:00
James Rich
584fe8d6f8 fix: limit quick chat append, prevent duplicates (#1522)
Limits quick chat append to 200 characters and prevents duplicate appends.
Also sets a constant for the max message size.

fixes #1511
2025-02-16 05:51:54 -06:00
Robert-0410
b067a0c0b3 feat: Power graph (#1556)
* Refactor: We can draw the horizontal lines for the graphs independent of min and max entries.

* Added navigation to the PowerMetrics log with a skeleton screen.

* Drew channel 1 voltage.

* Refactor: Assigned colors for the data within the enum instead of a list-ordinal combo.

* Plotted Ch1 current line.

* Refactor: Did not need the parameters being used to get the desired ui in the TimeLabels composable.

* Added a row to help distinguish between units.

* Refactor: MetricsTimeSelector.kt to SlidingSelector.kt; the new version allows for generic options.

* Added a sliding selector to choose between power channels and changed the legend data to instead display current and voltage.

* We now plot the line for which the user has selected a power channel option.

* Don't need the current line to be dotted anymore.

* Don't think we need to display an info dialog for voltage and current.

* Wrote card to display the power channel data entries.

* detekt

* Refactor: current color change to accommodate the themes better

---------

Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-02-15 22:37:05 -06:00
Joshua Soberg
24abd1ac4a fixes #1557: Filter out emojis when creating short names (#1578)
* Filter out emojis from text when finding initials

* Confirm non-English non-emoji unicde isn't filtered

* Remove unused example unit test

---------

Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-02-15 22:25:35 -06:00
James Rich
e11d726e27 feat: Add RAK2560 hardware model and graphic (#1543)
Adds the RAK2560 to the list of supported devices and associates it with the corresponding vector drawable.
2025-02-15 22:17:57 -06:00
Ken Piper
86128a19c8 Add missing units to node details info cards 2025-02-15 22:07:49 -06:00
James Rich
0aff35b560 chore(deps): update plugin com.google.devtools.ksp to v2.1.10-1.0.30
chore(deps): update plugin com.google.devtools.ksp to v2.1.10-1.0.30
2025-02-15 21:43:46 -06:00
renovate[bot]
b281e9fe54 chore(deps): update plugin com.google.devtools.ksp to v2.1.10-1.0.30 2025-02-16 03:32:03 +00:00
James Rich
da8f5aad94 chore(deps): update com.android.tools.build:gradle to v8.8.1
chore(deps): update com.android.tools.build:gradle to v8.8.1
2025-02-15 21:31:29 -06:00
renovate[bot]
8aaaf33bc4 chore(deps): update com.android.tools.build:gradle to v8.8.1 2025-02-16 03:21:51 +00:00
James Rich
7180291593 chore(deps): update androidx.fragment:fragment-ktx to v1.8.6
chore(deps): update androidx.fragment:fragment-ktx to v1.8.6
2025-02-15 21:11:38 -06:00
renovate[bot]
bc2fffd810 chore(deps): update androidx.fragment:fragment-ktx to v1.8.6 2025-02-16 03:01:04 +00:00
James Rich
d79d529e35 chore(deps): update androidx.datastore:datastore to v1.1.2
chore(deps): update androidx.datastore:datastore to v1.1.2
2025-02-15 20:58:57 -06:00
renovate[bot]
04f27dda40 chore(deps): update androidx.datastore:datastore to v1.1.2 2025-02-16 02:51:38 +00:00
James Rich
97002266c7 chore(deps): update nav_version to v2.8.7
chore(deps): update nav_version to v2.8.7
2025-02-15 20:50:24 -06:00
renovate[bot]
6f07e33a0e chore(deps): update nav_version to v2.8.7 2025-02-16 02:20:15 +00:00
James Rich
8a961fa7b8 chore(deps): update com.suddenh4x.ratingdialog:awesome-app-rating to v2.8.0
chore(deps): update com.suddenh4x.ratingdialog:awesome-app-rating to v2.8.0
2025-02-15 20:15:50 -06:00
renovate[bot]
481b724a3b chore(deps): update com.suddenh4x.ratingdialog:awesome-app-rating to v2.8.0 2025-02-16 02:01:47 +00:00
James Rich
349b933869 chore(deps): update coroutines_version to v1.10.1
chore(deps): update coroutines_version to v1.10.1
2025-02-15 19:59:29 -06:00
renovate[bot]
b30cfdfdae chore(deps): update coroutines_version to v1.10.1 2025-02-15 23:41:48 +00:00
James Rich
93cf7f2059 chore(deps): update org.jetbrains.kotlinx:kotlinx-serialization-json to v1.8.0
chore(deps): update org.jetbrains.kotlinx:kotlinx-serialization-json to v1.8.0
2025-02-15 17:40:46 -06:00
renovate[bot]
fbde8b9548 chore(deps): update org.jetbrains.kotlinx:kotlinx-serialization-json to v1.8.0 2025-02-15 23:24:13 +00:00
James Rich
323470506b chore(deps): update com.google.firebase:firebase-crashlytics-gradle to v3.0.3
chore(deps): update com.google.firebase:firebase-crashlytics-gradle to v3.0.3
2025-02-15 17:22:18 -06:00
renovate[bot]
a068a76fb1 chore(deps): update com.google.firebase:firebase-crashlytics-gradle to v3.0.3 2025-02-15 23:12:07 +00:00
James Rich
f167b82c3b chore(deps): update hilt_version to v2.55
chore(deps): update hilt_version to v2.55
2025-02-15 17:05:03 -06:00
renovate[bot]
ee79a0aacc chore(deps): update hilt_version to v2.55 2025-02-15 22:50:24 +00:00
James Rich
7ea67ef09c chore(deps): update com.google.firebase:firebase-bom to v33.9.0
chore(deps): update com.google.firebase:firebase-bom to v33.9.0
2025-02-15 16:48:42 -06:00
renovate[bot]
016effeaba chore(deps): update com.google.firebase:firebase-bom to v33.9.0 2025-02-15 22:40:30 +00:00
James Rich
a6a3c95d28 chore(deps): update protobuf_version to v4.29.3
chore(deps): update protobuf_version to v4.29.3
2025-02-15 16:39:04 -06:00
renovate[bot]
bb0d581590 chore(deps): update protobuf_version to v4.29.3 2025-02-15 22:10:39 +00:00
James Rich
206169e230 chore(deps): update kotlin_version to v2.1.10
chore(deps): update kotlin_version to v2.1.10
2025-02-15 12:56:05 -06:00
renovate[bot]
c1c9168bfc chore(deps): update kotlin_version to v2.1.10 2025-02-15 18:43:43 +00:00
James Rich
d3937b4f72 chore(deps): update androidx.compose:compose-bom to v2025
chore(deps): update androidx.compose:compose-bom to v2025
2025-02-15 12:38:45 -06:00
renovate[bot]
d9a06012e4 chore(deps): update androidx.compose:compose-bom to v2025 2025-02-15 18:26:01 +00:00
James Rich
29694a72b9 Merge pull request #1563 from meshtastic/renovate/gradle-8.x
chore(deps): update gradle to v8.12.1
2025-02-15 12:19:47 -06:00
renovate[bot]
ca199c7a12 chore(deps): update gradle to v8.12.1 2025-02-15 17:14:55 +00:00
James Rich
4f94e7a72f feat: Add 'dependencies' label to Renovate PRs 2025-02-15 11:06:46 -06:00