Repository navigation
Fixes 35734: Show the column and field on activity feed items for a column - #35770
Conversation
A conversation started on a column description is stored as <#E::table::<fqn>::columns::<col>::description>, but the feeds only showed the table: - Classic Activity Feeds & Tasks card and detail pane now append the field path after the entity link (table › columns › col › Description), like the conversation side panel. - AI Inbox card passes the conversation's link to getEntityTarget, so it reads table.column and links to the column, as activity events already do. - The entity Activity Feeds tab and its count request includeFields, so column-level conversations are listed under their table at all.
Follows the design for field-level feed items: the table link, then the column (column icon, linked) and, for a conversation, the field it was started on (e.g. Description). Activity events stop at the column, since their header already names the changed field. A shared FeedFieldPath renders the trail after each card's own entity link, in the Classic Activity Feeds & Tasks card and the AI Inbox card, and replaces the earlier columns › name › field path.
A conversation on a pipeline task, chart or schema field links as <group>::<child>::<field>; the path read the child as the field. Name the child (linked only for a column) and its field, and add the Playwright spec for a column conversation on the table Activity Feeds tab and the Inbox.
A nested column links as columns::"address.city"; show and link it by its unquoted fqn. Cover the field-inclusive count in fetchEntityActivityCountInto, and read the spec's Inbox card from the worker's own Mentions.
🔄 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 |
Main now renders the Data Health legends as tiles and the slimmer left rail (dark-mode polish and sidebar changes merged on 2026-10-19), so every PR's visual-regression run failed on data-quality. The new baseline is CI's own render in the pinned Playwright container (identical on both attempts).
|
| Count | Rule |
|---|---|
| 2 | react-hooks/exhaustive-deps |
| 2 | openmetadata-imports/review-sequential-api-calls |
All findings
| Location | Rule | Message | |
|---|---|---|---|
| 🟡 | src/components/ActivityFeed/ActivityFeedProvider/ActivityFeedProvider.tsx:485:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has an unnecessary dependency: 'setActiveThread'. Either exclude it or remove the dependency array. |
| 🟡 | src/components/ActivityFeed/ActivityFeedProvider/ActivityFeedProvider.tsx:540:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has an unnecessary dependency: 'setActiveThread'. Either exclude it or remove the dependency array. |
| 🟡 | src/components/ActivityFeed/ActivityFeedProvider/ActivityFeedProvider.tsx:640:15 |
openmetadata-imports/review-sequential-api-calls |
Review these sequential API requests. If they are independent, start them together with Promise.all/Promise.allSettled; keep sequencing only when data-dependent |
| 🟡 | src/components/ActivityFeed/ActivityFeedProvider/ActivityFeedProvider.tsx:641:15 |
openmetadata-imports/review-sequential-api-calls |
Review these sequential API requests. If they are independent, start them together with Promise.all/Promise.allSettled; keep sequencing only when data-dependent |
Fix locally (fast - only checks files changed in this branch):
make ui-checkstyle-changed… core Box Review feedback: replace the hand-rolled span/div flex wrappers with Box. The one-line clamp moves onto the link itself, since Box's flex display no longer lets the old max-one-line container clamp the name.
Code Review ✅ Approved🟡 Medium risk · Including field-level conversations in entity feeds and parsing their links could surface unrelated child discussions or mislabel columns if path handling is wrong. Adds a shared 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 |
|
|
🤖 Backport to |
|
🤖 Backport to |
…olumn [Backport #35770 - 2.0] (#35859) * Fixes 35734: Show the column and field on activity feed items for a column [Backport #35770 - 2.0] A conversation started on a column description is stored as <#E::table::<fqn>::columns::<col>::description>, but the Activity Feeds & Tasks card and detail pane showed only the table. They now append the field path after the entity link: table › [column] col › Description. Activity events stop at the column, since their header already names the field. Adapted for 2.0: - The AI Inbox card, the conversations API includeFields flag and the data-quality visual baseline are main-only and are not carried over. 2.0's /v1/feed list already matches field-level threads by FQN-hash prefix. - Icons come from @untitledui/icons and the column SVG asset, since 2.0's core components have no icons export; Typography has no color prop on 2.0. - The Playwright spec seeds the thread through /api/v1/feed and checks the table Activity Feeds tab only. (cherry picked from commit 7848ae6) * chore(playwright): auto-refresh impact-map.generated.json --------- Co-authored-by: Chirag Madlani <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>



Describe your changes:
Fixes #35734
A conversation started on a column (stored as
<#E::table::<fqn>::columns::<col>::description>) showed only the table in the activity feeds, so an @mentioned owner couldn't tell which column it was about.[table] v_order_details › [column] last_name › Description. The table and column are links and the field is a label. A sharedFeedFieldPathcomponent renders this part after the entity link in both the Classic Activity Feeds & Tasks card (list and detail pane) and the AI Inbox card.includeFields=true(already supported byGET /conversations); before, an exactaboutmatch left them out of the table's feed and its count.<group>::<child>::<field>) show the child's name, unlinked, and the field. Nested columns (columns::"address.city") are shown and linked by their unquoted name.Not in scope: the issue's second ask, an indicator on the Columns tab for columns that have a conversation. That needs a per-field conversation count.
Type of change:
High-level design:
Not applicable: UI-only bug fix with no new API, schema or architecture change. The one shared piece is
components/ActivityFeed/Shared/FeedFieldPath/(component plus a pure entity-link parser), which both feed cards render after their own entity link.Tests:
Use cases covered
table › column › Descriptionon the Classic list card and detail pane, and on the AI Inbox card.table › column, without repeating the field.getFeedCounts,fetchEntityActivityCountInto).tasks::load_orders::description) is named as the child, not as a field. A nested column is unquoted.Unit tests
FeedFieldPath.utils.test.ts(new),ActivityFeedcardNew.component.test.tsx,ActivityFeedItem.test.tsx,ActivityFeedProvider.test.tsx,ActivityFeedTab.component.test.tsx,FeedUtilsPure.getFeedCounts.test.ts.FeedFieldPath.utils.ts100% lines / 100% branches;FeedFieldPath.tsx100% lines / 92.9% branches.src/components/ActivityFeed,src/components/discovery/personal-space,src/utils/FeedUtils*,src/rest/conversationsAPI,src/components/NotificationBox: 225 suites, 2087 tests passed.Backend integration tests
includeFieldsalready exists onGET /api/v1/conversations).Ingestion integration tests
Playwright (UI) tests
playwright/e2e/Features/ActivityFeedFieldPath.spec.ts. It seeds a conversation on a column that @mentions an isolated admin, checks the column and field on the table's Activity Feeds card, and checks them on the Inbox Mentions card.24a7d41), with/apiproxied to a local server:ActivityFeedFieldPath.spec.ts,AIMode/InboxActivity.spec.ts,ActivityFeed.spec.ts,ActivityFeedTabBadge.spec.ts,ActivityStream.spec.ts,Tasks/ActivityFeed.spec.ts: 46 passed.ActivityFeedFieldPath.spec.ts --repeat-each=3: 6 passed.make playwright_affectedselects (the Tasks, DomainIsolation and search suites the feed code maps to); the merge queue runs them.Manual testing performed
POST /api/v1/conversationswithaboutset to a column's description link, and changed a column description through the table PATCH API.v_order_details(devrel), and on OSS main it didn't appear on the table's Activity Feeds tab at all.Classic: Activity Feeds & Tasks list cards, with the conversation selected in the detail pane
In each, one item is a column description change (the path stops at the column) and the other is a conversation on that column (the path adds the field). In the narrow Classic list card, long names truncate; the detail pane shows the full path.
UI screen recording:
Not applicable: standalone bug fix to an existing feed header, not a feature. Screenshots above show the result in Classic and AI mode, light and dark.
Checklist:
I have read the CONTRIBUTING document.
My PR title is
Fixes <issue-number>: <short explanation>My PR is linked to a GitHub issue via
Fixes #<issue-number>above.I have commented on my code, particularly in hard-to-understand areas.
For JSON Schema changes: I updated the migration scripts or explained why it is not needed. (No schema changes.)
For a UI feature or feature task: as part of PR creation, I ran the PR build in Docker with sample data and embedded a verified GitHub-hosted recording plus build/health evidence above (or explained why this requirement is not applicable).
I have added tests (unit / integration / Playwright as applicable) and listed them above.
Self-review: I reviewed the final diff against
REVIEW.md(thepr-checklistskill runs it) and fixed every 🔴 finding, or answered it on the line below.fecc5740923. The first pass's 🔴 was fixed (a non-column child was read as the field). Its 🟡s were fixed too: tests for everyincludeFieldscount call, nested-column quoting, and Inbox isolation.columns::"a.b"is the same link for a top-level column literally nameda.band for nesteda›b. The path takes the nested reading, the common case, so a top-level dotted column's link misses its panel.Decision check: no durable decision (no new contract, default, limit or ordering).
I have added a test that covers the exact scenario we are fixing.
🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; no new blocking issue was found.Summary
Both feeds now show the column and field after the entity link. Entity feeds and counts also include conversations on child fields.
Reviews (4) · Last reviewed commit: "refactor(ui): lay out the feed header en..." · Reviewed by Greptile