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

37 Commits

Author SHA1 Message Date
Chris Cummer
3175b8d9cc Quick run through to add some documentation comments 2018-04-17 15:55:36 -07:00
Chris Cummer
693a04b5e1 Removed a bunch of common boilerplate code from widget initialization 2018-04-15 13:08:17 -07:00
Chris Cummer
84ecf296a5 RefreshedAt moved to the end of the refresh (because that makes more sense, doesn't it?) 2018-04-13 16:14:57 -07:00
Chris Cummer
3a3efbd59f Flexible 1on1 lookup (need to move this sort of thing into Config) 2018-04-13 13:50:12 -07:00
Chris Cummer
31e17da358 Hack to fix a unicode rendering issue in iTerm 2018-04-12 18:18:54 -07:00
Chris Cummer
00ec46bfed Fix a bug in GCal with current event display 2018-04-12 14:18:29 -07:00
Chris Cummer
04c3effcea Mark calendar start time conflicts 2018-04-11 16:06:49 -07:00
Chris Cummer
27a267b123 Cleaner config format and added simple_config.yml example 2018-04-10 11:28:48 -07:00
Chris Cummer
79bc8216d6 Don't display disabled widgets 2018-04-07 14:36:13 -07:00
Chris Cummer
ae13d52665 Enabled half-measure: widgets won't run if disabled (still need to not display) 2018-04-07 14:20:21 -07:00
Chris Cummer
b4bc6d4509 Remove a ton of duplication around TextView widget creation 2018-04-07 13:55:08 -07:00
Chris Cummer
42734a502c Widget text spacing 2018-04-06 21:55:44 -07:00
Chris Cummer
fb637700b1 Displays Github review requests and PRs 2018-04-05 21:16:55 -07:00
Chris Cummer
32b395a19e Indicate division between days in calendar widget
Also Clean up gcal's contentFrom() function
2018-04-05 21:16:55 -07:00
Chris Cummer
71f8fc789f A ton of cleanup around how config is handled and go rountines are executed 2018-04-04 18:02:59 -07:00
Chris Cummer
c3f1d7ee36 Configuration used throughout the app 2018-04-04 15:38:29 -07:00
Chris Cummer
45d88c6700 Don't display time until in past calendar events 2018-04-04 11:58:55 -07:00
Chris Cummer
22a9f7b194 Gracefully handle calendar connection failures 2018-04-03 17:49:38 -07:00
Chris Cummer
faa4a915c4 Don't display calendar until() time if in the past 2018-04-03 16:33:26 -07:00
Chris Cummer
12e6b2a9f2 Mark the current calendar event if there is one 2018-04-03 14:51:21 -07:00
Chris Cummer
ef10ac5d0c Refresh the calendar every five minutes 2018-04-03 09:10:52 -07:00
Chris Cummer
7555ae3b5c Border color on the widgets 2018-04-02 22:09:01 -07:00
Chris Cummer
278bf583c4 Remove the common refresher() code into BaseWidget 2018-04-02 04:38:55 -07:00
Chris Cummer
f6e7a2c030 WIP Git widget 2018-03-31 20:04:09 -07:00
Chris Cummer
7b5d06c670 Tweaks to the widget presentation 2018-03-31 13:59:23 -07:00
Chris Cummer
9756e1885f Calendar displays number of days/hours/minutes until the listed meeting 2018-03-31 13:43:03 -07:00
Chris Cummer
693a05cf43 More sensible timer units 2018-03-31 09:25:42 -07:00
Chris Cummer
b937d64d75 BaseWidget added to start reducing some of the code duplication 2018-03-30 22:29:19 -07:00
Chris Cummer
a09691c86f Better calendar display 2018-03-30 10:48:03 -07:00
Chris Cummer
da8220ff0d Nowrap text on widget that don't need to wrap text 2018-03-30 10:37:38 -07:00
Chris Cummer
2f63a56eae Widgets have names 2018-03-30 10:21:05 -07:00
Chris Cummer
ab4774c86a Widgets refresh via goroutine
All widgets now refresh their own data using their own internal go
routine. This allows them to set their own update schedule (where
RefreshInterval is the time in seconds between refreshes).

The app uses a goroutine to redraw itself once a second.
2018-03-30 10:12:27 -07:00
Chris Cummer
951da43f99 Widgetized Google Calendar 2018-03-29 18:03:43 -07:00
Chris Cummer
57b0e96d64 Grey out past calendar event descriptions 2018-03-29 13:18:45 -07:00
Chris Cummer
bb71396291 Seperate calendar coloring code from widget code 2018-03-29 03:38:22 -07:00
Chris Cummer
3393882dc8 Color 1on1 calendar events differently than other calendar events 2018-03-29 03:04:43 -07:00
Chris Cummer
8946e5cf24 Adds in Google Calendar and Weather support (hard-coded right now) 2018-03-28 19:41:38 -07:00