Repository navigation
Fixes #37463: Keep column custom property values in the Explore right panel (backport 2.1 #37464) - #37469
Conversation
…panel (#37464) * fix(ui): load column custom properties from the API in the Explore side panel The panel re-seeded a tableColumn from the Explore search hit on every remount, so a value saved there showed 'No value yet' until the page was refreshed and Elasticsearch had reindexed. Fetch the column (tags, extension) via GET /columns/name/{fqn} and overlay it on the search hit. * fix(ui): ignore stale panel fetches and load columns of deleted tables A late response for a previously selected entity no longer overwrites the panel, and the column fetch passes include=all so a soft-deleted parent table does not 404. * chore(playwright): auto-refresh impact-map.generated.json * style(ui): organise imports in EntitySummaryPanel --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> (cherry picked from commit 5fa6687)
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
🔄 Playwright impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit: python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit # or a separate commit |
Code Review ✅ Approved🟡 Medium risk · Refreshing selected columns from the API and ignoring stale responses could show incomplete or mismatched column details if fetch or selection handling fails. Backports the Explore right-panel fix so a column's saved Custom Properties value persists after switching tabs or reselecting the column, by loading columns through VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Describe your changes:
Backport of #37464 to
2.1. Fixes #37463.In Explore, a column's right-panel Custom Properties tab lost a value you had just saved: after you left the tab or reselected the column, it showed "No value yet" until a page refresh.
EntitySummaryPanelnever fetched atableColumnand kept re-seeding from the stale Explore search hit.The fix loads columns through the existing
getColumnByFQN(fields=tags,extension&include=all), lays the result over the search hit, and ignores responses for a column that is no longer selected.GetColumnByFQNParamsgains an optionalinclude.Cherry-picked from
5fa6687c0c6(git cherry-pick -x), applied cleanly with no conflicts.Type of change:
Tests:
-U0diff matches the original merge commit's line-for-line (whitespace-normalised).jest src/components/Explore/EntitySummaryPanel/on this branch: 8 suites, 147 tests passed (same as the original PR), including the two new regressions.getColumnByFQNalready exists on2.1(used byColumnDetailPanel), so no missing dependency.Checklist: