Skip to content

Conversation

@pierrejeambrun
Copy link
Member

@pierrejeambrun pierrejeambrun commented Jun 13, 2025

Remove the offset from the search param when we modify DagFilters.

Otherwise this would wrongly display "no result found" on the front-end but just because we are requesting an offset that does not exist.

How to reproduce:

  • Browse the dag list, going for instance to page 2 or 3.
  • Modify one of the filters of the DagsFilters component, see that 'no results' will appear (suposing there isn't 2 or 3 pages of result for that filtered query), but actually there are some results.

Before

(clicking on "failed" when on page 3 will not reset the offset to 0, API will resturn no result for page 3 + failed state ending up in no result displayed in the UI).
Screenshot 2025-06-13 at 16 37 26

After

(clicking on "failed" when on page 3 will reset the offset to 0 and display the proper result)
Screenshot 2025-06-13 at 16 36 11

@pierrejeambrun pierrejeambrun added this to the Airflow 3.0.3 milestone Jun 13, 2025
@pierrejeambrun pierrejeambrun self-assigned this Jun 13, 2025
@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Jun 13, 2025
@pierrejeambrun pierrejeambrun added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Jun 13, 2025
@pierrejeambrun pierrejeambrun merged commit 5de7cda into apache:main Jun 13, 2025
44 checks passed
@pierrejeambrun pierrejeambrun deleted the reset-offset-when-dag-filtering-occurs branch June 13, 2025 14:45
@github-actions
Copy link

Backport failed to create: v3-0-test. View the failure log Run details

Status Branch Result
v3-0-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 5de7cda v3-0-test

This should apply the commit to the v3-0-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

choo121600 pushed a commit to choo121600/airflow that referenced this pull request Jun 14, 2025
pierrejeambrun added a commit to astronomer/airflow that referenced this pull request Jun 16, 2025
pierrejeambrun added a commit to astronomer/airflow that referenced this pull request Jun 16, 2025
@pierrejeambrun
Copy link
Member Author

pierrejeambrun commented Jun 16, 2025

Manual backport pick #51795

pierrejeambrun added a commit that referenced this pull request Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants