Skip to content

Conversation

@RoyLee1224
Copy link
Contributor

@RoyLee1224 RoyLee1224 commented Aug 17, 2025

This PR removes the redundant enabled: !isNaN(pageSize) check from several API service hooks.

This check was originally added as a defensive fix for a race condition (see #44989), but the underlying issue has been resolved in #45095 by using a router loader to ensure the page size config is always pre-loaded.

As a result, this enabled check is now redundant and can be removed. This cleanup was discussed in #54049 comment.

I have checked the affected pages locally. The original offset=NaN bug does not reappear and that no new console errors are introduced after this PR.


^ 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 airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Aug 17, 2025
Copy link
Member

@guan404ming guan404ming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, another quick review would help confirm I didn’t overlook anything

@bbovenzi bbovenzi merged commit ef23f85 into apache:main Aug 18, 2025
54 checks passed
@RoyLee1224 RoyLee1224 deleted the chore/remove-redundant-enabled-check branch August 19, 2025 16:26
mangal-vairalkar pushed a commit to mangal-vairalkar/airflow that referenced this pull request Aug 30, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants