Skip to content

[Studio] Fix classification store key picker#631

Merged
markus-moser merged 3 commits into
2.4from
fix/626-classificationstore-key-modal-selection
Jun 10, 2026
Merged

[Studio] Fix classification store key picker#631
markus-moser merged 3 commits into
2.4from
fix/626-classificationstore-key-modal-selection

Conversation

@markus-moser

@markus-moser markus-moser commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Changes in this pull request

Resolves #626 — the Data Target "Classification Store" key picker was unusable.

  • Selection now works (single-select rows) and Apply selection applies; the chosen key is shown immediately.
  • Grid is full width and shows its skeleton while (re)fetching, including search.
  • Reset search/paging/selection each time the modal opens.
  • The key picker no longer requires a transformation result type, and changing the result type keeps the selected field (only the key is reset).

markus-moser and others added 3 commits June 10, 2026 14:50
The Data Target "Classification Store" key picker couldn't be used: no
selection control was rendered, the "Apply selection" button stayed disabled,
the applied key was never displayed, and several UX issues remained.

- Render a (single-select) selection control and resolve tanstack's selection
  updater so a row can actually be selected and applied.
- Give skeleton rows unique keys so they don't get stranded over real data.
- Pass the stored keyId back to the picker so the applied key is shown, and
  pre-seed the key-name cache on apply so it appears immediately.
- Make the grid full width and show the grid skeleton while (re)fetching,
  including during search.
- Reset search, paging and selection each time the modal opens.
- Allow opening the picker without a transformation result type (drop the
  gating + tooltip; the backend returns all keys when no type is given).
- Keep the selected classification store field when the transformation result
  type changes (only the key is reset, not the field).
@sonarqubecloud

Copy link
Copy Markdown

@markus-moser markus-moser changed the title [Studio] Fix classification store key picker (#626) [Studio] Fix classification store key picker Jun 10, 2026
@markus-moser markus-moser marked this pull request as ready for review June 10, 2026 14:59
@markus-moser markus-moser merged commit 647aecd into 2.4 Jun 10, 2026
1 check passed
@markus-moser markus-moser deleted the fix/626-classificationstore-key-modal-selection branch June 10, 2026 15:00
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant