-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial Charts #1198
Initial Charts #1198
Conversation
This commit introduces a new "More Details" screen for nodes, accessible via the node list's context menu. The screen displays the node's long name and provides a back button to return to the node list. This feature allows users to view additional information about individual nodes.
This commit refactors the getNodeByNum function to use the in memory nodeDBbyNum map instead of iterating through the nodeList. This improves performance and readability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking good. added a few notes to improve how the data is handled.
app/src/main/java/com/geeksville/mesh/ui/NodeDetailsFragment.kt
Outdated
Show resolved
Hide resolved
I'm going to move forward with the Environmental Metrics chart. I was thinking about using a Pager that allows the user to swipe between graphs. Let me know if that works or if anyone has another suggestions. |
nice progress - Pager w/ tabs or similar controls probably makes sense here. Found some guidelines (material 2 but seems relevant). |
Thanks, cool guide had not seen that yet. |
sounds good. I'd suggest working with protobufs directly instead of our POJOs (ie. as the POJOs will always behind (sometimes not available at all) for some telemetry variants. |
Makes sense. |
…between charts. Still missing a few things at this point.
The first iterations of graphs are ready for review. They still have room to improve but I would say its useful in it's current state. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a few notes but overall looks good!
app/src/main/java/com/geeksville/mesh/model/NodeDetailsViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/geeksville/mesh/ui/NodeDetailsFragment.kt
Outdated
Show resolved
Hide resolved
Hi @Robert-0410, How about adding the following features to the Device Metrics?
Thanks, |
Issue #559 seems relevant to this Pull Request.
I've implemented a first graph/chart for the device metrics as a start.
My plan is to address any valuable input anyone may have and based on those improvements we can plan the next steps.
My Concerns
Note: The data used for the chart below is not real.