fix: register graphql_bearer_auth_request + schema version + debounced auto-save#70
Merged
Merged
Conversation
…bounced auto-save - Register graphql_bearer_auth_request in main.rs invoke_handler (was defined but unreachable from frontend) - Initialize solo-schema-version=1 baseline on first load for future migrations - Filter solo-schema-version out of folder scans alongside solo-variables-/solo-environments - Debounce FileContext auto-save to 400ms with flush on unmount and beforeunload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
graphql_bearer_auth_requestinmain.rsinvoke_handler — command existed inhttp/mod.rs:106and was invoked fromRequestContext.tsx:197, but missing from the handler list, breaking any GraphQL request with Bearer auth at runtime.solo-schema-version=1baseline in localStorage on first load, and exclude it from folder scans alongsidesolo-variables-*/solo-environments. Foundation for future storage migrations (Epic 2).FileContextauto-save to 400ms viauseRef+setTimeout, with flush on unmount andbeforeunload. Removes per-keystroke localStorage writes; prerequisite for Epic 2.Test plan
cargo checkinsrc-tauri/passesbun run test— no new failures vs main (24 pre-existing styling-test failures unrelated to storage logic)localStorage.getItem('solo-schema-version') === "1"after first run