aboutsummaryrefslogtreecommitdiffstats
path: root/termui/bug_table.go
Commit message (Collapse)AuthorAgeFilesLines
* bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-251-2/+1
| | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
* termui: fix a crash when trying to open a bug when there are noneVojtěch Káně2020-04-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nothing prevented you from pressing Enter in bug listing even when there were no open bugs. Doing so resulted in: panic: runtime error: index out of range [0] with length 0 goroutine 1 [running]: github.com/MichaelMure/git-bug/termui.(*bugTable).openBug(0xc00007aa80, 0xc000354000, 0xc00036c120, 0x2, 0x2) /build/source/termui/bug_table.go:440 +0x17f github.com/awesome-gocui/gocui.(*Gui).execKeybinding(0xc000354000, 0xc00036c120, 0xc0003102a0, 0xc00007a001, 0xc000225b2c, 0xc000000180) /build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:808 +0x65 github.com/awesome-gocui/gocui.(*Gui).execKeybindings(0xc000354000, 0xc00036c120, 0xc000225b38, 0x3, 0x4, 0x3) /build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:787 +0xed github.com/awesome-gocui/gocui.(*Gui).onKey(0xc000354000, 0xc000225b38, 0x2, 0x0) /build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:745 +0x164 github.com/awesome-gocui/gocui.(*Gui).handleEvent(...) /build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:506 github.com/awesome-gocui/gocui.(*Gui).MainLoop(0xc000354000, 0x0, 0x0) /build/go/pkg/mod/github.com/awesome-gocui/gocui@v0.6.1-0.20191115151952-a34ffb055986/gui.go:466 +0x202 github.com/MichaelMure/git-bug/termui.initGui(0x0) /build/source/termui/termui.go:113 +0x12c github.com/MichaelMure/git-bug/termui.Run(0xc000228000, 0xc000078b30, 0x0) /build/source/termui/termui.go:66 +0x185 github.com/MichaelMure/git-bug/commands.runTermUI(0x1211bc0, 0x12478e0, 0x0, 0x0, 0x0, 0x0) /build/source/commands/termui.go:18 +0xd5 github.com/spf13/cobra.(*Command).execute(0x1211bc0, 0x12478e0, 0x0, 0x0, 0x1211bc0, 0x12478e0) /build/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:840 +0x453 github.com/spf13/cobra.(*Command).ExecuteC(0x1210960, 0x0, 0x0, 0x0) /build/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:945 +0x317 github.com/spf13/cobra.(*Command).Execute(...) /build/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:885 github.com/MichaelMure/git-bug/commands.Execute() /build/source/commands/root.go:54 +0x2d main.main() /build/source/git-bug.go:14 +0x20
* query: no need for an ast packageMichael Muré2020-03-281-2/+1
|
* cache: replace the all-in-one query parser by a complete one with ↵Michael Muré2020-03-281-3/+5
| | | | AST/lexer/parser
* termui: rework the cursor in bugtable to match the rendering before the ↵Michael Muré2019-11-101-26/+8
| | | | switch to awesome-gocui
* termui: migrate to awesome-gocui instead of the old fork I hadMichael Muré2019-11-031-13/+13
|
* switch to go-term-text to fix bad underflow for label renderingMichael Muré2019-11-031-15/+17
|
* termui: better overflow managementludovicm672019-10-161-3/+7
|
* termui: add labels colors in bug tableludovicm672019-10-151-12/+20
|
* finish the refactoring for the dedicated identifier typeMichael Muré2019-08-121-3/+3
|
* termui: make bugTable only use the cache Easy pickMichael Muré2019-04-211-20/+35
| | | | fix #127
* cache: properly push/pull identities and bugsMichael Muré2019-03-271-7/+5
|
* identity: more progress and fixesMichael Muré2019-03-011-7/+3
|
* WIP identity in gitMichael Muré2019-03-011-1/+2
|
* termui: use a forked gocui to fix large character handlingMichael Muré2018-12-251-1/+1
|
* termui: don't reset the cursor when paginating with left/rightMichael Muré2018-12-231-6/+23
| | | | See https://github.com/MichaelMure/git-bug/pull/83 for the rationale
* Termui: Better position the cursor when changing page.Cyril Roelandt2018-12-221-0/+7
| | | | | | After moving to the previous page, users probably want to have their cursor on the last entry of the page. When moving to the next page, they probably want it to be on the first entry.
* Termui: switch to the previous/next page when going up/down.Cyril Roelandt2018-12-221-2/+12
| | | | | | Rather than using 'h' or 'l' to load the previous or next page, allow users to do this automatically when going up or down the list with 'k' or 'j'. This is the default behaviour in mutt, for instance.
* termui: tighter column in the bug tableMichael Muré2018-12-011-21/+26
|
* termui: use the '↵' symbol to save screen spaceMichael Muré2018-12-011-1/+1
|
* github: also pull users emailMichael Muré2018-10-071-1/+1
|
* termui: better responsive columns in the bug tableMichael Muré2018-09-261-4/+3
|
* commands: git bug comment now show the comments of a bugMichael Muré2018-09-151-12/+12
|
* bug: add a data validation process to avoid merging incorrect operationsMichael Muré2018-09-151-1/+1
|
* termui: use 'q' for quit and 's' for searchMichael Muré2018-09-131-3/+3
|
* termui: add missing query help textMichael Muré2018-09-131-1/+1
|
* bug: proper int baked enum for merge result status instead of a stringMichael Muré2018-09-131-1/+1
|
* reorganize package for a more idomatic goMichael Muré2018-09-111-17/+18
|
* termui: allow to change the bug queryMichael Muré2018-09-111-11/+26
|
* termui: use Esc key to quit instead of 'q' to free it for a "query" featureMichael Muré2018-09-111-2/+2
|
* cache: combine sorting and filtering into a query with its micro-DSLMichael Muré2018-09-091-3/+8
|
* cache: refactor to handle bug changes during PullMichael Muré2018-09-081-1/+1
|
* cache: provide a generic bug sorting functionMichael Muré2018-09-021-5/+1
|
* cache: provide sorted (id, creation, edit) list of bugsMichael Muré2018-09-021-25/+11
|
* cache: maintain, write and load from disk bug excerptsMichael Muré2018-08-231-5/+5
|
* bug: add a new BugExerpt that hold a subset of a bug state for efficient ↵Michael Muré2018-08-231-1/+1
| | | | sorting and retrieval
* termiu: show the bug after creationMichael Muré2018-08-171-4/+4
|
* termui: fix out of bounds when opening a bug on non-first pageMichael Muré2018-08-171-1/+1
|
* termui: implement push/pullMichael Muré2018-08-121-1/+99
|
* termui: reset the scroll between show bug windowMichael Muré2018-08-091-1/+1
|
* termui: colors in the bug tableMichael Muré2018-08-081-1/+8
|
* termui: fix an out of bound panicMichael Muré2018-08-081-1/+1
|
* termui: show the last edit in a dedicated columnMichael Muré2018-08-021-4/+10
|
* termui: implement addComment and setTitleMichael Muré2018-08-021-17/+22
|
* termui: add a view to display a bugMichael Muré2018-08-011-23/+58
|
* termui: fix a pagination off by oneMichael Muré2018-07-311-4/+4
|
* termui: add a reusable error popup, use it for badly formated bug creationMichael Muré2018-07-311-18/+22
|
* termui: use the editor to create a new bugMichael Muré2018-07-311-81/+176
|
* termui: interactive and responsible list of bugsMichael Muré2018-07-301-9/+56
|
* wip terminal uiMichael Muré2018-07-301-0/+186