Task rename added. Closes #3

- Moved title of TaskDetail panel to separate component
- Refactored indentation, formatting
- Updated status bar
This commit is contained in:
Anis Ahmad
2020-07-11 07:48:16 +06:00
parent 1508edce6f
commit 533c28f8bc
7 changed files with 116 additions and 23 deletions

View File

@@ -31,7 +31,7 @@ func makeStatusBar(app *tview.Application) *StatusBar {
tview.NewGrid(). // Content will not be modified, So, no need to declare explicitly
SetColumns(0, 0, 0, 0).
SetRows(0).
AddItem(tview.NewTextView().SetText("Navigate List: ↓/↑"), 0, 0, 1, 1, 0, 0, false).
AddItem(tview.NewTextView().SetText("Navigate List: ↓,↑ / j,k"), 0, 0, 1, 1, 0, 0, false).
AddItem(tview.NewTextView().SetText("New Task/Project: n").SetTextAlign(tview.AlignCenter), 0, 1, 1, 1, 0, 0, false).
AddItem(tview.NewTextView().SetText("Step back: Esc").SetTextAlign(tview.AlignCenter), 0, 2, 1, 1, 0, 0, false).
AddItem(tview.NewTextView().SetText("Quit: Ctrl+C").SetTextAlign(tview.AlignRight), 0, 3, 1, 1, 0, 0, false),