mengw15 opened a new issue, #5452: URL: https://github.com/apache/texera/issues/5452
### Task Summary `highlight-search-terms.pipe.ts` ([frontend/.../user-workflow-list-item/highlight-search-terms.pipe.ts](https://github.com/apache/texera/blob/a820f6727/frontend/src/app/dashboard/component/user/user-workflow/user-workflow-list-item/highlight-search-terms.pipe.ts)) is a 42-LOC Angular pipe that wraps search-term substrings in `<mark>` tags for the workflow list-item display. It currently has no `.spec.ts`. ### Suggested coverage - Empty search term → input string returned unmodified - Single-token match → token wrapped in `<mark>` - Multi-token search → each token wrapped independently - Case-insensitive match - HTML special characters in input are escaped (not interpreted as markup) - Search term shorter than the configured minimum → no wrapping - Overlapping matches behave safely (no broken tags) ### Acceptance - New `highlight-search-terms.pipe.spec.ts` next to the pipe - Behavior-focused assertions (no implementation details) - All new tests green under default jsdom target -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
