Commit Graph

96 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
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 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 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
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 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
Russell Schmidt 695b4949c0 Fix drawing messages when switching channels 2025-01-23 12:09:21 -06:00
Russell Schmidt 404bac9133 Convert channels window to pad 2025-01-23 08:09:38 -06:00
pdxlocations c19684c119 Merge pull request #51 from rfschmid/convert-nodes-window-to-pad
Convert nodes window to pad
2025-01-22 20:43:44 -08:00
Russell Schmidt f9774b2248 Convert nodes window to pad 2025-01-22 21:39:19 -06:00
Russell Schmidt d6db1e1832 Add home/end/pageup/pagedown message support 2025-01-22 20:48:14 -06:00
pdxlocations 4c85aaecdf sent messages cyan 2025-01-22 18:21:51 -08:00
pdxlocations d8fc02b28a Merge pull request #36 from rfschmid/convert-messages-window-to-pad
Convert messages window to pad
2025-01-22 17:47:04 -08:00
Russell Schmidt 039673bb18 Disable message window looping 2025-01-22 19:41:30 -06:00