Track history source tabs

This commit is contained in:
2026-05-08 04:57:09 -04:00
parent 38672912c7
commit 5215c924ca
3 changed files with 30 additions and 6 deletions
+2 -1
View File
@@ -44,13 +44,14 @@ impl BrowserCore {
&& entry.space_id() == tab.space_id()
&& entry.url() == tab.url()
}) {
entry.record_visit(tab.title(), visited_at);
entry.record_visit(tab.id().clone(), tab.title(), visited_at);
return;
}
self.history_entries.push(HistoryEntry::new(
tab.profile_id().clone(),
tab.space_id().clone(),
tab.id().clone(),
tab.title(),
tab.url().clone(),
visited_at,