Skip to content
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

Copy menu_item href for nav bar #39282

Merged
merged 2 commits into from
Apr 27, 2024

Conversation

bbovenzi
Copy link
Contributor

@bbovenzi bbovenzi commented Apr 26, 2024

In #39229, we forgot to copy the menu href and then all the nav bar links were broken.


^ 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.

@bbovenzi bbovenzi requested a review from potiuk April 26, 2024 20:44
@bbovenzi bbovenzi added this to the Airflow 2.9.1 milestone Apr 26, 2024
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

Would it make sense to have this regressionchecked in tests/auth/managers/test_base_auth_manager.py as the PR which introduced this also added a test?

jedcunningham
jedcunningham previously approved these changes Apr 26, 2024
@jedcunningham jedcunningham added the type:bug-fix Changelog: Bug Fixes label Apr 26, 2024
@jedcunningham jedcunningham dismissed their stale review April 27, 2024 04:27

Dismissing my review, since I just changed the whole PR :)

@jedcunningham
Copy link
Member

I refactored this so, in the very off chance MenuItem gets a new kwarg/attr, we don't skip it. I also added a test. Please take another look everyone!

@jedcunningham jedcunningham merged commit 25f901a into apache:main Apr 27, 2024
41 checks passed
@jedcunningham jedcunningham deleted the fix-menu-item-copy branch April 27, 2024 16:21
jedcunningham pushed a commit that referenced this pull request Apr 27, 2024
Co-authored-by: Jed Cunningham <jedcunningham@apache.org>
(cherry picked from commit 25f901a)
RodrigoGanancia pushed a commit to RodrigoGanancia/airflow that referenced this pull request May 10, 2024
Co-authored-by: Jed Cunningham <jedcunningham@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants