prreviewbuddy 0.36.3 → 0.36.4
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 +7 -0
- package/package.json +1 -1
- package/static/shell.css +26 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.36.4
|
|
4
|
+
|
|
5
|
+
The search box and filters on the reviews list now sit over the list itself, sharing its column,
|
|
6
|
+
rather than pressed against the right edge of the window. The bar they live in spans the whole
|
|
7
|
+
window while the reviews below it are a centred column, so the controls used to begin past the
|
|
8
|
+
middle of the page with the cards they filter starting far to their left.
|
|
9
|
+
|
|
3
10
|
## 0.36.3
|
|
4
11
|
|
|
5
12
|
**The reviews list is one click away from anywhere.** The strip at the top of every workspace page
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prreviewbuddy",
|
|
3
|
-
"version": "0.36.
|
|
3
|
+
"version": "0.36.4",
|
|
4
4
|
"description": "Review a branch or pull request in an isolated checkout, from your terminal, with the coding agent you already have installed.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://prreviewbuddy.com",
|
package/static/shell.css
CHANGED
|
@@ -465,7 +465,27 @@ body[data-restarting] .prb-body { opacity: 0.55; pointer-events: none; }
|
|
|
465
465
|
the content below them belong to that column, not to this bar. */
|
|
466
466
|
.prb-context .prb-index-controls,
|
|
467
467
|
.prb-context .prb-settings-back { margin-bottom: 0; }
|
|
468
|
-
|
|
468
|
+
/* The reviews toolbar shares the list's column rather than the window's right edge.
|
|
469
|
+
The bar is full-bleed and the list is a 960px column centred in the space beside the rail, so
|
|
470
|
+
right-aligning the controls put them over nothing they govern: the search began past the middle
|
|
471
|
+
of the page while the cards below started far to its left. Centring them in the space the title
|
|
472
|
+
leaves is not the same thing either -- the title eats the left side, the rail shifts the column
|
|
473
|
+
right, and the group lands short of the list by half the rail.
|
|
474
|
+
So the title is given the rail's own width and the group the column's, from the same two numbers
|
|
475
|
+
the layout below already uses. The search absorbs the slack, so the group's left edge is the
|
|
476
|
+
card's left edge at every width wide enough to have a rail. */
|
|
477
|
+
/* Scoped with :has() and not by a body class: all three workspace pages share `prb-index-body`,
|
|
478
|
+
and only this bar holds the list's controls. */
|
|
479
|
+
.prb-context:has(.prb-index-controls) { padding-left: 0; padding-right: 0; column-gap: 0; }
|
|
480
|
+
.prb-context:has(.prb-index-controls) .prb-page-title { flex: none; box-sizing: border-box; width: var(--rail-width); padding-left: 20px; }
|
|
481
|
+
.prb-context .prb-index-controls {
|
|
482
|
+
flex: 1 1 320px;
|
|
483
|
+
box-sizing: border-box;
|
|
484
|
+
max-width: 960px;
|
|
485
|
+
margin: 0 auto;
|
|
486
|
+
padding: 0 24px;
|
|
487
|
+
justify-content: flex-end;
|
|
488
|
+
}
|
|
469
489
|
.prb-context .prb-index-search { flex: 1 1 200px; max-width: 420px; padding: 6px 10px; font-size: var(--t-meta); }
|
|
470
490
|
.prb-context-controls {
|
|
471
491
|
display: flex;
|
|
@@ -2472,6 +2492,11 @@ a.prb-rail-item { text-decoration: none; }
|
|
|
2472
2492
|
width: min(var(--ask-width), 100%);
|
|
2473
2493
|
}
|
|
2474
2494
|
.pr-helper-sidebar.prb-pane { padding: 20px 18px 48px; }
|
|
2495
|
+
/* No rail here, so there is no column beside it for the toolbar to share: the bar goes back to a
|
|
2496
|
+
title and a row of controls, each taking the width it needs. */
|
|
2497
|
+
.prb-context:has(.prb-index-controls) { padding-left: 20px; padding-right: 20px; column-gap: 16px; }
|
|
2498
|
+
.prb-context:has(.prb-index-controls) .prb-page-title { width: auto; padding-left: 0; }
|
|
2499
|
+
.prb-context .prb-index-controls { max-width: none; padding: 0; }
|
|
2475
2500
|
}
|
|
2476
2501
|
|
|
2477
2502
|
@media (prefers-reduced-motion: reduce) {
|