Skip to content

twdh-0.12.0-dev -> master - #17

Open
twdbben wants to merge 5 commits into
twdh-mainfrom
twdh-0.12.0-dev
Open

twdbben wants to merge 5 commits into
twdh-mainfrom
twdh-0.12.0-dev

Conversation

@twdbben

@twdbben twdbben commented Jul 23, 2026

Copy link
Copy Markdown

No description provided.

minhajuddin2510 and others added 5 commits January 6, 2026 12:49
Added a new function to check the status of the datapusher and handle errors appropriately.
Implement datapusher status check and error handling
DP+ now records what it infers from a resource on that resource, rather than
overwriting a single dataset-level blob on every run. The popover therefore
has to decide, per field, how to combine what each resource inferred.

That decision is declared in the schema:

    suggestion_policy: all_resources     # offer every resource's answer
    suggestion_policy: primary_resource  # the default

Date Range wants every resource's range; the primary key and inferred extent
want the primary resource's only. _collectFieldSuggestions() gathers the
candidates accordingly and de-duplicates identical values.

The popover reuses the radio-list mode that already existed for CSVs with
several date columns, so multiple resources need no new UI. A resource whose
own suggestion holds several candidate columns still expands, now labelled
"resource > column".

Readers fall back to the dataset-level blob, so datasets analysed before this
change keep showing their suggestions and self-heal on re-analysis.

Refs TNRIS/texaswaterhub_CKAN#1088

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…pp-suggestions

Combine suggestions across resources per a schema-declared policy (#1088)
@twdbben
twdbben changed the base branch from master to twdh-main July 23, 2026 17:31
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.

2 participants