You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "shubhamraj-git (via GitHub)" <gi...@apache.org> on 2026/04/04 23:16:02 UTC

[PR] Fix bulk connection delete banner [airflow]

shubhamraj-git opened a new pull request, #64735:
URL: https://github.com/apache/airflow/pull/64735

   Issue - 
   
   <img width="1710" height="973" alt="Screenshot 2026-04-05 at 4 36 30 AM" src="https://github.com/user-attachments/assets/89211f5c-5216-4ae1-b8eb-492f5ad03919" />
   


-- 
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] Fix bulk connection delete banner [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #64735:
URL: https://github.com/apache/airflow/pull/64735#issuecomment-4214375981

   ### Backport successfully created: v3-2-test
   
   Note: As of [Merging PRs targeted for Airflow 3.X](https://github.com/apache/airflow/blob/main/dev/README_AIRFLOW3_DEV.md#merging-prs-targeted-for-airflow-3x)
   the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.
   
   In matter of doubt please ask in [#release-management](https://apache-airflow.slack.com/archives/C03G9H97MM2) Slack channel.
   
   <table>
           <tr>
           <th>Status</th>
           <th>Branch</th>
           <th>Result</th>
       </tr>
       <tr>
           <td>✅</td>
           <td>v3-2-test</td>
           <td><a href="https://github.com/apache/airflow/pull/64961"><img src="https://img.shields.io/badge/PR-64961-blue" alt="PR Link"></a></td>
       </tr>
   </table>


-- 
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] Fix bulk connection delete banner [airflow]

Posted by "shivaam (via GitHub)" <gi...@apache.org>.
shivaam commented on code in PR #64735:
URL: https://github.com/apache/airflow/pull/64735#discussion_r3036302129


##########
airflow-core/src/airflow/ui/src/queries/useBulkDeleteConnections.tsx:
##########
@@ -54,7 +54,9 @@ export const useBulkDeleteConnections = ({ clearSelections, onSuccessConfirm }:
             keys: success.join(", "),
             resourceName: translate("admin:connections.connection_other"),
           }),
-          title: translate("toaster.bulkDelete.success.title"),
+          title: translate("toaster.bulkDelete.success.title", {
+            resourceName: translate("admin:connections.connection_other"),

Review Comment:
   nit: consider `translate("admin:connections.connection", { count: success.length })` here (and for the description's `resourceName` above) to match the count-driven plural pattern used by `DataTable` elsewhere in the UI. It would make the toast grammatically correct for n=1 and for languages with richer plural forms. Since the function is available, seems worth using it
   



-- 
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] Fix bulk connection delete banner [airflow]

Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun merged PR #64735:
URL: https://github.com/apache/airflow/pull/64735


-- 
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] Fix bulk connection delete banner [airflow]

Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on code in PR #64735:
URL: https://github.com/apache/airflow/pull/64735#discussion_r3057923960


##########
airflow-core/src/airflow/ui/src/queries/useBulkDeleteConnections.tsx:
##########
@@ -54,7 +54,9 @@ export const useBulkDeleteConnections = ({ clearSelections, onSuccessConfirm }:
             keys: success.join(", "),
             resourceName: translate("admin:connections.connection_other"),
           }),
-          title: translate("toaster.bulkDelete.success.title"),
+          title: translate("toaster.bulkDelete.success.title", {
+            resourceName: translate("admin:connections.connection_other"),

Review Comment:
   I believe this is consistent with what we have on  bulk delete variables. 
   
   We can follow up with a update for both locations.



-- 
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] Fix bulk connection delete banner [airflow]

Posted by "shivaam (via GitHub)" <gi...@apache.org>.
shivaam commented on code in PR #64735:
URL: https://github.com/apache/airflow/pull/64735#discussion_r3036302129


##########
airflow-core/src/airflow/ui/src/queries/useBulkDeleteConnections.tsx:
##########
@@ -54,7 +54,9 @@ export const useBulkDeleteConnections = ({ clearSelections, onSuccessConfirm }:
             keys: success.join(", "),
             resourceName: translate("admin:connections.connection_other"),
           }),
-          title: translate("toaster.bulkDelete.success.title"),
+          title: translate("toaster.bulkDelete.success.title", {
+            resourceName: translate("admin:connections.connection_other"),

Review Comment:
   nit: consider `translate("admin:connections.connection", { count: success.length })` here (and for the description's `resourceName` above) to match the count-driven plural pattern used by `DataTable` elsewhere in the UI. It would make the toast grammatically correct for n=1 and for languages with richer plural forms. Since the function is available, I think we should use it
   



-- 
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] Fix bulk connection delete banner [airflow]

Posted by "shivaam (via GitHub)" <gi...@apache.org>.
shivaam commented on code in PR #64735:
URL: https://github.com/apache/airflow/pull/64735#discussion_r3036302129


##########
airflow-core/src/airflow/ui/src/queries/useBulkDeleteConnections.tsx:
##########
@@ -54,7 +54,9 @@ export const useBulkDeleteConnections = ({ clearSelections, onSuccessConfirm }:
             keys: success.join(", "),
             resourceName: translate("admin:connections.connection_other"),
           }),
-          title: translate("toaster.bulkDelete.success.title"),
+          title: translate("toaster.bulkDelete.success.title", {
+            resourceName: translate("admin:connections.connection_other"),

Review Comment:
   nit: consider `translate("admin:connections.connection", { count: success.length })` here (and for the description's `resourceName` above) to match the count-driven plural pattern used by `DataTable` elsewhere in the UI — would make the toast grammatically correct for n=1 and for languages with richer plural forms. Not blocking.
   



-- 
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] Fix bulk connection delete banner [airflow]

Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on PR #64735:
URL: https://github.com/apache/airflow/pull/64735#issuecomment-4214359180

   oups, forgot to approve


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