Skip to content

Large CVV performance improvement - #12617

Open
qqmyers wants to merge 8 commits into
IQSS:developfrom
GlobalDataverseCommunityConsortium:largeCVVImprovements
Open

Large CVV performance improvement#12617
qqmyers wants to merge 8 commits into
IQSS:developfrom
GlobalDataverseCommunityConsortium:largeCVVImprovements

Conversation

@qqmyers

@qqmyers qqmyers commented Aug 14, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it: As reported in #11223 and brought up recently in the community group, the updates in #10762 to support ~8K language entries caused significant slow downs in page loading (advanced search, edit dataset and template metadata).

This PR changes the widget used to display a large controlled vocabulary field (one with > 500 entries) to shift to supporting type ahead lookup rather than preparing a checkbox list with 8K entries as the page loads.
In my tests, loading of the edit metadata pane went from 15-20 seconds down to 2-3 (with the language field now adding negligible time), and the advanced search page has slightly less flicker, while also improving how well you can see what has been selected (selections show in a header).
,
Which issue(s) this PR closes:

Special notes for your reviewer: The problem reported in #11223 appears to have improved since 6.4 - not sure why, but the fix in this PR is faster yet and aligns the way the field works in the dataset, template and search pages.
As of now, this update is in use at https://data.stage.qdr.org/ - feel free to see/compare it there.

Suggestions on how to test this: Use the language field in the dataset, template, and advanced search pages, assure selecting still works. Assure no changes to other controlled vocab fields such as Subject, RelatedPublication RelationType, etc. (all less than the 500 item limit that triggers use of the new widget, so no changes).

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
In addition to the widget itself, the new UI includes an option to use the original widget an see all entries.
image
The new widget shows choices that match the user's entry:
image
The change is an improvement over the old advanced search page which did not show a header, making it hard to understand what had been selected. In this image, English has been selected:
image

Is there a release notes update needed for this change?:

Additional documentation:

@qqmyers qqmyers moved this to Ready for Triage in IQSS Dataverse Project Aug 14, 2026
@qqmyers qqmyers added the Size: 10 A percentage of a sprint. 7 hours. label Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size: 10 A percentage of a sprint. 7 hours.

Projects

Status: Ready for Triage

Development

Successfully merging this pull request may close these issues.

Advanced search page is slow/glitchy

1 participant