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 -2
View File
@@ -65,7 +65,6 @@ impl RepoFilter {
}
pub(super) fn render_card(
ix: usize,
announcement: &Announcement,
last_activity: Option<Timestamp>,
announcements: &[Announcement],
@@ -98,7 +97,7 @@ pub(super) fn render_card(
});
v_flex()
.id(ix)
.id(SharedString::from(format!("repo-card:{}", announcement.id)))
.flex_1()
.h_full()
.min_w_0()
@@ -113,6 +112,7 @@ pub(super) fn render_card(
.gap_2()
.child(
div()
.flex_1()
.min_w_0()
.text_sm()
.font_semibold()
-1
View File
@@ -294,7 +294,6 @@ impl Render for ExploreView {
};
let activity = last_activity.get(&announcement.addr()).copied();
cards.push(render_card(
ix,
announcement,
activity,
&announcements,