aboutsummaryrefslogtreecommitdiffstats
path: root/termui
Commit message (Collapse)AuthorAgeFilesLines
* cache: tie up the refactor up to compilingMichael Muré2022-12-213-8/+8
|
* core: bubble up the comment ID when created, or edited the first commentMichael Muré2022-11-131-1/+1
|
* bug: have a type for combined ids, fix ↵Michael Muré2022-08-222-5/+5
| | | | https://github.com/MichaelMure/git-bug/issues/653
* move bug.Status in entities/common for reuseMichael Muré2022-08-201-2/+3
|
* move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-183-3/+3
|
* update gocuiMichael Muré2022-02-155-22/+27
|
* make sure every text input is safe and validatedMichael Muré2021-04-171-4/+8
| | | | fix #630
* repo: move bleve thereMichael Muré2020-12-081-1/+5
|
* identity: remove support for legacy identityMichael Muré2020-10-041-15/+7
|
* Fix 'no description' readability in terminal with bright backgroundZdenek Crha2020-09-271-1/+1
| | | | | | | | | | | | | | | | | The rendering of color for 'No description provided' text is broken on bright terminals - it sets black background which together with default black forground color renders opaque rectangle. The GreyBold color alias is broken too - name suggests bold gray forground color, but actually sets bold default fg color with black bacground. First make color alias consistent. Rename it to BlackBold and have it set bold black fg color (same as similar *Bold aliases). Second, update all places which use it to render text to also use white background to prevent it from disappering in terminals with black background color.
* Fix help bar readability in terminal with bright backgroundZdenek Crha2020-09-271-2/+2
| | | | | | | | | Set both background and foreground color when displaying help bar to avoid sitation where default foreground color used by terminal is hard to read on blue background (like cyan on blue or black on blue). Apply colors to whole generated help bar to avoid 'stripes' of different background color where whitespace is used between help items.
* termui: don't pack it *that* muchMichael Muré2020-08-301-12/+14
|
* termui: show the number of *additional* commentsMichael Muré2020-08-301-3/+3
|
* TermUI: pack the bug table viewYuri D'Elia2020-08-291-20/+23
|
* TermUI: Remove empty borders around bug table viewYuri D'Elia2020-08-291-9/+8
|
* termui: help bar background goes all the widthMichael Muré2020-08-224-8/+14
|
* termui: make the help visually easier to parseMichael Muré2020-08-224-7/+53
|
* termui: avoid importing a whole package to check an errorMichael Muré2020-07-201-3/+5
|
* Merge pull request #428 from wavexx/force_status_fgcolorMichael Muré2020-07-143-0/+3
|\ | | | | Set the Fg color of the status bar to White
| * Set the Fg color of the status bar to WhiteYuri D'Elia2020-07-133-0/+3
| | | | | | | | | | Always set the Fg color when Bg is set. This fixes poor contrast on terminals with non-standard foreground colors.
* | Trim titles in list viewsYuri D'Elia2020-07-131-1/+1
|/
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-261-1/+1
| | | | | | | | | - allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code. - generalize the memory-only and persisted Lamport clocks behind a common interface - rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily - test previously untested components with those new tests Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
* bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-252-3/+2
| | | | 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-282-5/+8
| | | | AST/lexer/parser
* termui: fix label cropped in the label edition windowMichael Muré2020-02-251-4/+4
|
* various cleanups suggested by golang-ciMichael Muré2020-02-083-36/+22
|
* termui: fix an excessive assumption about an error0.6.0Michael Muré2019-12-271-1/+3
|
* 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-036-42/+46
|
* switch to go-term-text to fix bad underflow for label renderingMichael Muré2019-11-034-19/+23
|
* termui: better overflow managementludovicm672019-10-161-3/+7
|
* termui: add labels colors in bug tableludovicm672019-10-151-12/+20
|
* bug: rename RGBA to Colorludovicm672019-10-152-3/+9
|
* termui: add colors for labelsludovicm672019-10-152-3/+5
|
* finish the refactoring for the dedicated identifier typeMichael Muré2019-08-123-9/+11
|
* fix everything following the hash-->id changeMichael Muré2019-08-082-9/+8
|
* cache: expose the operation when creating a new bugMichael Muré2019-06-161-1/+1
|
* termui: make bugTable only use the cache Easy pickMichael Muré2019-04-211-20/+35
| | | | fix #127
* termui: fix bug when trying to edit without selectionludovicm672019-04-101-0/+4
|
* cache: properly push/pull identities and bugsMichael Muré2019-03-271-7/+5
|
* github: fix 3 edge-case failuresMichael Muré2019-03-013-6/+8
|
* 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-256-6/+6
|
* Merge pull request #83 from Steap/improve-termui-pagingMichael Muré2018-12-251-2/+36
|\ | | | | Improve termui paging
| * 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.