Skip to content

feat(issue-progress): add progress activity hovercard#117858

Open
malwilley wants to merge 6 commits into
masterfrom
malwilley/progress-column-tooltip
Open

feat(issue-progress): add progress activity hovercard#117858
malwilley wants to merge 6 commits into
masterfrom
malwilley/progress-column-tooltip

Conversation

@malwilley

Copy link
Copy Markdown
Member

Closes ISWF-2874

See designs here

This adds a progress tooltip which fetches the group activity and displays the last few relevant entries.

The tooltip code is pretty simple, but most of the diff in this PR is related to breaking up the issue details activity component so that the individual parts can be imported into the issue list and used there. I didn't want to use the existing TimelineItem component because it includes logic related to comments which is not necessary in the tooltip. We may also want to add further customization later so this decouples from the details view a bit.

CleanShot 2026-06-16 at 13 47 00

malwilley and others added 2 commits June 16, 2026 13:46
Document why the progress activity tooltip keeps an allowlist of activity types.

Co-Authored-By: Codex <noreply@openai.com>
@malwilley malwilley requested a review from scttcper June 16, 2026 21:03
@malwilley malwilley requested a review from a team as a code owner June 16, 2026 21:03
@linear-code

linear-code Bot commented Jun 16, 2026

Copy link
Copy Markdown

ISWF-2874

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 16, 2026
Comment thread static/app/views/issueList/progressActivityTooltip.tsx
@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

Metric Before After Delta
Coverage 93.70% 93.70% ±0%
Typed 132,910 132,948 🟢 +38
Untyped 8,943 8,942 🟢 -1
🔍 1 new type safety issue introduced

any-typed symbols (1 new)

File Line Detail
static/app/views/issueList/progressActivityTooltip.tsx 79 componentFunction (var)

This is informational only and does not block the PR.

Comment thread static/app/views/issueList/progressActivityTooltip.tsx

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a2a32d7. Configure here.

Comment thread static/app/views/issueList/progressActivityTooltip.tsx
Comment thread static/app/views/issueList/progressActivityTooltip.tsx
Comment on lines +70 to +76
const {title, message} = getGroupActivityItem(
item,
organization,
group.project,
group.issueCategory,
teams
);

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.

Bug: Rendering ActivityRelease inside ProgressActivityTooltip creates nested Hovercard components, which can cause z-index stacking issues that hide the inner hovercard from view.
Severity: LOW

Suggested Fix

Prevent the rendering of a Hovercard within another. One approach is to modify the ActivityRelease component to not render a VersionHoverCard when it is a child of ProgressActivityTooltip. Instead, it could display the version information as plain text or use a non-hovercard component.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: static/app/views/issueList/progressActivityTooltip.tsx#L70-L76

Potential issue: The `ProgressActivityTooltip` component is a `Hovercard`. For certain
activity types like `SET_RESOLVED_IN_RELEASE`, it renders an `ActivityRelease` component
within its body. This `ActivityRelease` component in turn contains a `VersionHoverCard`,
which is another `Hovercard`. This results in nested hovercards. Both hovercards create
a portal to the `document.body`, but the z-index management does not account for
nesting. Consequently, the inner `VersionHoverCard` may be rendered underneath the outer
`ProgressActivityTooltip`, making it invisible or unusable when a user hovers over a
release version inside the tooltip.

Comment on lines +36 to +42
if (
item.type === GroupActivityType.SET_RESOLVED_IN_PULL_REQUEST &&
item.data.pullRequest?.author?.name &&
!item.data.pullRequest.author.email?.endsWith('@localhost')
) {
return item.data.pullRequest.author.name;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this is that goofyness i'm trying to fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants