Skip to content

Conversation

@lukecotter
Copy link
Contributor

@lukecotter lukecotter commented Dec 3, 2025

📝 PR Overview

add search + highlight behaviour to experimental timeline flamechart

  • Non matches greyed out based on their base colour, darker base colour means darker greyy.
  • Matches retain their rectangle colour so they stand out.
  • Current matches have an yellow semi transparent overlay with small solid border.
  • Sub pixel matches have a min width of 6 pixels applied to make them easy to spot.
  • If match is offscreen it will be centered.
  • next, prev, case and case insensitive match on text and type.

🧩 Type of change (check all applicable)

  • 🐛 Bug fix - something not working as expected
  • ✨ New feature – adds new functionality
  • ♻️ Refactor - internal changes with no user impact
  • ⚡ Performance Improvement
  • 📝 Documentation - README or documentation site changes
  • 🔧 Chore - dev tooling, CI, config
  • 💥 Breaking change

📷 Screenshots / gifs / video [optional]

Show off your UI changes.

image

🔗 Related Issues

fixes #
resolves #
closes #
related #262
related #564

✅ Tests added?

  • 👍 yes
  • 🙅 no, not needed
  • 🙋 no, I need help

📚 Docs updated?

  • 🔖 README.md
  • 🔖 CHANGELOG.md
  • 📖 help site
  • 🙅 not needed

Anything else we need to know? [optional]

- Added SearchManager class for generic search management of timeline events.
- Introduced SearchStyleRenderer for rendering rectangles with search-aware styling.
- Created TimelineSearchManager to encapsulate search logic, state management, and navigation.
- Added utility functions for converting LogEvent hierarchies to TreeNode structures.
- Updated type definitions in flamechart.types.ts and search.types.ts for better type safety.
- Enhanced TimelineViewport with a method to center on specific events.
- Refactored existing code to utilize new types and structures for improved maintainability.
@lcottercertinia lcottercertinia merged commit f24bc87 into certinia:main Dec 3, 2025
4 checks passed
@lukecotter lukecotter deleted the feat-timeline-search-highlight branch December 3, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants