Skip to content

[DT-3848][risk=no] Add the dataset view fixtures for typed search (5e/6) - #3354

Open
otchet-broad wants to merge 2 commits into
developfrom
otchet-dt-3848-dataset-fixtures
Open

otchet-broad wants to merge 2 commits into
developfrom
otchet-dt-3848-dataset-fixtures

Conversation

@otchet-broad

@otchet-broad otchet-broad commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Addresses

https://broadworkbench.atlassian.net/browse/DT-3848 (epic DT-4500)
Security risk: no — test files only; no application code or configuration changes.

Summary

Adds the fixtures for dataset examples 1.3 to 1.10 (typed-search-examples-datasets.md, #3344): branded library, Submissions, DAC Datasets, Manage DAC, DAR review, the dataset page (by identifier, by id, in lower case, and an unknown identifier), the study page grid, and both pages of the study page selection.

This is slice 5e of 6 for DT-3848; merge after 5a (#3350), whose format test loads them; 5b and 5d check their requests and bodies.


Have you read CONTRIBUTING.md lately? If not, do that first.

  • Label PR with a Jira ticket number and include a link to the ticket
  • Label PR with a security risk modifier [no, low, medium, high]
  • PR describes scope of changes
  • Get a minimum of one thumbs worth of review, preferably two if enough team members are available
  • Get PO sign-off for all non-trivial UI or workflow changes
  • Verify all tests go green
  • Test this change deployed correctly and works on dev environment after deployment

🤖 Generated with Claude Code

Turn dataset examples 1.3 to 1.10 into JSON fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@otchet-broad
otchet-broad requested a review from a team as a code owner November 25, 2026 22:00
@otchet-broad
otchet-broad requested review from a team, fboulnois and kevinmarete and a balanced review from Copilot and removed request for a team November 25, 2026 22:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

1.7 asks only for ids that exist, and an identifier that matches no dataset gets 404.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@rushtong rushtong left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed with Claude and Codex, no medium or high findings 👍

Low Findings

  • Three fixtures omit the page of their example: src/test/resources/fixtures/typed-search/datasets/1.3-branded-library.json:5 Fixtures 1.3, 1.4, and 1.9 have no page. Their examples have offset 0 and limit 25.
  • Controlled row has no dacApproval: src/test/resources/fixtures/typed-search/datasets/1.3-branded-library.json:18 The library scope shows a controlled dataset only with dacApproval = true.

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.

4 participants