cmarteepants opened a new issue, #53045: URL: https://github.com/apache/airflow/issues/53045
### Body ### View DAG View - Code tab <img width="1738" height="771" alt="Image" src="https://github.com/user-attachments/assets/56a2f0f9-718f-4ed4-9e8a-c56db5ff82b5" /> ### Proposed Improvements - **Text Search (within DAG code)** ↪ Enables quick lookup of task IDs, parameter names, function names, or config snippets - **Toggle for File Diff (across DAG Versions)** ↪ Helps users understand changes introduced between versions (especially when troubleshooting regressions) - **Section Filter (e.g., show only task definitions, schedule config, etc.)** ↪ Useful when scanning long DAG files to focus on relevant areas (e.g., `@task` decorators, `@asset` functions) ### API Support ❌ No - DAG source code is retrieved in full via the `/dagSource` endpoint. - No server-side support for search, diff, or section indexing currently exists. ### UI Impact - Text search input could be added above the code viewer, with inline highlighting. - A toggle for DAG version comparison could enable unified or split diff views. - Section filters could be implemented via regex (e.g., jump to task definitions) or indexing during parsing. ### Notes - Particularly helpful for large DAGs with many custom functions or inline logic - Would bring the UI experience closer to modern IDEs, improving developer ergonomics ### Committer - [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project. -- 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]
