Skip to content

fix: add templates to optimize log content and update topology tooltips#550

Merged
wu-sheng merged 3 commits into
apache:mainfrom
Fine0830:bugfix/logs
Apr 29, 2026
Merged

fix: add templates to optimize log content and update topology tooltips#550
wu-sheng merged 3 commits into
apache:mainfrom
Fine0830:bugfix/logs

Conversation

@Fine0830
Copy link
Copy Markdown
Member

No description provided.

@Fine0830 Fine0830 added this to the 10.5.0 milestone Apr 29, 2026
@Fine0830 Fine0830 self-assigned this Apr 29, 2026
@Fine0830 Fine0830 added the bug Something isn't working label Apr 29, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the log table rendering to avoid v-html by switching keyword highlighting to a template-driven approach, improving safety and control over highlighted segments.

Changes:

  • Replaces v-html highlighting with a HighlightPart[] renderer (v-for) for highlighted/non-highlighted text segments.
  • Escapes keyword values before building the highlight regex and splits content into renderable parts.
  • Adds .keyword-highlight styling for highlighted matches.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/views/dashboard/related/log/LogTable/LogService.vue
Comment thread src/views/dashboard/related/log/LogTable/LogService.vue Outdated
@Fine0830 Fine0830 changed the title fix: add templates to optimize log content fix: add templates to optimize log content and update topology tooltips Apr 29, 2026
@wu-sheng wu-sheng merged commit 99b5083 into apache:main Apr 29, 2026
5 checks passed
@Fine0830 Fine0830 deleted the bugfix/logs branch April 29, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants