Skip to content

fix(asset-tree): show address in favorite tooltip - #1640

Merged
w940853815 merged 1 commit into
v4from
fix/17415-favorite-asset-tooltip
Sep 8, 2026
Merged

w940853815 merged 1 commit into
v4from
fix/17415-favorite-asset-tooltip

Conversation

@w940853815

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings September 8, 2026 01:25
@fit2bot
fit2bot requested a review from a team September 8, 2026 01:26
@w940853815
w940853815 merged commit 75754e1 into v4 Sep 8, 2026
3 of 4 checks passed
@w940853815
w940853815 deleted the fix/17415-favorite-asset-tooltip branch September 8, 2026 01:26
@sonarqubecloud

sonarqubecloud Bot commented Sep 8, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new tooltip title can be undefined when an asset lacks meta.data.address, which can result in an empty/“undefined” tooltip and should be handled with a fallback.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the Favorites asset tree node data so the zTree tooltip (node title) shows the asset’s address, improving usability when hovering favorite assets.

Changes:

  • Add title: info.meta?.data?.address to favorite asset leaf nodes so tooltips show address information.
File summaries
File Description
src/app/elements/asset-tree/asset-tree.component.ts Sets favorite asset leaf node title to the asset address to surface it in the tooltip.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

id: this.buildFavoriteLeafId(folderId || 'root', assetId),
pId: folderId ? 'folder-' + folderId : 'favorite-root',
name: info.name,
title: info.meta?.data?.address,
id: this.buildFavoriteLeafId(folderId || 'root', assetId),
pId: folderId ? 'folder-' + folderId : 'favorite-root',
name: info.name,
title: info.meta?.data?.address,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants