1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2026-06-20 01:19:23 +02:00
Commit Graph

4657 Commits

Author SHA1 Message Date
Stefan Haller 2ded352f3a Don't run the check-required-label check on master (#2896) 2023-08-07 08:45:48 +02:00
Stefan Haller c877a8528f Don't run the check-required-label check on master
master doesn't have a label, so CI for master currently always fails.
2023-08-07 08:41:13 +02:00
Stefan Haller d1754a9490 update worktree icons for NerdFont V3 (#2895) 2023-08-07 08:16:42 +02:00
README-bot 33a96a3dd7 Updated README.md 2023-08-07 06:14:41 +00:00
Stefan Haller cd889adfa0 Import stefanhaller's tcell fork for real rather than just replacing it (#2888) 2023-08-07 08:14:28 +02:00
Saafo 77447ea6c3 👽️ update worktree icons for NerdFont V3 2023-08-07 05:47:57 +00:00
EmilySeville7cfg fb05ee369f feat(doc): mention JSON schema 2023-08-07 03:38:30 +10:00
Stefan Haller 7ccb871a45 Bump gocui
... and import stefanhaller's tcell fork for real rather than just replacing it

This solves the problem that people trying to
"go install github.com/jesseduffield/lazygit@latest" would get the error

go: github.com/jesseduffield/lazygit@latest (in github.com/jesseduffield/lazygit@v0.40.0):
  The go.mod file for the module providing named packages contains one or
  more replace directives. It must not contain directives that would cause
  it to be interpreted differently than if it were the main module.
2023-08-06 12:03:23 +02:00
README-bot 9cc18bd7e6 Updated README.md 2023-08-06 06:29:45 +00:00
Stefan Haller 8e2ecd17a9 Fix README.md typo backkground -> background (#2884) 2023-08-06 08:29:32 +02:00
Mattias Johnson 78676dcff6 Fix README.md typo backkground -> background 2023-08-05 20:09:53 +02:00
README-bot 7847203d6e Updated README.md v0.40.0 2023-08-05 06:14:48 +00:00
Jesse Duffield af3101c7f2 Fix confirmation view sizing (#2879) 2023-08-05 16:14:34 +10:00
Jesse Duffield ec7e9f9228 Fix confirmation view sizing
The proper fix is to actually have these two functions share code,
or for views to be able to manage their own heights based on their contents.

But I want to get this out for the sake of a Lazygit Anniversary release.
2023-08-05 16:09:02 +10:00
Jesse Duffield ab5875c78f Add more demos (#2874) 2023-08-04 09:18:25 +10:00
Jesse Duffield f6af4c29d4 Add custom patch demo 2023-08-04 09:15:07 +10:00
Jesse Duffield 996ad5bf26 Add worktree demo 2023-08-04 09:14:58 +10:00
Jesse Duffield 096628e366 Add custom command demo 2023-08-04 08:38:15 +10:00
Jesse Duffield b432fb5efe Add undo/redo demo 2023-08-03 21:02:12 +10:00
Jesse Duffield c390c9d58e Add filter demo to README 2023-08-03 18:22:30 +10:00
Jesse Duffield e25403c650 Move features to top of readme (#2867) 2023-08-03 17:25:48 +10:00
Jesse Duffield 5c9a9e777c Move features to top of readme 2023-08-03 17:23:47 +10:00
Jesse Duffield 39d24fdeb7 Add more demos to the README (#2866) 2023-08-03 17:02:40 +10:00
Jesse Duffield bbb2b32816 Point to new demos 2023-08-03 16:58:11 +10:00
Jesse Duffield 0152639ef0 Add demo for staging lines 2023-08-02 22:32:57 +10:00
Jesse Duffield c43195efb6 Add demo for amending old commit 2023-08-02 22:32:51 +10:00
Jesse Duffield 17db918cba Add demo for filtering branches 2023-08-02 22:32:51 +10:00
Jesse Duffield befd7fe63e Support mp4 videos for demos
For all videos but the first video in the readme we want to use mp4 because it's faster, better quality,
smaller, and allows you to play/pause (don't quote me on the smaller part).

HOWEVER: github won't let us reference mp4s stored in our repo from the readme, like it does for gifs
(who knows why). This is annoying because it prevents us from easily re-recording things if the UI
changes. So I've got the logic for recording to mp4 but I'm thinking of sticking to gifs for now
2023-08-02 22:21:25 +10:00
Jesse Duffield de28391052 Remove file watcher code (#2865) 2023-08-02 22:20:39 +10:00
Jesse Duffield 92f0aa23cc Remove file watcher code
Now that we refresh upon focus, we can scrap this file watching code.
Stefan says few git UIs use file watching, and I understand why: the
reason this code was problematic in the first place is that watching
files is expensive and if you have too many open file handles that
can cause problems.

Importantly: this code that's being removed was _already_ dead.
2023-08-02 21:50:44 +10:00
Jesse Duffield c8520fbe78 Auto-refresh on window activation (#2854) 2023-08-02 20:42:47 +10:00
Stefan Haller 8ce60662f2 Refresh when the terminal window gets the focus 2023-08-02 11:35:36 +02:00
Stefan Haller c5acbb6c7c Bump gocui 2023-08-02 11:35:36 +02:00
Stefan Haller 4aca854b59 Point tcell at stefanhaller's fork
This is temporary as long as https://github.com/gdamore/tcell/pull/599 is not
merged. Once that PR is merged, we can revert this.
2023-08-02 11:35:36 +02:00
Jesse Duffield f7bf125037 Stop worktrees view from stealing the window (#2863) 2023-08-02 09:24:51 +10:00
Jesse Duffield c92ed07082 Appease linter 2023-08-02 08:32:57 +10:00
Jesse Duffield df0c3b3ea8 Increase timeout for linter
we've had a timeout issue in CI
2023-08-02 08:32:57 +10:00
Jesse Duffield 280b0429c3 Fix focus issue
When opening lazygit with `lazygit log` the worktrees view was appearing in front of the files view.
This is because it had higher precedence than the files view in the ordered view mapping, and
that was because it originally was in the branches window so it was further down the list.

The reason this didn't cause issues on typical startup is that the files context is activated at the
start so it is brought to the front.
2023-08-02 07:37:40 +10:00
Jesse Duffield cb22db675a Update README.md 2023-08-02 00:05:04 +10:00
Jesse Duffield bb21034972 Update README.md 2023-08-01 22:37:53 +10:00
Jesse Duffield ec5bc93576 Show visual explosion effect when nuking worktree (#2861) 2023-08-01 22:31:29 +10:00
Jesse Duffield f43fd7af79 Wait in demo after setting caption
This looks nicer than waiting a second and then showing the caption as the action begins
2023-08-01 22:19:04 +10:00
Jesse Duffield a200fccba9 Add explosion animation when nuking working tree
I've been thinking about this for a while: I think it looks really cool if nuking your working tree
actually results in a nuke animation.

So I've added an opt-out config for it
2023-08-01 22:16:04 +10:00
Jesse Duffield 37dc31b815 Output correct path in demo record script 2023-08-01 22:10:59 +10:00
Jesse Duffield 1712ad08ae Start in fullscreen when passing a git arg
Often we just want to see the desired view in fullscreen so I'm making that the default
2023-08-01 22:10:59 +10:00
README-bot 53f0c1eb4f Updated README.md 2023-08-01 12:03:12 +00:00
Jesse Duffield c53adbbb84 Update README.md 2023-08-01 22:02:56 +10:00
Jesse Duffield e932aaaeaf Internationalise logging of commands (#2852) 2023-08-01 10:06:48 +10:00
Jesse Duffield b44d0c4bde Show loader when rebasing (#2851) 2023-08-01 09:58:11 +10:00
Karl Heitmann 917cfd7586 Adds EditRebaseFromBaseCommit log message to i18n 2023-07-31 19:57:14 -04:00