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
fd794707cd
☢️ WTF-1031 Support multiple simultaneous configurations (#1032)
* WTF-1031 Rename WtfApp.app to WtfApp.tviewApp

Signed-off-by: Chris Cummer <chriscummer@me.com>

* WTF-1031 Add scaffolding for main to support multiple WtfApp instances

Signed-off-by: Chris Cummer <chriscummer@me.com>

* WTF-1031 WIP

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Remove common functionality from KeyboardWidget and into Base

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Augment with some descriptive comments

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Add full support for multiple app instances via the AppManager.

Still to do:

* Config support for multiple apps/multiple config files
* The ability to switch between apps

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Move SetTerminal out of main and into its own file

Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-12-21 03:25:41 -08:00
Chris Cummer
d6a0797bf2 Simplify the inclusion of the Common config settings into each module
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 23:18:46 -08:00
Chris Cummer
f9a06540f1 Simplify the view loading for the keyboard widget
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 23:12:15 -08:00
Chris Cummer
4a820dd0e5 Make every widget a keyboard widget
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 23:12:15 -08:00
Chris Cummer
450483791f Obey the linter; make the linter happy
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-10-07 16:06:57 -07:00
Nikolay Mateev
4ec9d33a6f Add shortcuts for GitHub Pull Requests and Issues (#777) 2019-12-13 08:27:35 -08:00
Chris Cummer
bf877f5fa7 Constantize the defaultFocus value for each module 2019-09-22 18:12:29 -07:00
Joel Valentine
596bfbac02 fix: fixing linting for the github module
adding documentation to github module
fixing malformed icon causing display errors
2019-09-06 02:42:06 +01:00
Joel Valentine
bd2f73aea5 unselecting correctly 2019-09-04 18:39:23 +01:00
Joel Valentine
c21b7c32a8 appending to a slice and referencing items within that using the currently selected 2019-09-04 17:55:32 +01:00
Joel Valentine
b98ce54750 scroll to top when unselecting 2019-08-31 19:01:29 +01:00
Joel Valentine
74d2fbe833 using the correct order and maintaining scroll position when changing source 2019-08-31 18:58:25 +01:00
Joel Valentine
10f020405f instead of resetting the selected each refresh now setting the max each refresh 2019-08-31 17:08:27 +01:00
Joel Valentine
70c5e02ca9 fixing an issue where after a refresh the maxItems would be greater than the actual amount 2019-08-31 16:39:33 +01:00
Joel Valentine
d212037ff5 cleaning up 2019-08-31 16:05:52 +01:00
Joel Valentine
ccaca4f1c0 using just the pr/issue number as highlighted 2019-08-31 15:47:28 +01:00
Joel Valentine
55937c4c40 added highlighting and opening of pull requests 2019-08-31 15:47:28 +01:00
Chris Cummer
dbc047516d Move all components responsible for module composition into /view 2019-08-04 21:42:40 -07:00
Sean Smith
02e0666697 Remove more app usages which are unnecessary 2019-05-24 22:22:56 -04:00
Sean Smith
cb64f7df22 Handle historical config
Parse repositories both ways
Have github manually set sources, since historical config may not handle
2019-05-14 20:46:40 -04:00
Sean Smith
c35034d587 Make github a multisource widget
Note, that this is a backwards incompatible change

Previous config:

```
repositories:
  wtf: "wtfutil"
```

New Config:

```
repositories:
- "wtfutil/wtf"
```
2019-05-12 22:48:17 -04:00
Sean Smith
cd35d1e0a3 Re-add command line help 2019-05-11 19:47:59 -04:00
Sean Smith
7f3daaac59 Have keyboard widget manage its own help
Define help with keys
This means that keys and help are automatically in sync
This means that you can't define keys, but forget help
This unfortunately also means that formatting may not be quite as good
2019-05-11 12:15:52 -04:00
Chris Cummer
2d0706c40b WTF-427 Use new keyboard implementation for widgets. Closes #427 2019-05-06 12:54:07 -07:00
Chris Cummer
a1aae6206f Fix race conditions caused by writing to view 2019-04-25 00:11:16 -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
6c22ad6d27 WTF-400 GitHub 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