You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ephraimbuddy (via GitHub)" <gi...@apache.org> on 2025/06/12 22:57:47 UTC
[PR] Update Import Error display on the UI [airflow]
ephraimbuddy opened a new pull request, #51675:
URL: https://github.com/apache/airflow/pull/51675
Now that the import error file location is relative, I have updated the UI part to display the bundle name along side the relative filename

--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Update Import Error display on the UI [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun merged PR #51675:
URL: https://github.com/apache/airflow/pull/51675
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Update Import Error display on the UI [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on PR #51675:
URL: https://github.com/apache/airflow/pull/51675#issuecomment-2970294129
Just added a small adjustment commit, to add the `components` namespace to the translation hook. It was working without it but we usually request the namespace explicitly for other files.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Update Import Error display on the UI [airflow]
Posted by "ephraimbuddy (via GitHub)" <gi...@apache.org>.
ephraimbuddy commented on code in PR #51675:
URL: https://github.com/apache/airflow/pull/51675#discussion_r2144498371
##########
airflow-core/src/airflow/ui/src/pages/Dashboard/Stats/DAGImportErrorsModal.tsx:
##########
@@ -84,6 +84,10 @@ export const DAGImportErrorsModal: React.FC<ImportDAGErrorModalProps> = ({ impor
{visibleItems.map((importError) => (
<Accordion.Item key={importError.import_error_id} value={importError.filename}>
<Accordion.ItemTrigger cursor="pointer">
+ <Text display="flex" fontWeight="bold">
+ {translate("Bundle name:")}
Review Comment:
Done. It's only for 3.1
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Update Import Error display on the UI [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on code in PR #51675:
URL: https://github.com/apache/airflow/pull/51675#discussion_r2145015920
##########
airflow-core/src/airflow/ui/src/pages/Dashboard/Stats/DAGImportErrorsModal.tsx:
##########
@@ -84,6 +84,10 @@ export const DAGImportErrorsModal: React.FC<ImportDAGErrorModalProps> = ({ impor
{visibleItems.map((importError) => (
<Accordion.Item key={importError.import_error_id} value={importError.filename}>
<Accordion.ItemTrigger cursor="pointer">
+ <Text display="flex" fontWeight="bold">
+ {translate("Bundle name:")}
Review Comment:
addressed.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Update Import Error display on the UI [airflow]
Posted by "bbovenzi (via GitHub)" <gi...@apache.org>.
bbovenzi commented on code in PR #51675:
URL: https://github.com/apache/airflow/pull/51675#discussion_r2143861268
##########
airflow-core/src/airflow/ui/src/pages/Dashboard/Stats/DAGImportErrorsModal.tsx:
##########
@@ -84,6 +84,10 @@ export const DAGImportErrorsModal: React.FC<ImportDAGErrorModalProps> = ({ impor
{visibleItems.map((importError) => (
<Accordion.Item key={importError.import_error_id} value={importError.filename}>
<Accordion.ItemTrigger cursor="pointer">
+ <Text display="flex" fontWeight="bold">
+ {translate("Bundle name:")}
Review Comment:
Search for bundleName in the json files to fine the correct key to use here.
Is this only for 3.1? If not, we'll need to manually back port
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org