Fix #47708: Ensure dropdown selections are visible (DagRuns and TaskInstancesFilter) #48185
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
The issue identified was that dropdown filters were not fully visible due to a fixed width, which caused truncation and incomplete display of options. Additionally, in the DAG Runs section, the dropdown size was static, limiting usability.
To resolve these issues, I implemented a dynamic sizing mechanism that allows the dropdown to adjust based on its content. Key improvements include:
maxW
): Increased from 250px to 450px, ensuring longer filter names are fully displayed.flexWrap="wrap"
to ensure selected filters are properly displayed, preventing overflow and layout issues.paddingY="8px"
for better spacing and a more polished appearance.SearchBar
) Repositioning: Moved the search bar to a more intuitive location within the layout, enhancing overall user experience without removing functionality.With these improvements, the dropdown filters are now fully visible, dynamically responsive, and more adaptable, providing a smoother and more efficient user experience.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.