-
Notifications
You must be signed in to change notification settings - Fork 941
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
kiosk printing #1034
kiosk printing #1034
Conversation
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.
❌ Changes requested. Reviewed everything up to cae4b90 in 50 seconds
More details
- Looked at
34
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_Yw2adooBWEhVj6wl
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
@@ -28,16 +28,6 @@ def load_js_script() -> str: | |||
raise e |
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.
The get_print_triggered
and reset_print_triggered
methods reference window.__printTriggered
, which is no longer set due to the removal of the DISABLE_PRINTER_WITH_FLAG
script. This could lead to logical errors if these methods are used.
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.
👍 Looks good to me! Incremental review on 7c1274e in 25 seconds
More details
- Looked at
61
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. skyvern/webeye/utils/page.py:118
- Draft comment:
Theget_print_triggered
andreset_print_triggered
methods related to theDISABLE_PRINTER_WITH_FLAG
snippet should be removed as they are unused. This applies to the entireSkyvernFrame
class if these methods are the only ones using the snippet. - Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable:
The comment is about methods that were removed in the diff, so it is relevant to the changes. However, the part about theSkyvernFrame
class is speculative and not directly related to the change. The comment should be partially kept, focusing only on the removed methods.
I might be overanalyzing the speculative part of the comment. The entire comment could be seen as relevant since it addresses the removed methods.
The speculative part about theSkyvernFrame
class is not necessary for understanding the change made in the diff. The focus should be on the removed methods.
Keep the part of the comment that addresses the removal of theget_print_triggered
andreset_print_triggered
methods, but remove the speculative part about theSkyvernFrame
class.
Workflow ID: wflow_J1obZkXyti9Zw4Sb
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Add kiosk printing support by introducing
--kiosk-printing
argument and removing unused code.--kiosk-printing
argument tobuild_browser_args()
inbrowser_factory.py
to enable automatic printing.DISABLE_PRINTER_WITH_FLAG
JavaScript snippet frompage.py
.handle_click_to_download_file_action()
inhandler.py
.This description was created by
for 7c1274e. It will automatically update as commits are pushed.