Commit Graph

109 Commits

Author SHA1 Message Date
pdxlocations 5e1ede0bea init 2025-02-03 18:01:38 -08:00
pdxlocations 313c13a96a Merge pull request #113 from rfschmid:fix-node-details-after-resize
Fix node details after resize or settings
2025-02-03 15:18:47 -08:00
Russell Schmidt 1dc0fc1f2e Fix node details after resize or settings 2025-02-03 17:14:16 -06:00
pdxlocations 03328e4115 Merge remote-tracking branch 'origin/main' into pr/rfschmid/111 2025-02-03 14:06:20 -08:00
Russell Schmidt 7560b0805a Fix help/node details drawing over outline
Leave buffer for box
2025-02-03 12:56:34 -06:00
Russell Schmidt b5a841d7d2 Show different node details for ourself
User is probably more interested in their own device's eg battery level
vs how long ago the node DB thinks we saw ourselves.
2025-02-03 12:48:04 -06:00
Russell Schmidt bae197eeca Add new options to help window 2025-02-02 17:02:09 -06:00
Russell Schmidt d0c67f0864 Fix display glitch
When deleting a channel made the newly selected channel one that had a
notification, we didn't clear the notification symbol
2025-02-02 16:59:44 -06:00
Russell Schmidt f5b9db6d7a Allow archivinig chats
^d will remove a conversation from the channels list, but preserve it in
the database in case we start a conversation with the same node again.
2025-02-02 16:22:19 -06:00
Russell Schmidt d019c6371c Add node sort preferences (#102)
* Add node sort preferences

Now supports 'lastHeard', 'name', and 'hops'. There's probably a way to
make this a multi-select type input instead of requiring the user to
type exactly the right string but it wasn't immediately obvious how to
do that.

* Select node sort from list, refresh on change

---------

Co-authored-by: pdxlocations <benlipsey@gmail.com>
2025-02-02 09:43:04 -08:00
pdxlocations c62965a94f Revert "Display Connection Status (#104)" (#105)
This reverts commit a4a15e57b4.
2025-02-02 08:51:51 -08:00
pdxlocations a4a15e57b4 Display Connection Status (#104)
* init

* working changes
2025-02-02 07:24:17 -08:00
pdxlocations 9621bb09b3 add space in node info bar 2025-02-01 22:01:29 -08:00
Russell Schmidt 466f385c31 Use nodesByNum instead of iterating over nodes
Removes no longer used function that also iterated over nodes
2025-02-01 11:51:04 -06:00
pdxlocations 5dea39ae50 refactor special menu items 2025-01-31 22:01:15 -08:00
pdxlocations ad7c7a148f Add Config Import and Export (#98)
* init

* working changes

* working changes

* remove unused code
2025-01-31 16:42:55 -08:00
Russell Schmidt df7d9b0e2e Enable resizing app (#95)
* Enable resizing app

* Crash less with narrow windows

If the window gets too narrow we'll still crash, but this lets us get
narrower than before.

* Fix resize re-drawing

* Fix crash when resizing too fast

* Fix crash after resize with dialog open

* Enable resizing settings
2025-01-31 16:37:12 -08:00
pdxlocations b9d8c9ad44 Add Lat/Lon/Alt to Position Settings (#96)
* add lat/lon/alt

* fix types and conditions
2025-01-30 22:33:42 -08:00
pdxlocations 648993607d fix packet log height 2025-01-30 14:24:13 -08:00
pdxlocations cf8ee248de adjust packet log message window offset 2025-01-30 13:40:13 -08:00
pdxlocations 5730beafa9 change get name to sql db from nodedb 2025-01-30 12:51:31 -08:00
pdxlocations 09d832a203 colors on traceroute window 2025-01-29 21:25:53 -08:00
pdxlocations aa1b7d43a8 Convert bytes PSK to base 64 2025-01-29 21:12:26 -08:00
pdxlocations 59187a3838 rm depreciated field (#92) 2025-01-29 18:36:00 -08:00
pdxlocations 47d6212b3a Minor Refactor and Dynamic Color List (#91)
* refactor init

* dynamic color list
2025-01-29 17:45:48 -08:00
pdxlocations 1d9d055a4d import cleanup 2025-01-29 16:16:38 -08:00
pdxlocations af5fe53658 Add App Settings Menu (#89)
* init

* working changes

* working changes

* working changes

* working changes

* not working changes

* almost working changes

* working changes

* working changes

* broke save and nested menus

* working better

* changes

* working changes

* scrolling text input

* allow wide char input

* set pad bg colors

* add empty color for bg

* reload colors on save

* tab to save changes

* cleanup on isle edit_value

* dynamically create theme options
2025-01-28 16:52:20 -08:00
Russell Schmidt c865d6a942 Fix crash in get node details
The last heard timestamp apparently sometimes gets populated in the dict
as None, instead of just not being present, which caused a crash. Check
for None before tryint to use it.
2025-01-28 12:42:59 -06:00
pdxlocations 0bbabba77b Merge pull request #85 from rfschmid:add-node-details
Add node details
2025-01-27 16:28:54 -08:00
pdxlocations bf43799a7d Merge pull request #86 from rfschmid/replace-clear-with-erase 2025-01-27 16:26:37 -08:00
Russell Schmidt 5bd9b45753 Fix packet log disappearing 2025-01-27 17:16:56 -06:00
Russell Schmidt 4aaef5381e Replace window.clear() calls with window.erase()
https://lists.gnu.org/archive/html/bug-ncurses/2014-01/msg00007.html
2025-01-27 12:58:01 -06:00
Russell Schmidt 51dcfb5aa2 Add node details 2025-01-27 12:46:33 -06:00
Russell Schmidt 22b2a9a50e Make refresh more efficient 2025-01-26 18:33:46 -06:00
Russell Schmidt 9a306f1553 Refresh display when closing dialogs 2025-01-26 18:12:10 -06:00
pdxlocations ed1e9a3055 reorder config menu 2025-01-25 20:45:23 -08:00
pdxlocations 44b1a3071b fix packet log border color 2025-01-25 18:02:37 -08:00
pdxlocations 916b0cfe53 fix splash border 2025-01-25 15:36:24 -08:00
pdxlocations e086814b83 fix color fixes 2025-01-25 15:30:06 -08:00
pdxlocations ca17bbee31 color fixes 2025-01-24 22:12:25 -08:00
pdxlocations 84246aefd9 Move user config into JSON file (#68)
* working changes

* Reduce redraws in settings (#66)

* Reduce redraws in settings

* Fix drawing sensitive settings in red

* Update other settings to use new color API

* Update reduce redraw changes to use new color API

* Fix highlight/unhighlight red settings

* add settings colors

* format json file

---------

Co-authored-by: Russell Schmidt <russ@sumonkey.com>
2025-01-24 21:00:00 -08:00
pdxlocations d5a6a0462f Color Customization (#64)
* init

* customize colors

* fix splash frame

* cleanup
2025-01-23 23:08:01 -08:00
Russell Schmidt c61dc19319 Don't allow sending empty string 2025-01-23 19:15:35 -06:00
pdxlocations 91d331af4f Merge pull request #60 from rfschmid/add-home-end-pgup-pgdn-to-channels-nodes 2025-01-23 16:15:43 -08:00
pdxlocations be92ac5de3 Merge pull request #61 from rfschmid/box-active-window-in-green 2025-01-23 16:12:31 -08:00
Russell Schmidt 10179c4179 Add home/end/pgup/pgdn to channels and nodes 2025-01-23 17:38:43 -06:00
Russell Schmidt 152555156e Outline active window in green 2025-01-23 17:28:12 -06:00
pdxlocations 11bd9c75ed Add Hourly Timestamps (#58)
* init

* formatting

* white stamps and no seconds
2025-01-23 12:21:38 -08:00
Russell Schmidt aa7d98b1b0 Stop refreshing when changing windows 2025-01-23 12:53:55 -06:00
Russell Schmidt 8895784503 Fix not clearing notifications 2025-01-23 12:29:32 -06:00