Calixte Denizet
a6cb30a9e5
Make sure the focus moves on the first page of the added pdf after a merge (bug 2034827)
2026-05-06 13:42:49 +02:00
Jonas Jenwald
1591ddfa8d
Merge pull request #21157 from Snuffleupagus/eslint-radix
...
Enable the `radix` ESLint rule
2026-04-25 22:27:21 +02:00
Jonas Jenwald
e6dba6ee34
Enable the radix ESLint rule
...
Many `parseInt` call-sites already provide the `radix` argument, and this rule helps improve consistency in the code-base; see https://eslint.org/docs/latest/rules/radix
*Please note:* The rule is disabled in `src/scripting_api/util.js` for now, since it's not obvious at a glance (at least to me) what the correct `radix` argument should be there.
2026-04-25 12:13:12 +02:00
calixteman
30d060c77a
Merge pull request #21151 from calixteman/bug2034568
...
Fix clicking on a thumbnail image not navigating to the correct page when using a screen reader (bug 2034568)
2026-04-25 08:20:25 +02:00
Calixte Denizet
39eb691252
Fix status label mismatch after merging with a pre-existing selection (bug 2034111)
2026-04-24 14:13:53 +02:00
Calixte Denizet
b669fdfc70
Fix clicking on a thumbnail image not navigating to the correct page when using a screen reader (bug 2034568)
...
Screen readers like NVDA fire synthetic click events on the <img> child of the button rather than on the
thumbnailImageContainer element itself, so the strict classList.contains check silently failed.
2026-04-24 10:10:59 +02:00
Calixte Denizet
8c9b819b4e
Add the UI for merging PDFs (bug 2028071)
2026-04-13 19:38:56 +02:00
Calixte Denizet
1b2e98f3ce
Make sure the thumbnails positions are recomputed after a structural change but after a reflow has been done (bug 2028193)
2026-04-07 15:48:23 +02:00
Calixte Denizet
f98ce9ca85
Avoid to have multiple selected pages after copy/cut operations (bug 2026639)
2026-03-26 21:35:10 +01:00
Calixte Denizet
b1d93d0e51
Hide the new badge while a page is selected (bug 2026564)
2026-03-26 19:23:04 +01:00
Calixte Denizet
12a4fc6893
Remove the selection after the pages have been extracted (bug 2025247)
2026-03-23 10:27:44 +01:00
calixteman
5bdeb79b09
Merge pull request #20926 from calixteman/bug2022516
...
Correctly focus the pasted page (bug 2022516)
2026-03-20 17:47:02 +01:00
Calixte Denizet
008181a43e
Add the basic telemetry for Organize feature (bug 2022481)
2026-03-20 14:33:55 +01:00
Calixte Denizet
4aee2e8f2c
Correctly focus the pasted page (bug 2022516)
2026-03-20 11:39:57 +01:00
calixteman
a98449510c
Merge pull request #20913 from calixteman/new_badge
...
Add a new badge close to the Manage button in the sidebar.
2026-03-18 21:38:47 +01:00
Calixte Denizet
85d88e59f3
Add a new badge close to the Manage button in the sidebar.
2026-03-18 21:05:00 +01:00
Calixte Denizet
75cb69eef2
Fix various bug around copy/paste/delete/undo (bug 2022586, bug 2022824, bug 2022884, bug 2023171, bug 2023176)
...
Those bugs are more or less related so it's why they're all fixed together in the same patch.
2026-03-18 13:57:20 +01:00
Calixte Denizet
5493585b54
Try to fix few intermittents bug in reorganize_pages_spec integration tests
2026-03-16 22:00:42 +01:00
calixteman
1d25607b9c
Move 'Save as...' menu to 'Export selected...'
2026-03-13 17:29:12 +01:00
Calixte Denizet
df4a5638d0
Add a button for unchecking all the checked thumbnails (bug 2022769)
2026-03-13 14:18:51 +01:00
calixteman
fbfccebb81
Merge pull request #20850 from calixteman/bug2021828
...
Don't let the user delete/cut all the pages (bug 2021828)
2026-03-13 14:06:01 +01:00
Calixte Denizet
1291f5a32b
Don't let the user delete/cut all the pages (bug 2021828)
...
And dispatch an event only when the context menu is displayed.
2026-03-11 17:23:56 +01:00
Jonas Jenwald
63b4874b39
Remove the enableHWA option from viewer components (PR 20016 follow-up)
...
In PR 20016 the actual uses of the `enableHWA` option was removed from the viewer, but for some reason it's still being provided when initializing `PDFViewer` and `PDFThumbnailViewer` despite the fact that it's now dead code.
2026-03-11 15:28:43 +01:00
calixteman
98f7e859ac
Merge pull request #20837 from calixteman/bug2021934
...
Disable dragging a thumbnail when the user has to paste what they copied (bug 2021934)
2026-03-11 09:13:25 +01:00
Tim van der Meij
bf20d3c7e8
Merge pull request #20838 from calixteman/bug2021886
...
Avoid to have a thumbnail with two paste buttons (bug 2021886)
2026-03-10 20:21:34 +01:00
Calixte Denizet
645ef08764
Avoid to have a thumbnail with two paste buttons (bug 2021886)
2026-03-09 19:10:12 +01:00
Calixte Denizet
7010086cd5
Disable dragging a thumbnail when the user has to paste what they copied (bug 2021934)
2026-03-09 18:10:33 +01:00
Calixte Denizet
210b859a54
Update the context menu after copying thumbnails
2026-03-09 15:36:22 +01:00
Calixte Denizet
0e48c16c3c
Add a UI to undo cut/delete and cancel a copy (bug 2021352, bug 2010832)
...
This happens in a bar on top of the thumbnails sidebar.
The label depending on the selected thumbnails is fixed.
2026-03-09 10:44:11 +01:00
Calixte Denizet
d489ad0b5b
Once a page has been deleted or pasted, make sure the focus stays in the sidebar (bug 2020731)
2026-03-05 21:52:12 +01:00
Calixte Denizet
7f76a111c4
Fix the position of the thumbnails on the last line (bug 2016437)
...
The original issue can only be reproduce when the thumbnails are on two lines.
The fix is just a matter of computing the number of elements on the last line once we've
finished the first line.
2026-03-04 17:30:10 +01:00
Calixte Denizet
d90530b86c
Add the pages organization actions in the Firefox context menu (bug 2018138)
2026-03-04 09:02:39 +01:00
calixteman
68cca32e20
Merge pull request #20785 from calixteman/extract_pages
...
Add a way to extract some pages from a pdf (bug 2019682)
2026-03-04 08:44:13 +01:00
Calixte Denizet
27aea732a2
Fix the paste button position and add a button before the first thumbnail
2026-03-03 21:46:51 +01:00
Calixte Denizet
a474e81b8a
Add a way to extract some pages from a pdf (bug 2019682)
...
The user has to select some pages and then click on the "Save As" menu item in the Manage menu.
If they modify the structure of the pdf (deleted, moved, copied pages), they have to use the usual
save button.
2026-03-03 21:39:13 +01:00
Tim van der Meij
5279646985
Merge pull request #20751 from calixteman/bug2016693
...
Avoid to scroll too much when the thumbnail is at the bottom of the sidebar (bug 2016693)
2026-03-01 21:14:44 +01:00
Calixte Denizet
a251b99e2b
Make the 'add file' button not hidden but just not visible in order to fix the layout
...
The feature will be plugged later.
2026-02-27 16:53:30 +01:00
Calixte Denizet
4b7fa1c003
Avoid to scroll too much when the thumbnail is at the bottom of the sidebar (bug 2016693)
2026-02-26 22:30:13 +01:00
Calixte Denizet
63c340fa35
Add keyboard shortcuts for copying/cutting/deleting the pages (bug 2018139, bug 2010831)
2026-02-22 22:17:59 +01:00
Calixte Denizet
0149527a4b
Add the possibility to navigate with the keyboard to go from a checkbox to an other in the thumbnail view (bug 2016007)
2026-02-18 18:35:54 +01:00
Calixte Denizet
d755fba96a
Add support for deleting, cutting, copying and pasting pages (bug 2010830, 2010831)
2026-02-18 16:43:00 +01:00
calixteman
45c7805daf
Fix types to make "gulp typestest" succeeding
2026-02-13 22:34:04 +01:00
calixteman
4b4ab10c54
Set a pages mapper per loaded document
...
It fixes #20629 .
2026-02-08 21:09:27 +01:00
Jonas Jenwald
023af46186
Replace the IRenderableView interface with an abstract RenderableView class
...
This should help reduce the maintenance burden of the code, since you no longer need to remember to update separate code when touching the different page/thumbnail classes.
2026-02-01 17:56:06 +01:00
Jonas Jenwald
b517b5c597
Remove the IPDFLinkService interface
...
Given that `SimpleLinkService` now extends the regular `PDFLinkService` class, see PR 18013, it should no longer be necessary to keep the interface-definition.
This should help reduce the maintenance burden of the code, since you no longer need to remember to update separate code when touching the `PDFLinkService` class.
2026-02-01 17:53:45 +01:00
Calixte Denizet
dd6a0c6cf4
Add a manage button in the thumbnail view in order to save an edited pdf (bug 2010830)
2026-01-26 18:09:07 +01:00
Calixte Denizet
806133379e
Refactor a bit page mapping stuff in order to be able to support delete/copy pages
2026-01-26 16:53:52 +01:00
Calixte Denizet
f2ac669ee4
Fix the drag marker dimensions in the thumbnails view
...
STR:
- open outline view;
- switch to thumbnails one;
- start to drag a thumbnail.
2026-01-25 21:49:17 +01:00
Calixte Denizet
eb014a36cc
Select the dropped thumbnail (bug 2010820)
2026-01-16 19:54:14 +01:00
Calixte Denizet
5e89981282
Add the possibility to drag & drop some thumbnails in the pages view
...
The goal is to be able to reorganize the pages in a pdf.
2026-01-14 21:04:38 +01:00