Edge3 inherit core UI Theme#60417
Conversation
|
Ah, did not see this PR before asking the question in the other PR... is this backwards-compatible to all Airflow 3.x versions or only 3.1.7++? |
|
Yeah... unfortunately that's 'breaking' (i mean the UI is usable on old core, but looks super ugly, I don't know if 'UI' glitches should be considered breaking semver, we don't for airflow core btw). Currently how it was implemented there was a bug, if the provider define its own theme it overrides the Airflow Core UI. Until now we didn't see it because provider used an exact match of core as a theme, but if someone customize the Core theme with Since this part is still experimental, I would be for cutting a new provider version with airflow core >3.1.7. If that is not possible, we can keep the vendored in theme as a fallback, but that's additional burden and it holds the glitch mentioned above. |
|
Sorry for getting back to you late. Was distracted in a couple of other things... still on my response list :-D I think the most-ugly thing is the coloring of status badges - would it be possible just to make these colored as a fallback and keep the private theme with this? I think it is beneficial if we do not have theming in the providers redundantly. As I see you had a fallback implemented in https://github.com/apache/airflow/pull/60417/changes#diff-0911b95b0582829832b6bfba602604d167d26d7b7cec6d91d7ebc30b49635cb5R43 - can we just keep a minimal theme.js with just the colored buttons as fallback? Then I'd be OK. |
|
And I'd be OK to drop the fallback in a few months but if we release a new edge version in ~2 weeks and need to pin it >3.1.7 then it will be un-usable until we also released 3.1.7... |
7ed04ef to
cda7222
Compare
|
Updated. As discussed, keeping the vendored in core theme as fallback for now. I'll prepare the follow up PR for deletion that we can merge once 3.2 is out. |
jscheffl
left a comment
There was a problem hiding this comment.
Thanks for the rework! Seems to work well!
While testing I just found some nit problem on main... any idea where this might be coming from?
With Airflow 3.1.6 the tags in the Plugin are working, like below
tabs-3.1.6-2026-01-22_22.54.49.mp4
Using the same on main branch, tabs are "broken"
tabs-main-2026-01-22_22.56.57.mp4
Reason seems that initially you are on http://localhost:28080/plugin/edge_executor/worker and clicking on jobs adds /jobs and does not replace suffix, so makes http://localhost:28080/plugin/edge_executor/worker/jobs - clicking further makes http://localhost:28080/plugin/edge_executor/worker/jobs/worker/jobs
Was there a breaking change in the integration that might have a side-effect on the tab rendered in the plugin?
cda7222 to
c198fbd
Compare



Getting rid of the hard copied theme.
Related: #60405
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.