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

138 Commits

Author SHA1 Message Date
Chris Cummer
15968718af Todo modal shows up much faster now, looks better 2018-10-01 16:44:51 -07:00
Nicholas Eden
d05300d849 allow changing of title color 2018-09-26 23:33:08 -07:00
Nicholas Eden
c717cecff9 Add option to set background and text color on a module basis, resolves #307 2018-09-26 21:30:54 -07:00
Chris Cummer
f650bb1698 Remove the app.Draw() gorountine
Prefer to have widgets force a draw when their data changes. This should
reduce draws (unless the user has a module installed that updates >=
1/sec, the old draw default).

This should also remove a source of some of the race conditions that
users were experiencing (though not all, there are still many).
2018-09-24 14:40:57 -07:00
Chris Cummer
9bd2430063 Minor code cleanup 2018-09-24 08:52:57 -07:00
Chris Cummer
0824ccf15c Really don't have nav characters > 9 2018-09-05 12:05:31 -07:00
Chris Cummer
74b9fd841b Use numbers for shortcuv nav
Frees up letters to be used in widet menus
2018-09-05 12:02:00 -07:00
Chris Cummer
ad431ee3a7 Move common nav controls into MultiSourceWidget 2018-09-01 17:37:09 -07:00
Chris Cummer
e760561027 Twitter module supports subscribing to multiple screen names 2018-09-01 17:05:52 -07:00
Chris Cummer
0cdaf5c2d3 Add the MultiSourceWidget concept 2018-09-01 12:57:03 -07:00
Chris Cummer
0e797fea3d Textfile module now supports multiple text files 2018-08-30 08:18:42 -07:00
Chris Cummer
ed75f9648a Merge branch 'master' of github.com:senorprogrammer/wtf 2018-08-30 08:16:24 -07:00
Anand Sudhir Prayaga
d4853f7cfd Make jenkins widget interactive 2018-08-30 16:32:05 +02:00
Chris Cummer
8824604330 Better name in the FocusTracker 2018-08-30 07:29:33 -07:00
Chris Cummer
d5017cd06c Improve the display of tweets in the Twitter widget 2018-08-22 13:44:12 -07:00
bertl4398
db1ec731bd fix missing import 2018-08-17 21:26:55 +02:00
bertl4398
5514b0c601 update colors.go 2018-08-17 21:24:22 +02:00
Anand Sudhir Prayaga
a4b2383e92 Hide sigils when there is only one page to display
Silis show up even when there is only one or no pages to display. They're not needed in these cases as there is nothing to navigate between..

Fix #291
2018-08-13 11:13:15 +02:00
Anand Sudhir Prayaga
8f06f65a26 Fix #282 - clocks doesn't change colour 2018-08-07 12:18:31 +02:00
Anand Sudhir Prayaga
568276343c Make the travisci module interactive
* Add ability to select and open builds
* Add commit message (oneline style) to text displayed in the widget
* Add documentation on the new keyboard shortcuts
* Cleanup some duplicate code
2018-08-03 15:42:24 +02:00
Chris Cummer
72c192cabf Clean up a bunch of if statements based on govet results 2018-08-03 05:40:39 -07:00
Chris Cummer
9154441c32 Common help code into HelpfulWidget 2018-08-01 15:54:29 -07:00
Chris Cummer
5761f2858d Redraw when focusing via nav shortcuts to feel more responsive 2018-07-31 21:20:27 -07:00
Federico Ruggi
d6a97a1b9c Merge branch 'master' into fix-focus-modals
# Conflicts:
#	wtf/focus_tracker.go
2018-07-31 18:35:43 +02:00
Chris Cummer
ac08d7a6d4 Nav shortcuts are now configurable 2018-07-31 08:44:52 -07:00
Federico Ruggi
76bc33c7e6 do not set focus if already taken by widget 2018-07-31 16:43:42 +02:00
Chris Cummer
985c41d3b6 Improve styling on focusable character identifier 2018-07-30 22:31:30 -07:00
Chris Cummer
beb0c43b07 Add character identifiers to focusable widgets
When no widget has focus, press the letter key to focus on the widget
assigned to that letter.

Example:

    GitHub (d)

    Press "d" to focus on the GitHub widget.
2018-07-30 15:51:19 -07:00
Chris Cummer
66868a3f49 Unexport colorFor() function 2018-07-26 13:50:37 -07:00
Anand Sudhir Prayaga
4ae8de8bdd Make openFileUtil configurable
Let user configure the command/utility to use to open a file or URL from within a WTF widget
2018-07-24 12:59:21 +02:00
Chris Cummer
6e6d918bfe CmdRunner now displays ANSI color codes 2018-07-18 16:16:28 -07:00
Chris Cummer
8fc6b83d59 Move generic checklist code into its own package 2018-07-18 10:15:46 -07:00
Chris Cummer
857702e971 Add specs for wtf.ChecklistItem 2018-07-12 17:51:23 -07:00
Chris Cummer
5ebab79e2c Clean up the Todoist module code a bit - match names to things 2018-07-12 17:32:19 -07:00
Chris Cummer
4ad25edc0e First pass at creating a generic checklist component
The idea is that checklist-like modules would all share an underlying
checklist implementation (ie: Todo and Todoist) to avoid duplication.
2018-07-12 11:29:41 -07:00
Bryan Austin
0ffbf66f88 Re-work calendar view
As discussed in issue #223 (which has pictures that better explain
the changes here), this change:
- Removes the date from individual events, instead centering a
  title at the start of each day with the date (which uses a new
  configurable color, `wtf.mods.gcal.colors.day`)
- Consolidates 3 lines per event down to 2, moving timestamp to
  front of each event
- Makes the time-until-event text turn red when under 30 minutes
  (wasn't discussed in the issue but was another thing I added
  locally for this, feel free to discard if unwanted)

New format is:
```
           Monday, Jun 25
 x 13:00 Super Cool Meeting Title 2h
 Event location

 x 14:00 Also Super Cool Meeting 3h
 Event location

          Tuesday, Jun 26
 ...
```
2018-07-11 17:19:36 -07:00
Bill Keenan
85dd41bf45 fix bad merge 2018-06-27 14:44:51 -04:00
Bill Keenan
6c09935e56 fixing bad merge 2018-06-27 14:33:22 -04:00
Bill Keenan
ae5ed9ee86 added bargraph unit test 2018-06-27 14:15:16 -04:00
Chris Cummer
1b32dd8277 Delete unused function 2018-06-24 07:52:42 -07:00
Chris Cummer
2fec736935 Add spec coverage to wtf/utils 2018-06-23 14:06:28 -07:00
Chris Cummer
8a0ace3837 Reset permissions on files that were incorrectly set to executable 2018-06-18 08:48:49 -07:00
Chris Cummer
0fc2376179 Add a widget to display the log file in reverse order 2018-06-17 08:05:39 -07:00
Chris Cummer
e92289ebae Move command line flags into it's own module 2018-06-17 08:05:39 -07:00
Lassi Piironen
96e0606c6a Google Calendar: the client reads all the events the user can write on instead of just the accounts primary events, the timestamp printing of the all-day events is handled 2018-06-16 23:37:02 +03:00
Chris Cummer
6bbefb3fb9 Add Display as a concept to separate setup from rendering a bit more 2018-06-15 16:38:11 -07:00
Chris Cummer
c8b22eb588 Close #202. Keep focus on the selected widget when a modal is closed 2018-06-13 15:46:58 -07:00
Chris Cummer
d9e1624304 Delete redundant config functions file 2018-06-13 09:28:58 -07:00
Andrew
a558ee948f Reverted names 2018-06-10 03:36:53 +03:00
Andrew
da1ffdd817 Changed name to andrewzolotukhin 2018-06-10 03:15:58 +03:00