ryanahamilton opened a new pull request #10944:
URL: https://github.com/apache/airflow/pull/10944


   Attempting to make one of the more complex UI interactions more intuitive 
with the following edits:
   
   ### Task Instance Modal
   
   - Adds "X" button to close modal in the top-right as intended by Bootstrap 
patterns ("Close" button in the bottom-right still persists as well).
   - Cleaned up the presentation the modal header by adding "Task Instance/at" 
label/prefixes and moving the very randomly placed Filter (icon) button down 
with the options below as a "Filter Upstream" button. 
   - Removed the "primary" button styling from each of the buttons in the group 
row ("Task Instance Details", "Rendered", etc.). This wasn't appropriate usage 
of a "primary" styling as that designation is used to establish a visual 
hierarchy—in this case all of the actions are considered comparable.
   - Re-ordered each "action" form. (buttons on right instead of left) Forms 
should flow top to bottom OR left to right. This aligns with the user flow of 
electing the related options and then submitting the form.
   - Improved the accessibility of the "action" forms by refactoring the 
underlying markup/scripting to each be wrapped in their own `<form></form>` 
tags so that they can be individually submitted via keyboard (depending on 
focus).
   - Updated the screenshot of this modal [in the 
docs](https://airflow.apache.org/docs/stable/ui.html#task-instance-context-menu).
   
   | Before | After |
   |---|---|
   | 
![image](https://user-images.githubusercontent.com/3267/93137393-630f2980-f6ab-11ea-9d22-ac568db826f8.png)
  |  
![image](https://user-images.githubusercontent.com/3267/93137153-06137380-f6ab-11ea-871d-1470365982fe.png)
 |
   
   ### DAG Modal
   Applies patterns consistent with updates to the Task Instance Modal:
   - Added "DAG:" prefix to the modal header
   - Added "X" close button in top-right of modal
   
   | Before | After |
   |---|---|
   | 
![image](https://user-images.githubusercontent.com/3267/93137258-2a6f5000-f6ab-11ea-9be4-46b6ca4907bc.png)|
  
![image](https://user-images.githubusercontent.com/3267/93137192-14618f80-f6ab-11ea-9c6e-304c4b089b2e.png)
 |
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to