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

29 Commits

Author SHA1 Message Date
Chris Cummer
66b69471d0 Properly scope Config to the wtf package and remove it as a dependency from everywhere else 2018-06-16 14:59:22 -07:00
Hossein Mehrabi
f33b756d02 removed useless condition in Refresh 2018-06-08 10:59:47 +04:30
Chris Cummer
218b6937b1 Implement ASCII-only widget titles
Widget titles can now be specified in the config file via a 'title' key.
Example:

  wtf:
    mods:
      todo:
        title: Tada

which can include emoji. No need to force everyone to look at my emoji,
now they can define their own.
2018-06-03 20:54:07 -07:00
Hossein Mehrabi
6443df092f use widget.View.SetText to print 2018-06-03 10:53:26 +04:30
Chris Cummer
a62b910893 Closes #43. Add CommandRunner module to the app.
CommandRunner allows you to define a terminal command and arguments, run
it on a schedule, and view the output.

Examples:

   ping -3 cisco.com
2018-05-17 17:15:03 -07:00
Chris Cummer
a729b33ea9 Closes #41. Add option to display user's calendar response status 2018-05-15 11:31:50 -07:00
Chris Cummer
397fcbca9a Add config option to hide empty OpsGenie schedules 2018-05-15 10:58:35 -07:00
Chris Cummer
037c90db85 Widget#focus now a thing
Widgets can inform whether or not they should get tab focus.

Widgets that provide additional functionality should return true.

Widgets that have no extra capability should return false.

This allows the FocusTracker to only tab through and focus on widgets
for which it provides value.
2018-04-28 23:41:51 -07:00
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
31e17da358 Hack to fix a unicode rendering issue in iTerm 2018-04-12 18:18:54 -07:00
Chris Cummer
aa658db210 Handle offline scenarios for OpsGenie 2018-04-09 09:48:45 -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
6303acc9a4 Basic New Relic deploy info 2018-04-06 21:14:19 -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
a4a94f2984 Display a msg if no one is on call for a schedule 2018-04-03 16:41:24 -07:00
Chris Cummer
6a70bbe345 Clean the OpsGenie schedule names 2018-04-03 04:52:36 -07:00
Chris Cummer
8c856477e1 Display names instead of emails in OpsGenie widget 2018-04-03 04:28:32 -07:00
Chris Cummer
ff994cb793 OpsGenie on-call schedules into dashboard 2018-04-03 03:44:57 -07:00
Chris Cummer
7555ae3b5c Border color on the widgets 2018-04-02 22:09:01 -07:00
Chris Cummer
945dfc8db7 Display OpsGenie oncall data for one specific schedule 2018-04-02 21:41:46 -07:00
Chris Cummer
62502c24d0 An experimental attempt to kill the zombie processes 2018-04-02 11:00:45 -07:00
Chris Cummer
278bf583c4 Remove the common refresher() code into BaseWidget 2018-04-02 04:38:55 -07:00
Chris Cummer
c856ea3c82 Add OpsGenie frame and some layout modifications 2018-04-01 21:39:56 -07:00