feat: remove session hub and related commands from the application

This commit is contained in:
asepharyana
2026-07-11 22:40:45 +07:00
parent 1f182021fb
commit 93d1bbb7c1
11 changed files with 44 additions and 140 deletions
-6
View File
@@ -10,9 +10,6 @@ pub fn apply_command(command: Command) -> Vec<Action> {
Command::Quit => {
vec![Action::QuitConfirm]
}
Command::Resume => {
vec![Action::SaveSession, Action::ResumeSession, Action::CloseOverlay]
}
Command::LessonCreate(text) => {
vec![Action::SystemNote {
kind: "lesson".to_string(),
@@ -43,9 +40,6 @@ pub fn apply_command(command: Command) -> Vec<Action> {
message: "transcript cleared".to_string(),
}]
}
Command::Save => {
vec![Action::SaveSession]
}
Command::Login { provider } => {
vec![Action::SystemNote {
kind: "oauth".to_string(),