-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add full screen view for logs #45183
Conversation
Note: As PR #45312 has been merged, the code formatting rules have changed for new UI. Please rebase and re-run pre-commit checks to ensure that formatting in folder airflow/ui is adjusted. |
209fe61
to
d332c7f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working as expected.
A few minor suggestions.
This reverts commit 956ff7c.
d332c7f
to
ee5dec2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working as expected.
Code looks good too.
Thanks @pierrejeambrun and @bbovenzi |
* Add full screen view for log. * Use text button instead of icon. * Revert "Use text button instead of icon." This reverts commit 956ff7c. * Use icon and revert text button. * Refactor to header component for reuse. Show task tries in fullscreen. * Refactor log content to separate component for reuse.
* Add full screen view for log. * Use text button instead of icon. * Revert "Use text button instead of icon." This reverts commit 956ff7c. * Use icon and revert text button. * Refactor to header component for reuse. Show task tries in fullscreen. * Refactor log content to separate component for reuse.
* Add full screen view for log. * Use text button instead of icon. * Revert "Use text button instead of icon." This reverts commit 956ff7c. * Use icon and revert text button. * Refactor to header component for reuse. Show task tries in fullscreen. * Refactor log content to separate component for reuse.
Related #44663 (comment)
It will be useful to have logs open in full screen view to read the logs. Currently the tab and task details are still present on scroll taking more space. Legacy logs page had more screen space which was useful for our users internally. The implementation is simple that uses dialog to display the same code block with wrap and other styles applied in full screen mode.
Notes for reviewer and self :
Full screen