Skip to content

chore: release#98

Closed
JayanAXHF wants to merge 5 commits intomainfrom
release-plz-2026-03-20T12-42-05Z
Closed

chore: release#98
JayanAXHF wants to merge 5 commits intomainfrom
release-plz-2026-03-20T12-42-05Z

Conversation

@JayanAXHF
Copy link
Owner

🤖 New release

  • ratatui-toaster: 0.1.1 -> 0.1.2 (✓ API compatible changes)
  • gitv-tui: 0.3.4 -> 0.3.5 (✓ API compatible changes)
Changelog

ratatui-toaster

0.1.1 - 2026-02-22

Other

  • (gitv-tui) release v0.3.0

gitv-tui

0.3.5 - 2026-03-20

Features

  • (preview pane) Add a small issue list preview when in issue conversation
  • (style) Revamp the entire UI to have less borders and distractions

Bug Fixes

  • (md) fixed checklist rendering

Other

  • cleanup fix(changelog): streamline changelog config in release-plz.toml
  • Add dependabot.yml
  • bump flake.lock, fix nitpick in drv, add .envrc

Testing

  • test fix(benches): make benches use std::hint::black_box


This PR was generated with release-plz.

JayanAXHF and others added 5 commits March 20, 2026 18:09
1. Removed a lot of unnecessary borders around elements.
2. Added line numbers for the input in issue conversation
3. Added a `BodyPreview` component that shows a preview of the issue
body in the TUI list widget.

test(ui): update tests

chore: fix lints

feat(style): migrate over issue_create

fix(style): remove old style borders for new ones in textarea previews

fix: fix bugs
…ersation

fix: render placeholder in create issue mode for convo preview
test(markdown): add UI tests for fixed list rendering
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Mar 20, 2026

Greptile Summary

This is an automated release PR (gitv-tui 0.3.4 → 0.3.5, ratatui-toaster 0.1.1 → 0.1.2) that packages two meaningful user-facing changes: a fix for doubled bullet/task-marker rendering in Markdown checklists, and a new "Nearby Issues" mini-list panel shown inside the issue conversation view.

Key changes:

  • Checklist fix (issue_conversation.rs): The list_prefix: Option<String> field is replaced by a ListPrefix struct that differentiates between the first-line prefix and continuation indentation. task_list_marker now overwrites the bullet prefix instead of stacking on top of it, eliminating • [ ] todo artefacts.
  • Nearby Issues preview (issue_convo_preview.rs): When the app is in Details mode the sidebar now renders a 5-item window of adjacent issues (via build_details_preview_issue_ids) with Up/Down/Enter navigation and a * marker on the currently open issue.
  • Refactored list rendering (issue_list.rs): build_issue_list_item / build_issue_list_lines extracted as pub(crate) helpers consumed by the new preview panel; show_bookmark flag added to suppress the bookmark column in the compact list.
  • std::hint::black_box (benches/ui_hotspots.rs): Replaces the Criterion re-export with the stable standard-library version.
  • Snapshot tests (tests/markdown_checklists.rs): Three new integration tests verify the checklist rendering fix end-to-end.

Important Files Changed

Filename Overview
src/ui/components/issue_convo_preview.rs Major feature addition: the preview panel now shows a "Nearby Issues" list when in Details mode, with Up/Down/Enter navigation. Contains one unused import (textwrap::wrap) that will produce a compiler warning.
src/ui/components/issue_conversation.rs Bug fix for checklist rendering: replaces list_prefix: Option<String> with a ListPrefix struct that correctly handles first-line vs. continuation indentation and prevents the bullet prefix from doubling with the task marker.
src/ui/components/issue_list.rs Refactored: build_issue_list_item and build_issue_list_lines extracted as public helpers; new build_details_preview_issue_ids computes a centered 5-item window around the selected issue; IssueListPreviewUpdated action is dispatched on issue open.
src/ui/components/issue_create.rs Sends IssueListPreviewUpdated after creating a new issue, but only with a single-item issue_ids list, which limits preview navigation for newly created issues.
src/ui/mod.rs Passes issue_pool to IssueConvoPreview::new(); adds IssueListPreviewUpdated variant to the Action enum.
benches/ui_hotspots.rs Switches from criterion::black_box to the stable std::hint::black_box, which is the recommended approach per the Criterion docs.
tests/markdown_checklists.rs New integration tests covering checklist rendering (unchecked, checked, wrapping continuations) using insta snapshots; good coverage of the bug fix.
CHANGELOG.md Auto-generated release notes for 0.3.5; missing a blank line between the new section and the preceding ## [0.3.4] heading.

Sequence Diagram

sequenceDiagram
    participant User
    participant IssueList
    participant IssueConvoPreview
    participant IssueConversation

    User->>IssueList: Press Enter on issue
    IssueList->>IssueList: build_details_preview_issue_ids(selected_number)
    IssueList-->>IssueConvoPreview: Action::SelectedIssue { number, labels }
    IssueList-->>IssueConvoPreview: Action::SelectedIssuePreview { seed }
    IssueList-->>IssueConvoPreview: Action::IssueListPreviewUpdated { issue_ids, selected_number }
    IssueList-->>IssueConversation: Action::EnterIssueDetails { seed }

    IssueConvoPreview->>IssueConvoPreview: screen = Details → render_issue_list_preview()

    User->>IssueConvoPreview: Press Up/Down
    IssueConvoPreview->>IssueConvoPreview: list_state.select_previous/next()
    IssueConvoPreview->>IssueConvoPreview: selected_number updated

    User->>IssueConvoPreview: Press Enter
    IssueConvoPreview-->>IssueConvoPreview: Action::SelectedIssue { number }
    IssueConvoPreview-->>IssueConvoPreview: Action::IssueListPreviewUpdated { issue_ids }
    IssueConvoPreview-->>IssueConversation: Action::EnterIssueDetails { seed }
Loading

Comments Outside Diff (1)

  1. src/ui/components/issue_create.rs, line 692-697 (link)

    P2 Single-item preview list for new issues

    When a new issue is created, IssueListPreviewUpdated is sent with issue_ids: vec![issue_id] — a list of exactly one entry. This means the "Nearby Issues" panel in IssueConvoPreview will only ever show the newly-created issue rather than a window centred around it (as build_details_preview_issue_ids does in IssueList). If users can navigate nearby issues from the preview pane, they'll immediately hit the end of the list.

    Consider using build_details_preview_issue_ids here too (requires a reference to the current issue list), or at minimum documenting the intentional limitation.

Last reviewed commit: "chore: release"

},
};
use std::sync::{Arc, RwLock};
use textwrap::wrap;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Unused import wrap

textwrap::wrap is imported here but never called anywhere in this file. This will produce a dead_code / unused import compiler warning. Consider removing it.

Suggested change
use textwrap::wrap;

Comment on lines +29 to 30
- test fix(benches): make benches use `std::hint::black_box`
## [0.3.4] - 2026-03-08
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Missing blank line between changelog sections

There is no blank line separating the last entry of the 0.3.5 section from the ## [0.3.4] heading. Some Markdown parsers will fail to recognise the heading and render it as plain text instead. This is likely a quirk in the release-plz template, but worth a one-line fix.

Suggested change
- test fix(benches): make benches use `std::hint::black_box`
## [0.3.4] - 2026-03-08
- test fix(benches): make benches use `std::hint::black_box`
## [0.3.4] - 2026-03-08

@JayanAXHF JayanAXHF deleted the release-plz-2026-03-20T12-42-05Z branch March 20, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant