1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

13 Commits

Author SHA1 Message Date
Sean Smith
0f9e07259e Capture API exceptions from todoist API
Rather than silently swallow, capture them and use them in rendering
2019-08-31 18:03:48 -04:00
Sean Smith
14e7619075 Renormalize the redraw function
Have all instances take a function
Update the remaining modules to take this into account
Numerous smaller refactors to make some widgets work more or less the same
2019-08-27 21:51:37 -04:00
Sean Smith
264f49fd2c Fix race with HighlightableHelper
GetRect can lead to a race condition
Add a RenderFunc method so that we can call try to
wrap even more of our rendering in the thread safe
`QueueUpdateDraw` method
2019-08-24 22:15:35 -04:00
Chris Cummer
4e46fff145 Move the utils.go file into the /utils directory 2019-08-05 10:50:12 -07:00
Chris Cummer
5dbce09e4f Make Transmission widget scrollable 2019-06-26 06:58:27 -07:00
Sean Smith
c4d58ece81 Add a helper function to do highlighting in a uniform way 2019-05-24 22:06:47 -04:00
Sean Smith
2fb1a06ca0 Add Scrollable to todoist widget
This is now a multi-source scrollable widget, trying to leverage as much of existing functionality as possible for
consistency
2019-05-22 00:22:17 -04:00
Sean Smith
6a41935e61 Flip todoist over to multiview widget
This can also probably be made scrollable in the future as well
2019-05-12 23:15:48 -04:00
Sean Smith
018d2af3ae Add a global Redraw method for TextWidget
Partially addresses #429, by centralizing widget drawing
2019-05-10 08:42:37 -07:00
Chris Cummer
88fdf9702b WTF-400 Move settings-related functions from util.go into common_settings.go 2019-04-21 21:35:45 -07:00
Chris Cummer
59f0bc6cfc WTF-400 Partial conversion to new Common settings 2019-04-18 19:02:08 -07:00
Chris Cummer
8b2fc71f92 WTF-400 Todoist extracted to new config format 2019-04-16 10:01:55 -07:00
Sean Smith
8030380f89 Migrate all modules to their own subfolder
Handles #375
2019-02-18 11:16:34 -05:00