Repository navigation
feat: upload a dataset page, flow runs record their inputs and settings, sub-tasks under every task - #461
Merged
Conversation
Loads one file or a collection into CKAN with a standard variable, dates and spatial coverage written as the thread upload writes them, previews the flows and models that take the variable, and reads the dataset back before reporting success.
…t used A flow run's execution row had results but empty data and parameter bindings, so the Results page showed a dash for every input. Record one data binding per resource (a collection input is several rows under one input), the settings the run used as parameter bindings (a linked setting as a reference, never a credential), and the file a person edited at a pause as an input of the resumed run. Results shows a collection input as an N files list. Add a dry-run-by-default backfill script for runs already recorded.
Each task on the problem statement page now lists its own sub-tasks, with a chevron to collapse or expand them (Radix Accordion, animated height, honours prefers-reduced-motion). Selecting a sub-task under any task also selects that task, and sub-tasks can be created under any task. Adds the accordion keyframes the shared accordion component already referenced.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Three changes asked for during today's live flow tests, in one PR so dev runs a single build.
1. Upload a dataset (Datasets → "Upload a dataset",
/datasets/upload)A signed-in user loads one file, or a collection of files, into CKAN, ready for DYNAMO to run, without starting from a thread.
uploadFilesToCatalogfrom feat(flows): uploads go into the catalog as datasets ready to run #454, which gains optionaltitleandspatialparams and exportsboundingBoxToSpatial. Thread uploads behave as before.2. Flow runs record what they read and the settings they used (Ensemble Manager)
executionrow hadresultsbut nodata_bindingsand noparameter_bindings. The Results page showed "—" for every input, and the run's provenance was missing what it read.submitFlowbuilds the record from the adapter's stored plan. A collection input gets oneexecution_data_bindingper resource.linked: step 2 output 0.mint-ensemble-manager/scripts/backfill-flow-provenance.ts.--applyis given, it only inserts, withON CONFLICT DO NOTHING, and it takes the admin secret from the environment.3. Sub-tasks under every task (problem statement page)
prefers-reduced-motion.?threadId=deep link opens its task.tailwind.config.tsgains theaccordion-downandaccordion-upkeyframes, whichui/accordion.tsxalready used, so the existing Accordion now animates too.Tests
tscclean.no-explicit-anyerrors. The new files follow the service's existing style, and the changed files add twoanys.tsc, eslint and prettier clean.🤖 Generated with Claude Code