Commit Graph

82 Commits

Author SHA1 Message Date
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
pdxlocations 41c60a49e9 Merge pull request #48 from rfschmid/fix-crash-on-long-input 2025-01-22 17:00:58 -08:00
pdxlocations fb3138883f Merge pull request #47 from rfschmid/make-selected-channel-green 2025-01-22 16:54:56 -08:00
Russell Schmidt 43680f8afb Fix crash on long input 2025-01-22 17:25:12 -06:00
Russell Schmidt e15f625716 Fix default channel messages not showing on start 2025-01-22 17:14:49 -06:00
Russell Schmidt c090b3dd58 Make messages pad actually work 2025-01-22 17:11:32 -06:00
Russell Schmidt 80fe10c050 Make selected channel green
So you can tell which channel you're looking at when the channel list
isn't highlighted
2025-01-22 12:52:03 -06:00
pdxlocations a710374fe9 refactor notification 2025-01-22 08:20:51 -08:00
Russell Schmidt cb088c51d4 Count total lines of messages 2025-01-21 19:10:43 -06:00
Russell Schmidt ccb46b8553 Account for packet log window 2025-01-21 19:10:33 -06:00
Russell Schmidt 35748d071e Various tweaks, added back messages border 2025-01-21 19:09:46 -06:00
Russell Schmidt 7e85085b98 WIP - Convert messages window to pad
Change to use a curses "pad" so we can scroll better
2025-01-21 19:09:44 -06:00
Russell Schmidt d0af0e6af1 Make forward slash possible to type
Packet log is now Ctrl + P
2025-01-21 17:39:49 -06:00
Russell Schmidt 1c0704b940 Handle backspace character
Co-authored-by: pdxlocations <117498748+pdxlocations@users.noreply.github.com>
2025-01-21 17:13:46 -06:00
Russell Schmidt 6384777bb6 Delete leftover comment 2025-01-21 14:58:34 -06:00