fenix7 opened a new pull request, #61968:
URL: https://github.com/apache/airflow/pull/61968

   ## Summary
   - Add `section_collapsed` boolean property to the Param schema, allowing DAG 
authors to control which sections in the trigger form start collapsed
   - Sections with `section_collapsed=True` on their first param start 
collapsed; others start expanded
   - When no section uses the flag, existing default behavior is preserved 
(only "Run Parameters" expanded)
   - Add `multiple` to Accordion.Root so multiple sections can be open 
simultaneously
   - Demonstrate the feature in `example_params_ui_tutorial.py` on the "Special 
advanced stuff with form fields" section
   
   ## Test plan
   - [x] Run frontend unit tests (`pnpm test`) — 92/93 passing (1 pre-existing 
failure unrelated to this change)
   - [ ] Open the trigger form for the `example_params_ui_tutorial` DAG and 
verify "Special advanced stuff with form fields" starts collapsed
   - [ ] Verify all other sections start expanded by default
   - [ ] Verify sections can be manually expanded/collapsed by clicking
   - [ ] Verify that DAGs without `section_collapsed` retain the original 
behavior
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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