Implement a context menu modal for text recognition
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox105 | --- | fixed |
People
(Reporter: gregtatum, Assigned: gregtatum)
References
(Blocks 2 open bugs)
Details
Attachments
(5 files)
For the initial text recognition in images implementation, we are going with a modal that displays the text. This is triggered via a context menu.
| Assignee | ||
Comment 1•3 years ago
|
||
This code will most likely be removed, but for now I am putting it
behind a pref so that it won't be activated when the modal is being
created.
See Bug 1782582 for the removal of the code.
| Assignee | ||
Comment 2•3 years ago
|
||
This matches what is in the Figma spec.
Depends on D153393
| Assignee | ||
Comment 3•3 years ago
|
||
The implementation follows after this, but I felt it made the code
easier to read to by splitting it out.
Depends on D153394
| Assignee | ||
Comment 4•3 years ago
|
||
This patch contains the bulk of the implementation of the modal. Most of
it is UI work and wiring together the various components. There is a bit
of complexity in the clustering algorithm, as I implemented the DBSCAN
algorithm to help cluster the text recognition results.
I filed Bug 1782586 to improve the DBSCAN algorithm, but currently it
works the same as the algorithm is described on Wikipedia.
Note that the tests are in the following patch in order to keep the line
count small for this patch.
Depends on D153395
| Assignee | ||
Comment 5•3 years ago
|
||
Depends on D153396
Comment 7•3 years ago
•
|
||
Backed out for causing mochitest failures on browser_parsable_css.js
| Assignee | ||
Updated•3 years ago
|
Comment 9•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a77a405173ff
https://hg.mozilla.org/mozilla-central/rev/7dac35a8d6de
https://hg.mozilla.org/mozilla-central/rev/3e858b2ed1c5
https://hg.mozilla.org/mozilla-central/rev/e183536cb8d9
https://hg.mozilla.org/mozilla-central/rev/ee4685a4e583
Description
•