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

25 Commits

Author SHA1 Message Date
Andrew
77823419b5 Temporary changed username. 2018-06-10 00:16:40 +03:00
Bryan Austin
a70a0cd41e Allow use of project list in Jira module config
For my own use case (and anyone in a similar situation), the Jira
module is more useful if I can specify a list of projects to
display issues from, rather than no project (which selects all
projects) or one specific project.

New supported syntax:
`  project: ["PROJA", "PROJB"]`

If this is merged, documentation for the Jira module should be
updated accordingly. (Sorry, I would have done this myself but
I'm not sure what the right place is - when grepping I find
multiple places in the repo containing documentation strings
and I'm not sure what the "master" location is)

Specifying a single project (or no project) is still supported -
behavior shouldn't change for anyone who doesn't change their
config.
2018-06-08 12:18:27 -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
Sherod Taylor
9b70236bbb add optional more advanced jql queries and working usernames 2018-05-31 18:46:52 +01:00
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
0ff65bbd5c Row color as common function 2018-05-14 21:04:37 -07:00
Chris Cummer
0d3b663642 Closes #40. Text color config into Jira widget 2018-05-14 21:04:37 -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
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
dd170c0ab3 Rough JIRA implementation. Currently gets all issues assigned to user 2018-04-12 10:14:23 -07:00
Chris Cummer
8d131907a2 WIP 2018-04-12 08:58:23 -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
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
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
35e7fa0128 Add JIRA frame 2018-04-01 22:49:38 -07:00