Skip to content

Comments

Make DefaultQuestionForm submit button optionally depend on configurable notebook readiness check#1602

Merged
bobular merged 2 commits intomainfrom
de-disable-get-answer-until-ready
Feb 15, 2026
Merged

Make DefaultQuestionForm submit button optionally depend on configurable notebook readiness check#1602
bobular merged 2 commits intomainfrom
de-disable-get-answer-until-ready

Conversation

@bobular
Copy link
Member

@bobular bobular commented Feb 14, 2026

[Get Answer] now waits for a notebook.isReady({analysisState, wdkState}) check. It's optional on notebooks (defined in NotebookPresets.tsx)

Note: isReady accepts the full AnalysisState rather than just the analysis data, leaving room to gate submission on job status as well as configuration completeness should that prove necessary.

Both DE and WGCNA have the checks.

I attempted to add red styling for Required* params in WdkParamNotebookCell but I was unable to reliably and generically detect if the parameter had been selected away from the placeholder value ("Choose a Module") because there is no formal concept of placeholder values in WDK params. Note that the isReady check does look for "choose_module" and is reliable for gating the submit button.

@bobular bobular requested a review from aurreco-uga February 14, 2026 22:22
@bobular bobular merged commit a9ec84d into main Feb 15, 2026
1 check passed
@bobular bobular deleted the de-disable-get-answer-until-ready branch February 15, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant