Calixte Denizet
b6fcb523c5
[Editor] Allow to save an edited comment in using CTRL+Enter shortcut.
2025-11-24 20:20:31 +01:00
Calixte Denizet
039b9e4df3
When searching for a group of punctuation signs, only add extraspaces around the group
...
It fixes #20225 .
And only add the extra spaces where it's required depending on their position in the query string.
2025-11-21 18:59:37 +01:00
Calixte Denizet
b9368b576d
Lint and format the HTML in using Prettier
...
The linter found some issues in viewer.html with </input> which isn't required
and a missing closing div in test/resources/reftest-analyzer.html.
The HTML can now be nicely formatted. In order to not break the build for
mozilla-central, the preprocessor has been fixed in order to take into account
the white spaces at the beginning of a comment line.
And finally, make .prettierrc (which is supposed to be either json or yaml)
itself lintable.
2025-11-18 17:22:50 +01:00
Calixte Denizet
50c48cf11b
Add telemetry for tagged pdfs (bug 1997134)
2025-11-17 19:47:16 +01:00
Tim van der Meij
6e7a6eb52b
Merge pull request #20408 from calixteman/fix_mml_encoding
...
Don't set the MathML namespace for attributes in MathML tags (bug 1997343)
2025-11-01 14:58:15 +01:00
Tim van der Meij
c696648826
Merge pull request #20404 from mozilla/revert-20031-telemetry_signature_certificate
...
Revert "Add some telemetry in order to know what are the certificates used in pdfs (bug 1973573)"
2025-11-01 14:55:07 +01:00
Calixte Denizet
6db23139be
Don't set the MathML namespace for attributes in MathML tags (bug 1997343)
...
And by default a XML file is UTF-8 encoded so correctly decode the embedded file.
2025-10-30 18:37:19 +01:00
calixteman
27bb5fb173
Merge pull request #20406 from gregtatum/text-extractor
...
Add text extractor as an external service
2025-10-30 17:23:18 +01:00
Greg Tatum
b7708da368
Address review feedback
2025-10-30 09:48:46 -05:00
Greg Tatum
26360c3e63
Add text extractor for an external service
2025-10-29 13:15:51 -05:00
calixteman
aeceee1df3
Revert "Add some telemetry in order to know what are the certificates used in pdfs (bug 1973573)"
2025-10-29 15:41:34 +01:00
calixteman
520363b350
Merge pull request #20384 from calixteman/bug1937438
...
Make MathML elements visible in the struct tree (bug 1937438)
2025-10-23 17:55:42 +02:00
Calixte Denizet
e5a62c8d06
Make MathML elements visible in the struct tree (bug 1937438)
...
It'll help to make math equations "visible" for screen readers.
MS Office has a specific way to add some MathML code to struc tree leaf
and this patch handles it.
2025-10-23 16:29:01 +02:00
calixteman
f6317ddbbb
Merge pull request #20389 from calixteman/bug1995579
...
[Editor] Make sure the left (resp. right) corner of the popup is visible when in LTR (resp. RTL) (bug 1995579)
2025-10-23 09:01:50 +02:00
calixteman
1b5ecd36e4
Merge pull request #20387 from calixteman/bug1995721
...
[Editor] Fix the css of the link in the comment sidebar (bug 1995721)
2025-10-23 09:00:48 +02:00
Calixte Denizet
cb36dc28a7
[Editor] Make sure the left (resp. right) corner of the popup is visible when in LTR (resp. RTL) (bug 1995579)
2025-10-22 22:47:20 +02:00
Calixte Denizet
ad9bcabee3
[Editor] Fix the css of the link in the comment sidebar (bug 1995721)
2025-10-22 16:18:37 +02:00
Calixte Denizet
abfa1495d5
[Editor] Fix the css of the button to close the comment sidebar (bug 1995766)
2025-10-22 16:05:26 +02:00
Calixte Denizet
f5a6dd4164
[Annotation] Use the annotations rect in order to fix the order in the DOM (bug 1987914)
...
It's just a partial fix for bug 1987914 but the time spent to add the annotations in the DOM
is divided by 5.
2025-10-09 17:43:49 +02:00
calixteman
8ba18075f2
Merge pull request #20344 from calixteman/bug1992770
...
[Editor] Make sure that annotation positions in the DOM respect the visual order (bug 1992770)
2025-10-08 16:55:01 +02:00
Calixte Denizet
41dea1e38b
[Editor] Make sure that annotation positions in the DOM respect the visual order (bug 1992770)
2025-10-08 15:11:09 +02:00
Calixte Denizet
2d759a5f4b
[Editor] Remove the role radio for the editing buttons (bug 1990826)
2025-10-08 14:45:28 +02:00
Calixte Denizet
76e0de6c08
[Editor] Make sure the editor is focused after the comment has been deleted (bug 1992832)
2025-10-07 21:31:09 +02:00
Calixte Denizet
3ecefa5e0c
[Editor] Slightly move the resizer in the sidebar comment in order to make it easier to use (bug 1992385)
...
And highlight the resizer when hovering it.
2025-10-03 17:07:42 +02:00
calixteman
e1de28c866
Merge pull request #20328 from calixteman/fix_dialog_position
...
[Editor] Make sure the comment dialog always have relative coordinates between 0% and 100%
2025-10-03 09:17:09 +02:00
Calixte Denizet
2aef871d5d
[Editor] Make sure the comment dialog always have relative coordinates between 0% and 100%
...
This way, when the window is resized, the dialog stay visible.
2025-10-02 18:55:55 +02:00
calixteman
9d917b2896
Merge pull request #20323 from calixteman/bug1991482
...
Increase the rendering quality of the detail view (bug 1991482)
2025-10-01 19:29:17 +02:00
Calixte Denizet
91e2f6c400
Increase the rendering quality of the detail view (bug 1991482)
...
But keep a lower quality when enableOptimizedPartialRendering is true because we need to compensate the time
used to compute the bboxes and since subsequent rendering are faster it's more acceptable to see
a lower quality image for few tenths of seconds.
2025-10-01 16:40:41 +02:00
Calixte Denizet
bb556dcb5c
[Editor] Add the possibility to unselect a comment from the sidebar
2025-10-01 14:36:12 +02:00
calixteman
d18289bccb
Merge pull request #20321 from calixteman/bug1989420
...
[Editor] Add a fake annotation (in the annotation layer) associated with an editor in order to be able to show the comment button (bug 1989420)
2025-10-01 00:40:13 -11:00
Calixte Denizet
12066af578
[Editor] Add a fake annotation (in the annotation layer) associated with an editor in order to be able to show the comment button (bug 1989420)
2025-10-01 09:08:57 +02:00
Calixte Denizet
7041459fc0
[Editor] Remove useless sidebar css
2025-09-26 22:32:54 +02:00
Calixte Denizet
02ddf277ab
[Editor] Add some telemetry for the commenting feature (bug 1991172)
2025-09-26 21:04:09 +02:00
Calixte Denizet
7fc7b79cd0
[Annotation] In reading mode with new commment stuff enabled, use the comment popup for annotations without a popup but with some contents (bug 1991029)
2025-09-26 18:24:55 +02:00
calixteman
28fb4f0f47
Merge pull request #20310 from calixteman/bug1990762
...
[Editor] Show the comments in the sidebar in the chronological order,newest to oldest (bug 1990762)
2025-09-26 11:09:27 +02:00
Calixte Denizet
f854770806
[Editor] Show the comments in the sidebar in the chronological order, newest to oldest (bug 1990762)
2025-09-26 10:10:43 +02:00
Calixte Denizet
5f832757bd
[Editor] Fix the URL for the 'Learn more' link in the comment sidebar (bug 1990454)
2025-09-26 09:16:36 +02:00
Calixte Denizet
442932f0b3
[Editor] Move the focus to the comment button once editing is done (bug 1990820)
2025-09-25 20:17:52 +02:00
Calixte Denizet
a372294ea3
[Editor] Make the comment sidebar resizable (bug 1990544)
2025-09-25 15:29:41 +02:00
calixteman
8448d08345
Merge pull request #20300 from calixteman/bug1990499
...
[Editor] Fix the button labels in the comment dialog (bug 1990499)
2025-09-25 15:29:20 +02:00
Calixte Denizet
7b67ed3454
[Editor] Fix the button labels in the comment dialog (bug 1990499)
2025-09-24 18:18:43 +02:00
Calixte Denizet
0427c1d93c
[Editor] Use some percent coordinates for the comment dialog (bug 1990104)
2025-09-24 17:59:30 +02:00
Calixte Denizet
80c7aee347
[Editor] Avoid to use similar colors for background and foreground colors in HCM (bug 1990082)
2025-09-24 17:04:27 +02:00
Calixte Denizet
3f1dbbcb77
[Editor] Don't add scrollbars when it's useless in the comment sidebar (bug 1990099)
2025-09-24 15:38:13 +02:00
calixteman
ae3c23e28a
Merge pull request #20291 from calixteman/bug1977269
...
[Editor] When in HCM, don't apply light/dark color in the comment buttons (bug 1977269)
2025-09-23 20:27:01 +02:00
calixteman
225b07aa29
Merge pull request #20283 from calixteman/bug1989304
...
[Editor] Make sure the comment dialog is visible on the screen (bug 1989304)
2025-09-23 19:30:28 +02:00
Calixte Denizet
5d079c10b6
[Editor] When in HCM, don't apply light/dark color in the comment buttons (bug 1977269)
...
Add fix the color name to use in HCM.
2025-09-22 17:31:11 +02:00
Calixte Denizet
623d422ddb
[Editor] Make sure the comment dialog is visible on the screen (bug 1989304)
2025-09-18 21:23:42 +02:00
Tim van der Meij
20f31d782b
Merge pull request #20281 from calixteman/comment_dialog_focus
...
[Editor] Fix the focus outline for the comment dialog buttons
2025-09-18 20:50:50 +02:00
Calixte Denizet
a1906f02d9
[Editor] Fix the focus outline for the comment dialog buttons
...
And add an aria label to the dialog.
2025-09-18 14:01:07 +02:00