Stirling-PDF/frontend/src/core/utils
Anthony Stirling 87bf7a5b7f
Add edit table of contents tool to React UI (#4917)
## Summary
- add a dedicated edit table of contents tool to the React UI, complete
with bookmark editor, import/export actions, and parameter handling
- register the tool in the translated registry and extend the English
translations with the new strings
- wire up the backend endpoints through a new operation hook and
form-data serialization helpers

## Testing
- ./gradlew build

------
[Codex
Task](https://chatgpt.com/codex/tasks/task_b_691a4a87a9c4832899ecd1c55989f27f)

---------

Co-authored-by: Reece Browne <74901996+reecebrowne@users.noreply.github.com>
2025-11-18 15:07:12 +00:00
..
bulkselection Feature/v2/extract pages (#4828) 2025-11-06 13:57:31 +00:00
automationExecutor.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
automationFileProcessor.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
clickHandlers.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
convertUtils.test.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
convertUtils.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
cropCoordinates.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
downloadUtils.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
editTableOfContents.ts Add edit table of contents tool to React UI (#4917) 2025-11-18 15:07:12 +00:00
fileHash.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
fileHistoryUtils.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
fileIdSafety.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
fileResponseUtils.test.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
fileResponseUtils.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
fileUtils.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
fuzzySearch.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
genericUtils.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
hotkeys.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
languageMapping.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
pageMetadata.ts Viewer update and autozoom (#4800) 2025-11-10 13:52:13 +00:00
pageSelection.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
resourceManager.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
scarfTracking.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
scriptLoader.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
settingsNavigation.ts Add audit system, invite links, and usage analytics (#4749) 2025-11-06 17:29:34 +00:00
settingsPendingHelper.ts Add audit system, invite links, and usage analytics (#4749) 2025-11-06 17:29:34 +00:00
sidebarUtils.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
signatureFlattening.ts Feature/v2/compare tool (#4751) 2025-11-12 14:54:01 +00:00
storageUtils.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
textDiff.ts Feature/v2/compare tool (#4751) 2025-11-12 14:54:01 +00:00
textUtils.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
thumbnailUtils.ts Viewer update and autozoom (#4800) 2025-11-10 13:52:13 +00:00
toolErrorHandler.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
toolResponseProcessor.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
toolSearch.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
toolSynonyms.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
urlMapping.ts [V2] feat(convert): add support for CBZ to PDF and PDF to CBZ conversion (#4831) 2025-11-12 15:27:41 +00:00
urlRouting.ts Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
viewerZoom.ts Chore/v2/fix auto zoom (#4903) 2025-11-18 13:43:52 +00:00