-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
[Editor] Implement the new alt text flow (bug 1909604) #18492
Conversation
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/f773a2bf93be13e/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/f773a2bf93be13e/output.txt Total script time: 1.05 mins Published |
282e280
to
93faff9
Compare
93faff9
to
e93f706
Compare
e93f706
to
66406fe
Compare
64cc39b
to
d83aa2a
Compare
Given the sheer size of this PR, it'll take some time for me to properly review all of this. Leaving some high level observations and questions for now:
|
d83aa2a
to
ac27e76
Compare
The soft freeze in m-c is next week (thursday) and we really want it asap.
It should be stabilized now.
We want to experiment the new flow + the ai stuff in the next release and we'll decide what we want to do then.
Whatever we decide, I'll do the cleanup, but for now we must live with I guess. But for sure, we (/I) don't want to have a duplicated flow...
Fixed.
Yes it's.
Fixed.
Fixed. |
Well, I hope you understand that I cannot review well over a thousand lines of new code immediately (and I'm still not at a 100% unfortunately). One quickly observed bug, related to the asynchronicity of the code:
In the console the following is printed (after a short wait):
|
I completely understand your point, but we want to make the experiment in 130.
I fixed it two days ago. |
ac27e76
to
ba9ac21
Compare
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/e9a1e6bcba1d50c/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/e9a1e6bcba1d50c/output.txt Total script time: 1.08 mins Published |
/botio-windows preview |
From: Bot.io (Windows)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.193.163.58:8877/4fcb10597d5cda9/output.txt |
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/4fcb10597d5cda9/output.txt Total script time: 6.03 mins Published |
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 implementation in NewAltTextManager
feels a bit complicated, based on an initial look, but maybe it's not really possible to simplify it?
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 overall. The comments below are everything I've found going over the entire patch, but I'd like to see the updated patch and play with the preview a bit more before approving this.
34630b6
to
c989111
Compare
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 1 Live output at: http://54.241.84.105:8877/a29b2029c3a97fd/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/a29b2029c3a97fd/output.txt Total script time: 1.05 mins Published |
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, with:
- the comments below and the two open tracking comments above addressed;
- passing CI and tests;
- a follow-up issue to create integration tests for the new alt text flow because currently we only test the current/old flow (note that we can wait with that until the new alt text flow is accepted and it's combined with removing the current/old flow).
c989111
to
56ee159
Compare
/botio integrationtest |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/7e80beda939a6ac/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/5dcbb8e369b3d69/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/7e80beda939a6ac/output.txt Total script time: 10.17 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/5dcbb8e369b3d69/output.txt Total script time: 22.65 mins
|
For the Firefox pdf viewer, we want to use AI to guess an alt-text when adding an image to a pdf. For now the telemtry stuff is not implemented and will come soon. In order to test it locally: - set enableAltText, enableFakeMLManager and enableUpdatedAddImage to true. or in Firefox: - set browser.ml.enable, pdfjs.enableAltText and pdfjs.enableUpdatedAddImage to true.
56ee159
to
ed22d93
Compare
/botio integrationtest |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/2a72847ce482545/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/40c2572b4b1f093/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/2a72847ce482545/output.txt Total script time: 8.43 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/40c2572b4b1f093/output.txt Total script time: 20.06 mins
|
@Snuffleupagus is there anything blocking ? |
For the Firefox pdf viewer, we want to use AI to guess an alt-text when adding an image to a pdf. For now the telemtry stuff is not implemented and will come soon.
In order to test it locally:
or in Firefox: