Skip to content

Implement updates tracking OWID grapher#6

Open
xrendan wants to merge 741 commits intoBuildCanada:masterfrom
owid:master
Open

Implement updates tracking OWID grapher#6
xrendan wants to merge 741 commits intoBuildCanada:masterfrom
owid:master

Conversation

@xrendan
Copy link
Member

@xrendan xrendan commented Feb 26, 2026

Context

Links to issues, Figma, Slack, and a technical introduction to the work.

Screenshots / Videos / Diagrams

Add if relevant, i.e. might not be necessary when there are no UI changes.

Testing guidance

Step-by-step instructions on how to test this change

  • Does the change work in the archive?
  • Does the staging experience have sign-off from product stakeholders?

Reminder to annotate the PR diff with design notes, alternatives you considered, and any other helpful context.

Checklist

(delete all that do not apply)

Before merging

  • Google Analytics events were adapted to fit the changes in this PR
  • Changes to CSS/HTML were checked on Desktop and Mobile Safari at all three breakpoints
  • Changes to HTML were checked for accessibility concerns

If DB migrations exists:

  • If columns have been added/deleted, all necessary views were recreated
  • The DB type definitions have been updated
  • The DB types in the ETL have been updated
  • If tables/views were added/removed, the Datasette export has been updated to take this into account
  • Update the documentation in db/docs

After merging

  • If a table was touched that is synced to R2, the sync script to update R2 has been run

ikesau and others added 29 commits March 3, 2026 16:09
improve
Resolve focus placeholders when looking up reference queries

The resolved/unresolved query-string handling was incorrect when a focus parameter was present: reference lookups used the unresolved query string instead of the resolved one. This caused mismatches when comparing graphs that used focus placeholders. To fix this, added a helper to resolve focus placeholders (resolveQueryStrForLookup) that creates a minimal grapher state to compute the resolved query string, and updated verification to use the resolved query string. Also corrected diff line counting to separately compute added/deleted lines and use the maximum as the changed-lines count.
Use unresolved query string for SVG records

When resolving focus placeholders required loading grapher data, generating a minimal grapher was complex and unnecessary for lookup purposes. Instead, keep and use the original/unresolved query string for SVG record keys and export lookups. This simplifies rendering and lookup logic by removing resolveQueryStrForLookup and related resolution steps, and ensures chart keys are created from the provided query string directly.
Include query string when opening SVG in report

When opening an SVG from the HTML report, the query string on the record was not being included in the generated links or displayed title, causing opened charts to miss context provided by URL parameters. This change reads queryStr from the svgRecord and appends it to viewId for full links, uses the combined value for the copy-to-clipboard button, and shows the query string in the section title so the correct URL and label are preserved when viewing or copying.
Include resolvedQueryStr in svg records and UI

Add resolvedQueryStr to the SvgRecord type and propagate it through utils, parsing, and view generation so the compare view and HTML report can use the resolved query string (with actual entity names) where available. This change makes the displayed and copyable URLs use resolvedQueryStr if present, falling back to the original queryStr, improving clarity when placeholders (e.g. <firstSeries>) have been replaced.
Fixing: Set is not a function or its return value is not iterable
marcelgerber and others added 30 commits March 23, 2026 17:42
* 🔨🤖 Remove unused ETL API metadata editing from variable edit page

Remove the functionality that allowed editing indicator metadata from the
Admin UI via the ETL API. This was introduced in #3106 but never actively
used in practice — metadata is edited directly in the ETL repo's YAML files.

- Remove save(), etlApiIsRunning(), getDifference(), VariableEditable class
- Remove ETL_API_URL from client settings
- Convert all metadata fields to read-only display
- Remove BindStringArray and BindDropdown from Forms.tsx (now unused)

* wip

* 🤖 style: format code

* ✨🤖 Address review: use ReadOnlyField consistently, remove help text

- Convert remaining TextAreaFields (Description key, Entity annotations)
  to ReadOnlyField for consistency
- Remove editing-oriented help text from Entity annotations

---------

Co-authored-by: Marigold <1550888+Marigold@users.noreply.github.com>
add more polyfills for modern features
- Add .gitignore entries for Auto Claude files (.auto-claude/, .auto-claude-security.json, .auto-claude-status, .claude_settings.json)
- Add --disable-nested-config to oxlint commands to prevent picking up oxlintrc files from worktree subdirectories

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
## Summary
- Add `.gitignore` entries for Auto Claude files (`.auto-claude/`, `.auto-claude-security.json`, `.auto-claude-status`, `.claude_settings.json`)
- Add `--disable-nested-config` to oxlint commands to prevent picking up `oxlintrc` files from worktree subdirectories

## Test plan
- [x] `yarn testLintChanged` still works correctly
- [x] Auto Claude files are ignored by git
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.

10 participants