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
@@ -182,8 +182,7 @@ impl Render for IssuesView {
let rows = visible_issues
.iter()
.enumerate()
.filter_map(|(ix, &issue_ix)| {
.filter_map(|&issue_ix| {
// The store re-read per frame can shrink below a captured index.
let issue = store.read(cx).issues.get(issue_ix)?;
let profile = directory.read(cx).profile(&issue.pubkey, cx);
@@ -210,7 +209,7 @@ impl Render for IssuesView {
};
Some(EventRow {
id: ix.into(),
id: SharedString::from(format!("issue:{id_hex}")).into(),
status,
title: issue.activity_subject().into(),
author: profile.name(),