Work workspace with runs, change and facts tabs; vim keys; responsive Board; theme file
This commit is contained in:
@@ -35,16 +35,16 @@ def parse(argv):
|
||||
return opts
|
||||
|
||||
|
||||
def pages(cfg):
|
||||
def pages(cfg, folder):
|
||||
"""The pages, in the order they must appear on the workspace rail."""
|
||||
bin_path = BIN
|
||||
proj = cfg["paperclip"]["project"]
|
||||
task = pj.watch_task(cfg)
|
||||
return task, [
|
||||
("shell", "shell", "exec zsh -i"),
|
||||
("tree", "tree", "%s -screen tree -project %s" % (shlex.quote(bin_path), proj)),
|
||||
("board", "board", "%s -screen board -project %s -folder %s" % (shlex.quote(bin_path), proj, shlex.quote(folder))),
|
||||
("work", "work", "%s -screen work -folder %s" % (shlex.quote(bin_path), shlex.quote(folder))),
|
||||
("reply", "reply", "%s -screen reply -issue %s" % (shlex.quote(bin_path), task)),
|
||||
("log", "log", "%s -screen log -issue %s" % (shlex.quote(bin_path), task)),
|
||||
("new", "new", "%s -screen new -project %s" % (shlex.quote(bin_path), proj)),
|
||||
]
|
||||
|
||||
@@ -61,7 +61,7 @@ def main():
|
||||
if not os.path.isfile(BIN):
|
||||
raise h.Refused(2, "no harness binary at %s; build it with 'cd tui && go build -o ../bin/harness .'" % BIN)
|
||||
|
||||
task, page_list = pages(cfg)
|
||||
task, page_list = pages(cfg, folder)
|
||||
h.say("board: %s (session %s, folder %s)" % (cfg["paperclip"]["project"], session, folder))
|
||||
h.say("watching: %s" % task)
|
||||
|
||||
|
||||
BIN
bin/harness
BIN
bin/harness
Binary file not shown.
Reference in New Issue
Block a user