add new tab item action group, delegate history handle to action implementation

This commit is contained in:
yggverse 2025-01-25 17:28:05 +02:00
parent 5145a53bfa
commit 913030a955
29 changed files with 409 additions and 232 deletions

View file

@ -105,7 +105,7 @@ impl Client {
// begin redirection to new address suggested
Err(uri) => subject
.page
.tab_action
.item_action
.load
.activate(Some(&uri.to_string()), false),
}
@ -215,10 +215,5 @@ fn snap_history(subject: &Rc<Subject>, uri: Option<&Uri>) {
}
// Add new record into the page navigation history
if match subject.page.navigation.history.current() {
Some(current) => current != request, // apply additional filters
None => true,
} {
subject.page.navigation.history.add(request, true)
}
subject.page.item_action.history.add(request, true)
}