Mark Kopenga
5d1a9639b6
Merge pull request #1416 from FoamScience/feature_menuOptions
2021-08-07 15:24:42 +02:00
mjarkk
ea136e4e77
Improve code quality
...
- Make CommandMenuEntry private
- create candidates only once we really need it
- Use only 1 buffer
- Clearify CommandMenuEntry creation fields
2021-08-06 21:50:58 +02:00
Elwardi
dcd3b7c058
Show only labels in menuFromCommand prompts
2021-08-06 18:38:26 +01:00
Mark Kopenga
fd8cb6e6d7
Merge pull request #1419 from mrgarelli/1418_bug_tests_ForceSetColorLevel
...
1418 Fixing test failure due to ColorLevel in test renderers
2021-08-06 14:30:26 +02:00
Elwardi
906ec30cac
Minor changes to menuFromCommand prompts
2021-08-06 10:53:32 +01:00
Matthew Garelli
46c146a8c1
fixed test failing due to ForceSetColorLevel in pkg/gui/style/style_test.go
2021-08-06 02:18:04 -07:00
Elwardi
a8ec044f0e
Make menuFromCommand format menu items and their description
2021-08-05 15:45:18 +01:00
Ryooooooga
ac609bd37c
fix backward compatibility
2021-08-04 18:43:34 +09:00
Ryooooooga
67cc65930a
fix out of range error
2021-08-03 22:00:28 +09:00
Ryooooooga
4f66093335
introduce edit command template to open a specifig line of a file
2021-08-03 21:42:14 +09:00
Jesse Duffield
d626bcac00
color fixups
2021-08-01 16:14:56 +10:00
Jesse Duffield
123d624141
make import explicit
2021-08-01 13:23:59 +10:00
Jesse Duffield
e798aa4b15
more color tests
2021-08-01 13:21:06 +10:00
Mark Kopenga
04e474aa66
Merge pull request #1401 from jesseduffield/switch-text-color-library
...
Switch to gookit/color for terminal text styling
2021-07-31 20:58:40 +02:00
mjarkk
0662733ad9
add tests for color changes
2021-07-31 20:53:49 +02:00
Mark Kopenga
3c78ba7ed3
Merge pull request #1409 from jesseduffield/jesse-switch-text-color-library
2021-07-31 11:02:16 +02:00
Jesse Duffield
550c0fd4dc
refactor
2021-07-31 17:56:47 +10:00
Jesse Duffield
0bc0e4ac88
more efficient
2021-07-31 17:33:20 +10:00
Jesse Duffield
117c0bd4f7
simplify code a bit
2021-07-31 17:33:13 +10:00
mjarkk
79848087bc
Switch to github.com/gookit/color for terminal colors
2021-07-30 15:14:46 +02:00
mjarkk
a3b820fb5f
add missing universal keybindings to doc
2021-07-29 14:15:26 +02:00
Mark Kopenga
de5133ff90
Merge pull request #1402 from jesseduffield/ci-build-less-binaries
...
PRs CI Build less types of go binaries
2021-07-28 15:45:51 +02:00
mjarkk
1183de151a
revert changes from bfc9881
2021-07-28 15:42:37 +02:00
mjarkk
bfc9881213
added changes that should fail the ci on windows
2021-07-28 15:41:23 +02:00
mjarkk
3db40a79fe
Sperate gh action build step
2021-07-28 15:40:06 +02:00
Jesse Duffield
62393cf28a
more treeish files
2021-07-27 21:52:42 +10:00
Jesse Duffield
ec82f8099c
update keybindings
2021-07-27 21:30:08 +10:00
Jesse Duffield
b81bac3d65
more i18n
2021-07-27 21:30:08 +10:00
Jesse Duffield
58ddbae4d1
Minor refactor
2021-07-27 21:30:08 +10:00
Denis Palashevskii
3802b563b0
Add error message if target branch not found with prompt
2021-07-27 21:30:08 +10:00
Denis Palashevskii
d1134daa53
review fixes: PR URL refactoring, target branch selection prompt
2021-07-27 21:30:08 +10:00
Denis Palashevskii
63cb304a82
Fix translations, make formatter happy
2021-07-27 21:30:08 +10:00
Denis Palashevskii
6e579dc6e4
Update localized Keybinding file
2021-07-27 21:30:08 +10:00
Denis Palashevskii
d5ec0fdcd1
Remove doubled string formatting in pull request URL generation
2021-07-27 21:30:08 +10:00
Denis Palashevskii
0a63f701e5
Apply suggestions from code review
...
Co-authored-by: Mark Kopenga <mkopenga@gmail.com>
2021-07-27 21:30:08 +10:00
Denis Palashevskii
bccf203a18
Fix menu item color
2021-07-27 21:30:08 +10:00
Denis Palashevskii
b590397dce
Update docs
2021-07-27 21:30:08 +10:00
Denis Palashevskii
755cc9f8d8
Add tests
2021-07-27 21:30:08 +10:00
Denis Palashevskii
0e6598adbd
Implement pull request options menu
2021-07-27 21:30:08 +10:00
Denis Palashevskii
f2645da16a
Extract git service URL formatting to a separate method
2021-07-27 21:30:08 +10:00
Francisco Miamoto
f8f596d097
add tests for open file cmd on linux
2021-07-27 20:28:00 +10:00
Francisco Miamoto
028cb2be2f
add extra quoting for shell cmd string on linux
...
This solves an issue where we could not open files with names that contained
spaces and single quotes.
It also solves an issue of variable expansion for files with some kind
of environment variables on the name e.g. '$USER.txt'
2021-07-27 20:28:00 +10:00
Evan Boehs
fb69bfd20d
Update english.go
2021-07-27 14:57:41 +10:00
Mark Kopenga
f4874bbb74
Merge pull request #1396 from mjarkk/fix-1385
...
branches check for split parts length
2021-07-26 11:22:33 +02:00
Mark Kopenga
eec20b845d
Merge pull request #1392 from mjarkk/parcally-fix-1385
...
Change the way file statuses are loaded
2021-07-26 11:22:14 +02:00
mjarkk
3a0a9ec33b
branches check for split parts length
2021-07-26 11:07:42 +02:00
Mark Kopenga
9b57b73f41
Merge pull request #1395 from mjarkk/allow-hex-theme-colors
...
Allow hex theme colors
2021-07-26 10:48:25 +02:00
mjarkk
4fca89bc52
Allow hex theme colors
2021-07-26 10:38:45 +02:00
mjarkk
fc76b44b45
correctly show files with special chars in commit
2021-07-23 12:04:23 +02:00
mjarkk
9a087d04eb
Change the way file statuses are loaded
...
This makes it so file statuses recived from git no longer get joined
before spliting them again.
2021-07-22 22:12:43 +02:00