Skip to content

v0.10.0

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Dec 01:44
8bde09c

What's Changed

Added

  • Dashboard tab (preview) — An opt-in tab ([dashboard] enabled = true in config.toml, plus "dashboard" in [layout] tabs when that list is set) shows what needs attention, built from the lists the other tabs fetch. The MR/PR card counts queues (open, waiting for review, returned with changes requested, ready to merge, blocked by a conflict or rebase, idle 7+ days by default, drafts, the review ones counting only MRs/PRs whose review state loaded and left out in a GitHub organization) and the Issues card counts open, overdue, due-soon, idle 14+ days by default and unassigned issues (overdue and due soon on GitLab only). Both start on your own work (or the person set under [dashboard]), your login coming from the MR/PR list's review state, and switch to everyone or to any contributor. A Contributors card lists everyone taking part in open issues and MRs/PRs or in the repository's activity feed, by login, with their open MRs/PRs, pending reviews, assigned and overdue issues. w (keybindings.dashboard.cycle_window) switches it to each person's pushes, comments, review thread comments and reviews in the last 24 hours, 7 days or 30 days, > / < sort people by a column and = reverses. Enter steps down one level at a time and Esc back up: from the tab into the cards, which h/j/k/l move between, from a card into its queues or people (picked with j/k), and from those into the list below the cards, which always shows what the selection holds. A contributor's list mixes their issues and MRs/PRs in any state with their pushes, comments, review thread comments and reviews, read from the last 30 days of the repository's activity feed (GitLab project events, up to 10 pages; GitHub repository events, up to the 300 GitHub serves; repository scope only), with the card's bottom border noting where the feed ends when it does not reach back over the window, or where a failed page stopped the read, keeping the pages read before it. Enter on a listed item opens the issue or MR/PR (for a comment or review, the one it was made on) in its tab with the preview open. Enter on a contributor makes them the person shown. Pipeline health, upcoming milestones and the latest release sit alongside, and their cards list recent runs (status, triggering commit and author, duration), open milestones (issue progress, due date) and releases (tag, notes, author), each opening in its tab. The idle thresholds are mr_idle_days and issue_idle_days under [dashboard]. Refreshing the Dashboard refreshes every list it shows (in group scope, only those the backend can list), and a card whose list failed to load says why instead of counting zero. A card whose counts may be short says so on its bottom border: (newest N only) when its list is as long as one fetch returns, (State filter hides open) when a GitHub State filter listed only merged or closed rows. Once enabled it is the first tab, Issues stays the one glab-tui opens on, and active_tab = "dashboard" opens on it (#689) — thanks @Luckystrike561.
  • Top navigation position — Added support for positioning the navigation bar at the top of the screen alongside the existing sidebar option (#681) — thanks @zenibako.
  • Reviewed marks reset on change and GitHub Viewed sync — Reviewed-file marks now track diff fingerprints so modified files reset to unreviewed, and sync with GitHub pull request "Viewed" checkboxes (#537, #549) — thanks @Luckystrike561.

Fixed

  • Persist Configure View scroll state — Preserved the Configure View's scroll offset across frames instead of resetting it on each render (#872) — thanks @rcieri.
  • List GitHub PRs when review state fails — GitHub pull requests now still appear in the list even if fetching their review state fails (#842) — thanks @seflue.
  • Close job log on mouse selection — Clicking to select another job in the Jobs tab now closes the currently open job log (#836) — thanks @seflue.
  • Sanitize untrusted text before truncation — Untrusted text is now sanitized before being truncated so control sequences or partial characters cannot leak into the UI (#834) — thanks @seflue.
  • Preserve quotes in editor file paths on Windows — Fixed external editor invocation on Windows by preserving quotes around file paths via cmd /S /C (#791) — thanks @rcieri.
  • Open GitLab pipelines in browser by URL — Opening a GitLab pipeline in the browser now uses its reported web_url directly (#793) — thanks @seflue.

Changed

  • Backend and fetch architecture — Split the Backend trait into area-specific sub-traits and routed CLI calls through them (#812), shared common helpers between the GitLab and GitHub backends (#849), centralized per-tab fetch state in TabFetches (#846), and versioned ProjectCache with off-event-loop writes (#811) — thanks @Luckystrike561, @seflue.
  • UI and overlay refactors — Collapsed scattered overlay Option fields into a modal_stack (#591, #700), extracted pure LayoutPlan calculation from ui::render (#682, #702), migrated existing overlays onto the shared Form framework (#593, #810), and moved the Jobs tab onto ListTab (#835) — thanks @rcieri, @Luckystrike561, @seflue.
  • E2E API and schema verification — Added E2E checks validating REST API calls, request bodies, and mock replies against pinned specs (#785, #788, #789), as well as GraphQL queries and mock replies against schemas (#787, #802) — thanks @seflue.
  • Documentation — Added a Dashboard tab demo GIF (#873), moved CLI command tables to docs/ (#848), moved module-level knowledge into module doc comments (#833), and capped AGENTS.md size while moving release docs out (#826, #832) — thanks @rcieri, @seflue.
  • CI and build — Removed the redundant homepage field from Cargo.toml (#875), separated the dev toolchain from the MSRV in CI (#799), installed audit tools with stable Rust (#796), and fixed cargo-deny advisories checks (#804, #809) — thanks @rcieri, @seflue, @zyl71.

Dependencies

Contributors

Full Changelog: v0.9.5...v0.10.0