Skip to content

fix dropdown in wizard flow + table in detail view - #4

Merged
gkennos merged 2 commits into
mainfrom
dropdown_fix
Aug 2, 2026
Merged

fix dropdown in wizard flow + table in detail view#4
gkennos merged 2 commits into
mainfrom
dropdown_fix

Conversation

@gkennos

@gkennos gkennos commented Aug 2, 2026

Copy link
Copy Markdown
Member

Summary

Fix to allow population of dropdown menu in wizard workflow + adding table view within the detail pain

Checklist

  • Applied exactly one label (breaking, feature, fix, dependencies, or chore)
  • Tests pass locally (uv run pytest -q)
  • Lint passes (uv run ruff check .)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Textual UI layer to (1) render wizard choice fields with an inline option list (so choices can be populated/displayed reliably in the wizard flow) and (2) allow the workbench detail pane to render a tabular detail view.

Changes:

  • Replace wizard CHOICE form fields from Select to OptionList, with inline option rendering and keyboard navigation.
  • Add support for rendering TableView inside the workbench detail pane, including row-count subtitle.
  • Add/extend smoke and contract tests validating the new wizard choice behavior and detail table rendering.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/test_wizard_contracts.py Adds an app-level test exercising dynamic choice rendering and submission via OptionList.
tests/test_app_smoke.py Adds a smoke test asserting TableView renders as a DataTable in the detail pane.
src/groundskeeping/widgets/workbench.py Adds TableView support for detail rendering via show_detail_table().
src/groundskeeping/widgets/wizard.py Updates choice field rendering to use OptionList and maps selection back into submitted values.
src/groundskeeping/contracts/views.py Expands DetailView union type to include TableView.
README.md Documents that the lower-right detail pane can now render TableView.
docs/pages.md Documents when to use a detail TableView in the workbench layout.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/groundskeeping/widgets/wizard.py Outdated
Comment thread src/groundskeeping/widgets/workbench.py
@gkennos
gkennos merged commit 248c550 into main Aug 2, 2026
2 checks passed
@gkennos
gkennos deleted the dropdown_fix branch August 2, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants