You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Cursor] Expand collapsed hunk context a few lines at a time #21
Pierre paints a dead bar between hunks ("138 unmodified lines", "3 unmodified lines"). There is no way to peek at the surrounding code without opening the full file.
Bitbucket-style is the target: arrows on the bar, each click reveals a few more context lines, not the whole gap. A 3-line gap should be one click. A 138-line gap should stay collapsed except for the edges you asked for.
The point is context around the change. Jumping to the full file is the wrong tool for "what is the next three lines."
Diffs go through @pierre/diffs in PierreDiff.tsx. Check whether Pierre already exposes this. If it does not, wrap or replace the collapsed regions. Do not expand everything by default. The collapsed bar stays; it just has to be useful.
Collapsed gaps now peel a few lines per click. The header has Edges | Fold | Bar. Pick one and I will drop the other two plus the switcher.
Edges (default). Full-width bar, arrows on the bar, Bitbucket-style. One click on src/app.ts went 88 → 68 unmodified lines. midA–midJ and pad68–pad79 showed up; the middle pad block stayed closed.
Fold. Rounded chip in the gutter, stacked chevrons, expand all on the right of the chip.
Bar. Dashed cut through the file. The count is a pill. Arrows show on hover.
Each click reveals 10 lines. A 3-line gap (see src/helpers.ts) is one click. I would keep Edges unless you want the quieter Bar.
Activity
matemolnar8 commentedon Aug 23, 2026
@cursor implement this, give me 3 alternative designs to choose from
cursor commentedon Aug 23, 2026
Collapsed gaps now peel a few lines per click. The header has Edges | Fold | Bar. Pick one and I will drop the other two plus the switcher.
Edges (default). Full-width bar, arrows on the bar, Bitbucket-style. One click on
src/app.tswent 88 → 68 unmodified lines.midA–midJandpad68–pad79showed up; the middle pad block stayed closed.Fold. Rounded chip in the gutter, stacked chevrons,
expand allon the right of the chip.Bar. Dashed cut through the file. The count is a pill. Arrows show on hover.
Each click reveals 10 lines. A 3-line gap (see
src/helpers.ts) is one click. I would keep Edges unless you want the quieter Bar.matemolnar8 commentedon Aug 23, 2026
closed in #27