Commit graph

18 commits

Author SHA1 Message Date
andrekir
1219d3037e chore: add GPL-3.0 license headers to source files 2024-11-26 08:54:18 -03:00
andrekir
e33cf85df6 refactor: migrate DebugPanel to Compose 2024-11-19 17:07:51 -03:00
andrekir
fe56d257f5 chore: add detekt formatting rule set
https://detekt.dev/docs/next/rules/formatting/
2024-10-14 07:56:29 -03:00
andrekir
64c09b56a5 feat: enable text selection in debug panel
closes #221
2024-07-13 08:00:42 -03:00
andrekir
4fe49a45dc refactor: improve LazyColumn auto-scroll behavior 2024-07-13 08:00:17 -03:00
andrekir
d8ef392ddd refactor: replace light/dark mode previews with @PreviewLightDark 2024-07-13 07:26:45 -03:00
andrekir
a543bcbfcd refactor: migrate DebugFragment RecyclerView to Compose 2024-07-01 23:04:15 -03:00
andrekir
54435fc031 refactor: move DebugFragment to separate ViewModel 2024-04-07 17:41:18 -03:00
Mike Cumings
e32a1dadea
Annotated debug panel of to/from fields with hex form (#830) 2024-02-02 23:55:41 -03:00
andrekir
b3d581486a fix: add onDestroyView() to release fragment resources 2023-04-03 18:03:55 -03:00
andrekir
a93d4e1dcd rename Packet to MeshLog 2022-09-13 22:49:38 -03:00
andrekir
1196eb6cc5 improve room database flow 2022-07-29 21:28:09 -03:00
andrekir
92776f7f84 patch debug fragment not loading new packets 2022-06-17 02:02:45 -03:00
andrekir
8e32ad81c0 fix DebugFragment ViewModel 2022-06-13 17:43:50 -03:00
Mike Cumings
654a32c01c Introduce Hilt dependency injection
Uses Hilt to get the database initialization off of the
main thread.

The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.

The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00
Kevin Hester
5b653d29f8 reformat per coding conventions 2021-03-29 20:33:06 +08:00
Kevin Hester
2e30dbcdd0 switching away from kotlin-android-extensions 2020-12-07 20:44:17 +08:00
Ludovic Goix
6ec16073c1 Added a debug panel
final
2020-09-26 21:56:52 -04:00