-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust JSX element depth from 5 to 7 #45380
Adjust JSX element depth from 5 to 7 #45380
Conversation
0000c69
to
1c7bc7c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 Much needed, was often facing this issue.
Thanks for the fix.
Oh, there are more problems with curent code on main. Seems we need to revert the PR #45273 and make it proper again... |
Oh, thats strange, static check didn't failed for that PR. |
There was a bug in CI and checks were skipped :-( |
Ohh, we need to have it fix, do we have any issue number to track that? |
1c7bc7c
to
5657955
Compare
Now green! |
Nice! |
After merge of PR #45273 the canary failed in UI static checks.
Error run is: https://github.com/apache/airflow/actions/runs/12598486200/job/35113887885
Reason is JSX validation which checks element depth <5 - which in my view does not make sense if we render tables with a few elements that unfortunately easily reach a level of 7 - cutting sub-components does not smell resonable.
Therefore with this PR I propose to change the accepted JSX element depth to 7.
Alternatively we would need to revert and rework the PR #45273 and cut more components to the UI.