- Implemented `LessonExport` and `LessonImport` actions in the action module. - Added corresponding command parsing for lesson export and import. - Created functions to handle lesson export and import in the memory module. - Updated state management to reflect changes after lesson operations. - Introduced deferred operations for handling asynchronous tasks in the event loop. - Enhanced the tool execution context to include graduated checks for file operations. - Added OAuth support with PKCE for secure authorization flows. - Implemented a loopback server for handling OAuth redirects. - Refactored various modules to improve code organization and maintainability.
13 lines
322 B
Rust
13 lines
322 B
Rust
use crate::app::state::rest::AppStateRest;
|
|
use crate::app::state::types::Overlay;
|
|
|
|
pub fn complete_onboarding(state: &mut AppStateRest) {
|
|
state.misc.overlay = Overlay::None;
|
|
state.dirty = true;
|
|
}
|
|
|
|
pub fn skip_onboarding(state: &mut AppStateRest) {
|
|
state.misc.overlay = Overlay::None;
|
|
state.dirty = true;
|
|
}
|