github-actions[bot] opened a new pull request, #76985: URL: https://github.com/apache/airflow/pull/76985
* Add show_icon_with_label option for plugin views Plugin tabs share the tab bar with core tabs and look identical to them at normal widths: a plugin's icon only appears once the bar collapses to icons. Plugin authors have no way to mark their tabs as coming from a plugin. This adds an opt-in key so a plugin can ask for its icon to be shown beside its label. It defaults to False, so existing plugins are unchanged. * Show plugin tab icons beside the label when requested A plugin tab's icon only appeared once the tab bar collapsed to icons, so at normal widths a plugin tab looked exactly like a core tab. Plugins that opt in with show_icon_with_label now keep their icon next to the label. * Keep tab widths fixed when the active tab turns bold The active tab is bold and bold text is wider, so selecting a tab widened it and pushed every tab after it a few pixels sideways. * Note that show_icon_with_label ships in Airflow 3.4.1 (cherry picked from commit 7dfc57945e83945d44c7369e26a0fd0f6d4170eb) Co-authored-by: Kevin Li <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
