Skip to content

Fix four activity feed bugs: entity-link popover, AI-mode domain filter, no-op button, vote toast - #39733

Merged
harsh-vador merged 7 commits into
mainfrom
fix/feed-bugs
Dec 5, 2026
Merged

harsh-vador merged 7 commits into
mainfrom
fix/feed-bugs

Conversation

@harsh-vador

@harsh-vador harsh-vador commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes #39651
Fixes #39652
Fixes #39655
Fixes #39656

Four small activity feed bugs, one commit each, and each with a test that fails on main. They come from the activity feed cleanup (the classic tab and AI mode each built the same feature their own way).

Based on main. It was stacked on #39670, which merged on 2026-12-04; the branch is rebased onto main. #39779 and #39791 are stacked on this PR.

A fifth bug, #39653 (a stale activity response replacing a newer one), was dropped and the issue closed: it can't be reproduced in the UI, because the page remounts its provider when the asset changes. The trace is in the issue.

Issue What users saw Fix
#39651 On a classic feed card about a user or team, hovering that user's or team's link opened the post author's profile card. The popover gets the linked user or team, with the team type for teams.
#39652 With a domain picked in the navbar, an asset's Activity tab in AI mode only showed activity in that domain. Classic mode showed all of it, and the domain interceptor's own comment says an asset's activity is not narrowed. The interceptor exempted only /activity/entity/, which the classic tab calls. AI mode reads the tab from /activity/about and /activity/mentions with an entityLink. Any activity request carrying an entityLink is now treated as being about one asset.
#39655 In the classic feed tab's right panel, keyboard and screen-reader users reached a focusable "button" that did nothing. The panel card gets role="button", a tab stop, the pointer cursor and the key handler only when a click handler is passed.
#39656 After voting on a task or glossary term that still needs other approvers, the toast said "Vote recorded." in English whatever the UI language. It uses the existing keys: message.vote-recorded-waiting-for-other-approvers for tasks and message.vote-recorded for glossary terms. No new keys.

A final small commit applies the formatter and moves one ternary into a helper, which keeps the entity-link memo under the complexity limit.

39652-domain 39651-popover 39656-vote-toast 39655-focus 39655-focus

Type of change:

  • Bug fix

High-level design:

N/A. Each fix is a few lines in one place, across 6 production files.

Tests:

Use cases covered

  • A conversation about a user, and one about a team: the entity-link popover shows that user or team.
  • /activity/about and /activity/mentions with an entityLink keep no domain. The cross-asset feeds (/activity, and /activity/mentions without entityLink) still get it.
  • A feed panel card for a conversation or an activity with no click handler has no role and no tabindex.
  • The vote toast uses the translation keys in the task feed card, the task tab and the glossary term tab.

Unit tests

Before / after

Captured against a local backend with the same data, before (the main files) and after (this branch):

  • 39651-popover.png: hovering a user or team link.
  • 39652-domain.png: the AI-mode Activity tab with a domain picked, including the requests sent.
  • 39655-focus.gif: Shift+Tab in the right panel.
  • 39656-vote-toast.png: the vote toast with the UI in French.

UI screen recording:

Not applicable: these are standalone bug fixes, each covered by a test that fails on main.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>. It fixes five issues, so the title names the area instead.
  • 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. The interceptor's existing comment now covers both modes, and one line explains when the panel card is a button.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed. Not applicable.
  • 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). Not applicable, explained above.
  • I have added tests (unit / integration / Playwright as applicable) and listed them above.
  • Self-review: I reviewed the final diff against REVIEW.md and fixed every 🔴 finding, or answered it on the line below. Every bug fix has a test that fails on main. No removed or renamed export, prop or test id is used by openmetadata-collate.
  • Decision check: if this PR decides something the next contributor could undo, it adds a record under docs/decisions/. Not applicable: UI: An asset's Activity tab in AI mode hides activity from other domains #39652 applies the interceptor's existing rule (an asset's own activity is not narrowed) to AI mode, and adds no new rule.

🤖 Generated with Claude Code

@harsh-vador
harsh-vador requested a review from a team as a code owner December 4, 2026 05:21
@harsh-vador
harsh-vador requested review from anuj-kumary and removed request for a team December 4, 2026 05:21
@harsh-vador harsh-vador added the UI UI specific issues label Dec 4, 2026
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This 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 skip-pr-checks label.

@harsh-vador
harsh-vador added this pull request to stack #39734 December 4, 2026 05:23
@harsh-vador
harsh-vador force-pushed the fix/feed-bugs branch 2 times, most recently from e910968 to 76e4712 Compare December 4, 2026 05:49
@harsh-vador harsh-vador changed the title Fix five activity feed bugs: entity-link popover, AI-mode domain filter, activity race, no-op button, vote toast Fix four activity feed bugs: entity-link popover, AI-mode domain filter, no-op button, vote toast Dec 4, 2026
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

✅ Playwright Results — workflow succeeded

Validated commit 76e47126468a086fe121284a58f79182c4b3c299 in Playwright run 47280379933, attempt 1.

✅ 55 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky

✅ All tests passed. The ⚠️ CI time-budget signals below are pipeline capacity telemetry, not test failures — nothing to fix on this PR.

Performance

Blocking targets: ✅ met · Optimization targets: 🟡 in progress

Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting.

🕒 Full workflow signal wall (to summary) 38m 20s

⏱️ Max setup 11m 44s · max shard execution 2m 21s · max shard-job elapsed before upload 17m 15s · reporting 3s

🌐 115.81 requests/attempt · 1.31 app boots/UI scenario · 0.00% common-shard skew

⚠️ CI time-budget signals — pipeline capacity telemetry, not test failures, and not caused by this PR:

  • Budget target `Environment setup` breached (target ≤ 480 s) — exceeded on 1 shard(s): rdf-01 704 s.

Optimization targets still in progress:

  • Application boot ratio was 1.31 per UI scenario (55 boots / 42 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
✅ Shard chromium-01 42 0 0 0 0 0
✅ Shard rdf-01 13 0 0 0 0 0

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

…nk hover

A conversation about a user or team wrapped its entity link in a popover given the post author, so hovering the link opened the author's card. Give the popover the linked user or team, with the team type for teams.
…cked domain

The domain interceptor exempts an asset's own activity, but only matched /activity/entity/, which the classic tab calls. AI mode reads the same tab from /activity/about and /activity/mentions with an entityLink, so it gained the picked domain and the backend filtered on it. Treat any activity request that carries an entityLink as being about one asset.
… a press handler

FeedPanelBodyV1New always gave its card role="button" and a tab stop. The classic feed tab renders it in the right panel without onFeedClick or onActivityClick, so keyboard and screen-reader users reached a button that did nothing. Add the role, tab stop, pointer cursor and key handler only when a handler is passed.
Voting on a task or glossary term that still needs other approvers showed a hardcoded English "Vote recorded.". Use the existing keys: message.vote-recorded-waiting-for-other-approvers for tasks (as TaskReviewVotes does) and message.vote-recorded for glossary terms (as GlossaryHeader does).
@harsh-vador

Copy link
Copy Markdown
Contributor Author

Playwright full suite on the activity feed cleanup stack

PR CI skips Playwright here, so I ran the whole suite on the stack instead (playwright-postgresql-e2e.yml, full_suite=true). The runs were on each branch before today's rebase onto main; the rebase changed no commit in the stack.

Run Covers Passed Failed Flaky (passed on retry)
47305108815 #39670, #39733, #39779 4,799 0 2: Flow/CustomizeWidgets "Pipeline Status Widget", Pages/Glossary "Change glossary term hierarchy using menu options across glossary"
47313014687 #39670, #39733, #39779, #39791 4,799 0 2: Flow/ServiceForm "Verify form selects are working properly", DataQuality/AddTestCaseNewFlow "Add Column Test Case"
  • No infrastructure issues in either run.
  • The flaky tests: none of the four is in an area these PRs change, and none repeats across the two runs.

Only the conversation card's button path had a test, so dropping onActivityClick from the activity card's container props would have gone unnoticed.
@gitar-bot

gitar-bot Bot commented Dec 4, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Removing domain filtering from entityLink activity requests could change activity shown on asset tabs; the other fixes are localized feed interactions.

Fixes five activity feed bugs: the entity-link popover now shows the linked user or team instead of the post author, AI-mode asset Activity tabs are no longer narrowed by the picked domain, the latest activity request wins when switching assets or users quickly, the feed panel card is a button only when it has a press handler, and the vote-recorded toast is translated. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@harsh-vador
harsh-vador merged commit 156ea63 into main Dec 5, 2026
31 of 32 checks passed
@harsh-vador
harsh-vador deleted the fix/feed-bugs branch December 5, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UI UI specific issues

Projects

None yet

2 participants