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 +21 -0
- package/README.md +14 -5
- package/dist/assets/{DiffView-BNnSrWMx.js → DiffView-BKo75iUG.js} +1 -1
- package/dist/assets/{TerminalPanel-54--lgXp.js → TerminalPanel-uV6s4v6R.js} +1 -1
- package/dist/assets/index-DPM0na5E.css +1 -0
- package/dist/assets/index-o0rujUbV.js +249 -0
- package/dist/index.html +2 -2
- package/dist-server/config.js +8 -2
- package/dist-server/index.js +6 -4
- package/package.json +1 -1
- package/dist/assets/index-CjT1mano.css +0 -1
- package/dist/assets/index-WjpXTtcO.js +0 -249
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
|

|
|
10
10
|
|
|
11
|
-
##
|
|
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
|
-
|
|
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
|
-
|
|
30
|
+
Either way the server starts on port 3411 — set `PORT` to change that — and opens your browser at it.
|
|
22
31
|
|
|
23
|
-
`
|
|
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
|
|