add pull requests view with PR and patch panels
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
Rust / build (macos-latest, stable) (pull_request) Canceled after 0s
Rust / build (ubuntu-latest, stable) (pull_request) Canceled after 0s
Rust / build (windows-latest, stable) (pull_request) Canceled after 0s

This commit is contained in:
2026-11-12 08:36:55 +07:00
parent 530be762ff
commit d6e948474b
16 changed files with 2547 additions and 39 deletions
+4 -4
View File
@@ -42,7 +42,7 @@ impl ExploreView {
let store = RepoListStore::global(cx);
let directory = ProfileDirectory::new(cx);
let entity = cx.entity();
let weak = cx.entity().downgrade();
let search = InputState::new(cx);
let search_subscription = cx.subscribe(&search, |this, _search, event, cx| {
@@ -56,9 +56,9 @@ impl ExploreView {
});
cx.defer(move |cx| {
entity.update(cx, |this, cx| {
this.rebuild_rows(cx);
});
if let Err(error) = weak.update(cx, |this, cx| this.rebuild_rows(cx)) {
log::warn!("failed to load explore rows: {error}");
}
});
Self {