Skip to content

Gespan 0.3.5

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 10:35
· 37 commits to main since this release
37d67fa

Changed

  • Git is now called Pull requests: the rail, the page, its tab, Home's
    tile, the app menu and Settings say Pull requests.
  • Review comments on a range of lines, inline as on GitHub: in a pull
    request's Files, the "+" beside a line opens the comment box under it
    instead of a popover. Drag from the "+" across lines, or shift-click
    another line's "+", to comment on a range. Saved comments stay under their
    lines as pending cards with Edit and Delete until the review is sent, and
    ranges reach GitHub, GitLab and Azure DevOps.
  • Review threads in Files read and reply like GitHub: a thread under
    its line shows avatars and rendered Markdown, folds a <details> block
    to its summary and clamps a long comment with Show more. Reply opens the
    same box as a review comment, Tone and Polish included, inside the
    thread, and posts at once instead of with your review; Resolve sits on
    the thread. Resolved threads start folded to one line, any thread folds
    by hand, an outdated one sits at the top of its file saying where it
    was, and several threads on a line say which is which. Lines with
    threads light their number, and each file counts its open threads.
    GitLab and Azure DevOps threads now show in Files too.
  • Reply right under the comment: every comment on a pull request's
    Overview has Reply. The box opens under that comment with Tone and
    Polish, not in the composer at the bottom. Review threads, GitLab
    discussions and Azure DevOps threads take the reply in the thread; a
    GitHub general comment gets a quote reply, a new comment that quotes it
    and mentions its author. Several boxes can be open at once. A reply shows
    under its thread while it sends, and keeps Retry and Edit there if it
    fails. Threads can be resolved and reopened on GitHub, GitLab and Azure
    DevOps; resolved threads fold to one line, long threads fold their
    earlier replies, and runs of bot comments fold together.
  • Polish works quietly in the background: a review comment's rewrite
    no longer opens the Ask panel or adds a turn to the pull request's Ask
    chat. It's a one-off request with no tools and no session; the rewrite
    just appears in the comment box. Use and Keep mine leave the cursor in
    the comment, so ⌘↩ saves it straight away, and a comment box in a narrow
    diff puts its buttons on a second row instead of past its edge.
  • Tone and Polish on every review comment: each comment box in Files has
    its own Direct / Friendly / Suggestion tone and Polish, and the rewrite
    shows in that box to Use, Try again or Keep mine.
  • Submit review, as on GitHub: the bar under Files is a slim line with
    what's drafted and Submit review. Its panel takes an optional summary
    (with tone and Polish) and the verdict: Comment, Approve or Request
    changes.
  • Existing review comments show on their lines: the pull request's own
    review threads appear in Files under the lines they're on, with their
    replies, and a refresh button syncs the diff and comments with GitHub.

Fixed

  • Linked GitHub activity no longer uses up the GitHub rate limit: when
    one issue or pull request linked to a session had been deleted, moved or
    made private, the check for new activity threw away the whole answer and
    asked GitHub about every linked item one by one, every minute, from every
    running Gespan. That spent the hour's 5,000 requests in under half an
    hour. It now keeps the items GitHub found, never asks item by item, skips
    feeds that are gone until their item changes, and after a timeout or rate
    limit waits 2, 4, 8 and then 15 minutes before asking again.
  • Pull requests no longer time out on large repositories or burn the
    GitHub rate limit:
    the list asks GitHub once per repository for review
    fields and check counts instead of every check of every pull request,
    which made GitHub answer 504 on repositories like n8n. It fetches open
    pull requests only, skips repositories GitHub says haven't changed (a free
    conditional request), and backs off for 1 to 15 minutes after a timeout or
    rate limit, keeping the last list on screen. Remote projects ask the same
    way.
  • The view tabs no longer truncate to "Ne… 0": the list opens at 420px,
    never narrower than 400px, and below 440px Filters shrinks to its icon.

Full details are in the CHANGELOG.