Track archived tab state transitions

This commit is contained in:
2026-05-07 20:09:42 -04:00
parent 8fff64606d
commit 42d33ac06c
3 changed files with 21 additions and 4 deletions
+8
View File
@@ -85,6 +85,14 @@ impl BrowserTab {
&self.state
}
pub fn mark_archived(&mut self) {
self.state = TabState::Archived;
}
pub fn mark_ready(&mut self) {
self.state = TabState::Ready;
}
#[must_use]
pub fn flags(&self) -> &TabFlags {
&self.flags