chore: stabilize element ids and overlay focus tracking
Rust / build (macos-latest, stable) (push) Canceled after 0s
Rust / build (ubuntu-latest, stable) (push) Canceled after 0s
Rust / build (windows-latest, stable) (push) Canceled after 0s

This commit is contained in:
2026-11-24 19:41:45 +07:00
parent 4979eff1f1
commit 0fd8ea12fb
24 changed files with 638 additions and 404 deletions
+2 -3
View File
@@ -295,8 +295,7 @@ impl Render for PullRequestsView {
let rows = visible
.iter()
.enumerate()
.filter_map(|(ix, &pr_ix)| {
.filter_map(|&pr_ix| {
// The store re-read per frame can shrink below a captured index.
let pr = store.read(cx).pull_requests.get(pr_ix)?;
let profile = directory.read(cx).profile(&pr.pubkey, cx);
@@ -332,7 +331,7 @@ impl Render for PullRequestsView {
};
Some(EventRow {
id: ix.into(),
id: SharedString::from(format!("pr:{id_hex}")).into(),
status,
title: pr.activity_subject().into(),
author: profile.name(),