Commit Graph

522 Commits

Author SHA1 Message Date
pdxlocations 4455781e6c fix types and returns 2025-06-12 16:38:05 -07:00
pdxlocations 0c8aaee415 Merge pull request #197 from rfschmid/redirect-sound-player-output-to-dev-null
Redirect sound player output to dev null
2025-06-12 16:10:26 -07:00
pdxlocations b97d9f4649 Merge pull request #196 from rfschmid/only-clear-input-text-on-enter-if-sending-message
Only clear input on enter when sending message
2025-06-12 16:09:44 -07:00
Russell Schmidt 4152fb6a21 Redirect sound player output to dev null
On my linux system, the sound playing code goes to aplay. When called,
aplay outputs a message about the file it is playing to stderr, which
causes it to be printed on the input line, which can't be easily
cleared. Redirect output from the audio player executable to dev/null.
Deduplicate sound playing code a bit so we only need one call to
subprocess.run, so I don't have to make this change in three places.
2025-06-12 17:28:30 -05:00
Russell Schmidt 384e36dac2 Only clear input on enter when sending message
We should only clear the input field when the user presses enter if the
user actually sent the message. If selecting a different node to send
to, don't clear input.
2025-06-12 17:23:03 -05:00
pdxlocations 65bca84fe6 minor refactor 2025-06-10 23:24:11 -07:00
pdxlocations 16fa2830fd bump version 1.3.13 2025-06-10 22:29:31 -07:00
pdxlocations c8f1da99e3 Merge pull request #194 from rfschmid:fix-crash-with-newlines
Fix crash with newlines, message spacing
2025-06-10 22:28:41 -07:00
Russell Schmidt 702250c329 Fix crash with newlines, message spacing 2025-06-10 17:42:14 -05:00
pdxlocations 6291082405 Merge pull request #192 from rfschmid/fix-wrapping-with-wide-chars
Fix crash when wrapping with wide characters
2025-06-10 12:19:02 -07:00
pdxlocations 4fa5148664 Merge pull request #193 from rfschmid/fix-backspace
Fix enter not clearing input
2025-06-10 11:57:06 -07:00
Russell Schmidt d62ec09eea Fix enter not clearing input
Similar to 981d72e, pressing enter wasn't clearing the input field.
2025-06-10 12:19:03 -05:00
Russell Schmidt 61026dcc73 Fix crash when wrapping with wide characters
Update contact_ui.py to use already-existing custom wrap function
implemented in nav_utils instead of textwrap library. Update custom
wrap_text function to use east_asian_width to determine characters that
can use two columns of width.
2025-06-10 12:17:23 -05:00
pdxlocations 1362d3a219 bump version 1.3.12 2025-06-10 10:02:04 -07:00
pdxlocations 981d72e688 fix backspace 2025-06-10 10:01:44 -07:00
pdxlocations 0b5ec0b3d7 Merge pull request #191 from pdxlocations:refactor-ui-functions
Refactor keypress handling
1.3.11
2025-06-09 23:20:42 -07:00
pdxlocations cbb4ef9e34 break out key functions 2025-06-09 23:19:28 -07:00
pdxlocations fecd71f4b7 refactor window sizes 2025-06-09 22:37:51 -07:00
pdxlocations 59edfab451 add notif sound prefs (#190) 2025-06-09 22:15:53 -07:00
pdxlocations 39159099e1 change prints to logging 2025-06-09 19:01:40 -07:00
pdxlocations 02e5368c61 waits in configio 2025-06-09 07:40:07 -07:00
pdxlocations 9d234a75d8 change default configs order 2025-06-06 22:45:06 -07:00
pdxlocations c7edd602ec Make widths configurable (#189) 2025-06-06 22:37:10 -07:00
pdxlocations 00226c5b4d don't use white in green config (#188) 2025-06-06 22:19:58 -07:00
pdxlocations 243079f8eb Error Handling for play_sound (#187)
* add sound for mac and linux

* add error handling for sounds

* use subprocess
2025-06-06 22:04:18 -07:00
pdxlocations 1e0432642c add sound for mac and linux (#183) 2025-05-29 10:08:12 -07:00
pdxlocations 71f37065bf bump version 2025-05-29 10:03:23 -07:00
pdxlocations ee6aad5d0a allow blank key (#178) 1.3.10 2025-05-18 16:57:49 -07:00
pdxlocations 478f017de1 bump version 1.3.9 2025-05-18 14:43:47 -07:00
pdxlocations c96c4edb01 Add Arrows to Main UI (#177)
* init

* convert globals to dataclass

* move lock to app state

* Almost working changes

* more almost working changes

* so close

* mostly working changes

* closer changes

* I think it works!

* working changes

* hack fix

* Merge branch 'main' into refactor-chat-ui

* clean-up
2025-05-18 12:28:03 -07:00
pdxlocations cc416476f5 Merge pull request #174 from rfschmid/patch-1 2025-04-25 21:20:28 -07:00
Russell Schmidt 7fc1cbc3a9 Fix error "No module named 'ui.ui_state'"
Was unable to run locally at tips due to an import not including the package name.
2025-04-23 17:02:47 -05:00
pdxlocations 78f0775ad5 Convert Globals to Class (#173)
* init

* convert globals to dataclass

* move lock to app state
2025-04-19 21:37:54 -07:00
pdxlocations 43f0929247 fix down arrow in user settings 2025-04-19 16:23:17 -07:00
pdxlocations 941e081e90 bump version 2025-04-19 16:17:10 -07:00
pdxlocations 2e8af740be fix always showing down arrow in settings 1.3.8 2025-04-19 16:16:12 -07:00
pdxlocations a95f128d8e bump version 2025-04-16 21:50:41 -07:00
pdxlocations 3361e4d2ce working changes (#172) 1.3.7 2025-04-16 21:19:46 -07:00
pdxlocations 3959f0768b add help option (#171) 2025-04-16 20:49:17 -07:00
pdxlocations 99839a8075 cleanup 2025-04-16 20:34:46 -07:00
pdxlocations 792cd3c259 Formatting with Black (#170) 2025-04-16 18:48:11 -07:00
pdxlocations b0a84b3ef3 Refactor Navigation Functions (#169)
* working changes

* working changes

* working changes

* not working changes

* working changes

* cleanup
2025-04-16 18:33:51 -07:00
pdxlocations b59ae94e00 bump version 2025-04-16 11:30:30 -07:00
pdxlocations d0ada7eb5b add utf-8 read (#166) 1.3.6 2025-04-13 15:17:36 -07:00
pdxlocations 8d9bbac0be Merge pull request #165 from pdxlocations/type-annotations 2025-04-13 15:02:54 -07:00
Ben Lipsey 613eeb4fab working changes 2025-04-13 14:58:31 -07:00
Ben Lipsey f7b2645dcb working changes 2025-04-13 14:49:00 -07:00
Ben Lipsey bc5a5951d4 current state 2025-04-13 14:18:52 -07:00
Ben Lipsey d7eec6de6e current state 2025-04-12 21:53:27 -07:00
Ben Lipsey 8779297424 current state 2025-04-12 21:19:44 -07:00