antonio-mello-ai commented on issue #58951:
URL: https://github.com/apache/airflow/issues/58951#issuecomment-4048663141

   I'd like to work on this.
   
   The root cause is the virtualized log renderer (`@tanstack/react-virtual`) — 
only ~30 DOM nodes exist at any time, so browser Ctrl+F can't find text outside 
the viewport.
   
   **Proposed approach (frontend-only):**
   
   1. Add a search input to the log viewer header (next to existing filters)
   2. Reuse the existing `getLogString()` plaintext extraction to build a 
searchable text index
   3. On search, find all matching line indices in the full `parsedLogs` array
   4. Use `rowVirtualizer.scrollToIndex()` to navigate to matches
   5. Highlight matching lines with visual indicator
   6. Support next/previous navigation (Enter/Shift+Enter)
   
   This follows the same pattern as VS Code's search in terminal — custom 
search UI over virtualized content. No backend changes needed since logs are 
already fully loaded on the client.
   
   Will open a PR shortly.


-- 
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]

Reply via email to