Skip to content

feat(ui): Use in a thread starts guided setup with the uploaded dataset and the models that can use it - #477

Closed
wmobley wants to merge 1 commit into
developfrom
feat/upload-starts-guided-setup
Closed

wmobley wants to merge 1 commit into
developfrom
feat/upload-starts-guided-setup

Conversation

@wmobley

@wmobley wmobley commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Do not merge until the user says dev testing can resume. Merging deploys dev.

After an upload, "Use in a thread" now starts the guided model setup (/modeling/problem-statements/start) from that dataset.

Starting from the upload

  • Dataset: the upload is preselected. datasetId is the CKAN package name, and the wizard resolves it through showPackage with the user's token, so private uploads work. The wizard's lookup is unchanged.
  • Recommended models: a new section, "Models that can use your data", sits above "1. Frame the problem".
    • The exact models (from "Who can use this") come first as Recommended, preselected, each with "Takes , the variable of your uploaded data".
    • Close matches follow as a second tier, marked "Close match, not an exact fit". They are not preselected.
  • Prefilled and editable: the goal (from the upload title), the start and end dates, and the region (when a catalog region was chosen). Nothing is confirmed for the user.
  • Names: model names come from modelNames, so the cards show names, not id slugs.

Unchanged: the dataset page's existing link into the wizard.

Tests: UI 1592 passed; tsc, eslint and prettier clean.

🤖 Generated with Claude Code

…et and recommended models

The wizard shows models that take the uploaded variable first, close matches
as a second tier, and prefills the question, period and region (editable).
@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
monorepo Ready Ready Preview Nov 20, 2026 7:06pm UTC

@wmobley

wmobley commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

Combined into #482 so all five build and deploy together.

@wmobley wmobley closed this Nov 20, 2026

This branch was successfully deployed

1 active deployment
Preview — ca59c90b Deployed Nov 20, 2026 by vercel[bot]
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