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

   Clearing or marking task instances spread over several runs meant opening 
each one from the Grid, or rebuilding the same set by hand in the Task 
Instances list (#33448). Cells can now be selected directly in the Grid:
   
   - Ctrl + click (Cmd + click on macOS) adds or removes a cell. The task 
instance that is currently open is part of the selection, as the active cell is 
in a spreadsheet.
   - Shift + click selects every cell between the last picked (or currently 
open) cell and the clicked one.
   - A plain click clears the selection and opens the task instance as before.
   
   The selection opens the action bar the Task Instances list already uses, 
with the same Clear, Mark as and Delete actions, so the dialogs, dry runs and 
options behave the same way in both places.
   
   A selected cell acts on what clicking it opens: a mapped task's cell covers 
all of its mapped task instances. A looped task's cell is not selectable: it 
summarizes every iteration while its link opens only the newest one, so a bulk 
action on it would be ambiguous. Task group cells are not selectable either. 
Modified clicks on those cells keep the browser's default behavior.
   
   closes: #33448
   
   | Before | Ctrl/Cmd + click |
   | --- | --- |
   | <img src="ASSET_BASE/33448-before.png" width="450"> | <img 
src="ASSET_BASE/33448-ctrl.png" width="450"> |
   
   | Shift + click | Clear dialog for the selection |
   | --- | --- |
   | <img src="ASSET_BASE/33448-shift.png" width="450"> | <img 
src="ASSET_BASE/33448-clear-dialog.png" width="450"> |
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 5.5)
   
   Generated-by: Claude Code (Opus 5.5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


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