pedro-cf opened a new issue, #67851:
URL: https://github.com/apache/airflow/issues/67851

   ### Under which category would you file this issue?
   
   Airflow Core
   
   ### Apache Airflow version
   
   3.2.2
   
   ### What happened and how to reproduce it?
   
   When a DAG param has a long **name** (the key shown as the field label), the 
Trigger DAG modal does not fit the label: text runs past the modal edge or 
breaks the layout. Shorter names are fine; the problem is label length, not the 
number of params.
   
   **How to reproduce:**
   1. Define a DAG with a param whose name is a long string.
   2. Open Trigger DAG for that DAG in the AF3 UI.
   3. The param label overflows the modal width.
   
   **Example DAG:**
   ```
   from airflow.sdk import Param, dag, task
   
   
   @dag(
       dag_id="trigger_long_param_name",
       schedule=None,
       params={
           
"lorem_ipsum_dolor_sit_amet_consectetur_adipiscing_elit_sed_do_eiusmod_tempor_incididunt_lorem_ipsum_dolor_sit_amet_consectetur_adipiscing_elit_sed_do_eiusmod_tempor_incididunt":
 Param(
               default=False,
               type="boolean",
           ),
       },
   )
   def trigger_long_param_name():
       @task
       def echo_params():
           pass
   
       echo_params()
   
   
   trigger_long_param_name()
   ```
   
   **Preview**:
   
   <img width="2465" height="728" alt="Image" 
src="https://github.com/user-attachments/assets/218bf86c-0529-48a6-bb2d-a6e398dcaba3";
 />
   
   ### What you think should happen instead?
   
   The Trigger DAG modal should grow wider when the viewport has space, so 
longer param names can be shown without clipping.
   
   Only after a reasonable maximum width is reached (e.g. most of the screen) 
should the UI apply a fallback: wrap the label, truncate with ellipsis plus 
tooltip, or similar.
   
   ### Operating System
   
   Ubuntu 24.04.4 LTS
   
   ### Deployment
   
   None
   
   ### Apache Airflow Provider(s)
   
   _No response_
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Official Helm Chart version
   
   Not Applicable
   
   ### Kubernetes Version
   
   _No response_
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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

Reply via email to