megit-app 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -9,6 +9,27 @@ surface, and the HTTP API may change in any minor release.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [0.4.1] - 2026-08-05
13
+
14
+ ### Fixed
15
+
16
+ - <kbd>Esc</kbd> closes the add-repo dialog. The dialog had no keyboard dismissal at all, so the only way out was the ✕ or a click on the backdrop.
17
+
18
+ ## [0.4.0] - 2026-08-05
19
+
20
+ ### Added
21
+
22
+ - The add-repo dialog lists up to 10 recent repositories. Ones already open are marked and
23
+ clicking them switches to that tab; closing a tab keeps the repo in the list.
24
+
25
+ ### Changed
26
+
27
+ - "Discard all" in the commit panel now discards only unstaged changes: tracked files go back to their staged content and untracked files are deleted, while anything staged survives. It previously reset both sides to HEAD, so staging a hunk you wanted to keep and discarding the rest threw away the part you had just protected. The button counts unstaged entries and does nothing when there are none.
28
+
29
+ ### Fixed
30
+
31
+ - The search bar (<kbd>⌘F</kbd>) no longer slides sideways when the commit panel opens or closes. It was centred on `.graph-pane`, which shrinks with the panel, so a 50% anchor moved on every selection change; it is now pinned to the start of the subject column, which only moves when a splitter is dragged.
32
+
12
33
  ## [0.3.0] - 2026-08-01
13
34
 
14
35
  ### Added
package/README.md CHANGED
@@ -8,19 +8,28 @@ Nothing leaves your machine: the server binds `127.0.0.1`, shells out to your ow
8
8
 
9
9
  ![megit — commit graph with branch lanes, stash rows and the sticky WIP row](docs/graph-dark.png)
10
10
 
11
- ## Install
11
+ ## Getting started
12
12
 
13
- Requires Node ≥ 22.
13
+ Requires Node ≥ 22. The package is 1.7 MB, with `express` and `ws` as its only runtime dependencies.
14
+
15
+ **Run it once, without installing:**
14
16
 
15
17
  ```bash
16
18
  npx megit-app
17
19
  ```
18
20
 
19
- The package is `megit-app` `npx megit` is an unrelated package by someone else, so keep the `-app`.
21
+ **Or install it, and run `megit` from anywhere:**
22
+
23
+ ```bash
24
+ npm i -g megit-app
25
+ megit
26
+ ```
27
+
28
+ Upgrade later with `npm i -g megit-app@latest`.
20
29
 
21
- Installed globally (`npm i -g megit-app`), the command is just `megit`.
30
+ Either way the server starts on port 3411 — set `PORT` to change that and opens your browser at it.
22
31
 
23
- `PORT` picks the port (default 3411). The server opens your browser at it.
32
+ <sub>The package is `megit-app`; `megit` on npm is unrelated, so keep the `-app`. The installed command is still `megit`.</sub>
24
33
 
25
34
  ## Features
26
35