Chris Cummer
dbc047516d
Move all components responsible for module composition into /view
2019-08-04 21:42:40 -07:00
Chris Cummer
b07f3c5e67
Reimpliments the module configuration validation
...
Now supports displaying errors from multiple widgets.
2019-07-07 16:04:43 -07:00
Sean Smith
ad3796f5a8
Fix cryptolive widget
...
Addresses #481
Inverts the item list return, to make sure we always trigger wg.Done and not hang the widget
Clean up config for toplist widget, as we were assigning to `currencies` rather than `top` erroneously
2019-07-04 11:12:20 -04:00
Sean Smith
02e0666697
Remove more app usages which are unnecessary
2019-05-24 22:22:56 -04:00
Kirill Motkov
f0771cd013
Some code improvements
...
* Some assignments simplified by using assignment operators
* Rewrite switch statement with only one case as if.
* Rewrite if-else chain as a switch statement.
* go fmt `modules/todoist/project.go` file.
2019-05-21 17:29:09 +03:00
Sean Smith
42821b3102
Clean up drawing functionality
...
Fix up a bunch of missed places that can use the standardized `Redraw` method
2019-05-11 12:11:26 -04:00
Sean Smith
14abd422b2
Add default titles, to mimic original behavior
...
Have the modules set their own titles
If no title is specified, use this title, rather than default to name
2019-04-30 23:38:37 -04:00
Sean Smith
5abd701b40
Decouple modules from global config
...
Rather than referencing wtc.Config, instead pass the global config
Also, look up config for the module early and pass that in sooner, to deal with fewer long paths and get rid of the
ConfigKey variable
2019-04-27 22:26:23 -04:00
Chris Cummer
5445309aa0
WTF-315 Fix race conditions caused by writing to view
2019-04-25 19:39:49 -07:00
Chris Cummer
6227b2bcdb
WTF-400 Remove last of wtf.Config from CryptoLive
2019-04-19 13:49:28 -07:00
Chris Cummer
bc967be9e2
WTF-400 Remove last of wtf.Config from Bittex widget
2019-04-19 10:50:27 -07:00
Chris Cummer
f09d08bda2
WTF-400 Common settings implemented
2019-04-18 18:22:19 -07:00
Chris Cummer
b50c762dab
WTF-400 Move name and configKey values from widget to settings
2019-04-17 17:16:26 -07:00
Chris Cummer
0790493c53
WTF-400 Fix wrong YAML identifier for some modules
2019-04-15 10:05:57 -07:00
Chris Cummer
27b4274d38
WTF-400 Cryptolive extracted to new config format
2019-04-15 10:05:57 -07:00
Chris Cummer
1630fb96b7
WTF-400 Blockfolio extracted to new config format
2019-04-15 10:05:57 -07:00
Chris Cummer
3db2848169
WTF-400 Bittrex extracted to new config format
2019-04-15 10:05:57 -07:00
Sean Smith
8030380f89
Migrate all modules to their own subfolder
...
Handles #375
2019-02-18 11:16:34 -05:00