Skip to content
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

[FEATURE] Client-side paging #878

Draft
wants to merge 76 commits into
base: master
Choose a base branch
from

Commits on Sep 25, 2024

  1. Add explanation about addHighlightField method

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    a8a6b81 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3043018 View commit details
    Browse the repository at this point in the history
  3. Refactor: Format code

    - Remove unused import
    - Replace tabs with spaces
    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    fc96716 View commit details
    Browse the repository at this point in the history
  4. Refactor: Move JS from template to new Navigation.js

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    12e2fa2 View commit details
    Browse the repository at this point in the history
  5. Make loaded document a global variable

    This will allow the navigation plugin to access the document, e.g., to
    get the number of pages.
    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    60c8230 View commit details
    Browse the repository at this point in the history
  6. Fix naming pageBack vs. pageStepBack

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    949f4dd View commit details
    Browse the repository at this point in the history
  7. Handle all forward/back navigation buttons

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    a68f39d View commit details
    Browse the repository at this point in the history
  8. Enable/disable nav buttons on client, + refactor

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    9c46d23 View commit details
    Browse the repository at this point in the history
  9. Create WIP documentation page

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    bf15ca1 View commit details
    Browse the repository at this point in the history
  10. Include page object in pageChanged event, start typing

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    90e65c5 View commit details
    Browse the repository at this point in the history
  11. Update metadata table on page change

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    3c2499d View commit details
    Browse the repository at this point in the history
  12. Add Data Structure for Client Side Fulltext Reload

    Matthias Richter authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    3d2bd9d View commit details
    Browse the repository at this point in the history
  13. Adapt Fulltext Datastructure to Metadata and Document

    Matthias Richter authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    a79caa2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6891a3a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    bda7d4a View commit details
    Browse the repository at this point in the history
  16. Fix reference to fulltextControl

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    f1e59d7 View commit details
    Browse the repository at this point in the history
  17. Set navigation select value on page change

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    1ebf970 View commit details
    Browse the repository at this point in the history
  18. Fix: First load data in Doc::getLogicalSectionsOnPage

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    0cd5cf3 View commit details
    Browse the repository at this point in the history
  19. Start implementing history/browser navigation

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    f6f9d97 View commit details
    Browse the repository at this point in the history
  20. Refactor: In document JSON, store pages in subkey

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    69398a3 View commit details
    Browse the repository at this point in the history
  21. Refactor: Wrap image URL & MIME type into subkey

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    1e3261a View commit details
    Browse the repository at this point in the history
  22. Extract Doc::getPageLink()

    Prepare listing download URLs in document JSON
    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    128cb35 View commit details
    Browse the repository at this point in the history
  23. List download URLs in document JSON

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    6a4044d View commit details
    Browse the repository at this point in the history
  24. Update page download links on page change

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    9b862d2 View commit details
    Browse the repository at this point in the history
  25. Refactor: Avoid manual JSON encoding

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    10b1841 View commit details
    Browse the repository at this point in the history
  26. Include all file groups/URLs in document JSON

    Prepare to migrate the image download tool, which uses a configurable
    file group.
    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    944c654 View commit details
    Browse the repository at this point in the history
  27. Update image download links on page change

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    0f2b668 View commit details
    Browse the repository at this point in the history
  28. Start implementing client-side double page mode

    - Consider in pageview, toolbox, navigation, metadata
    - Allow toggling single page / double page without page reload
    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    1209a75 View commit details
    Browse the repository at this point in the history
  29. Simplify: Remove pageObj and target from event detail

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    a678322 View commit details
    Browse the repository at this point in the history
  30. Simplify: Merge pageChanged and configChanged events

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    fe4a9cd View commit details
    Browse the repository at this point in the history
  31. Fix back buttons when using route enhancers

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    d03ac0a View commit details
    Browse the repository at this point in the history
  32. Generalize URL generation to work with slugs

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    b755540 View commit details
    Browse the repository at this point in the history
  33. Fix pdf and image download links

    Matthias Richter authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    61d7d31 View commit details
    Browse the repository at this point in the history
  34. TOC: Add option to render full table of contents

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    ade3dae View commit details
    Browse the repository at this point in the history
  35. Add client side navigation from table of contents

    Matthias Richter authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    0826f5b View commit details
    Browse the repository at this point in the history
  36. Add separate marker for metadata list

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    9c284c4 View commit details
    Browse the repository at this point in the history
  37. Start implementing dynamic TOC expansion

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    850c6db View commit details
    Browse the repository at this point in the history
  38. Update URL on page change

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    53f7a52 View commit details
    Browse the repository at this point in the history
  39. Optimize document JSON generation for METS

    The `xpath()` calls in `getFileLocation` and `getFileMimeType` seem to
    be slow, which has been quite noticeable in documents that contain many
    files.
    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    f8379ba View commit details
    Browse the repository at this point in the history
  40. Fix disabling of lastPage navigation button

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    059d278 View commit details
    Browse the repository at this point in the history
  41. Cache pageview layers

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    7658762 View commit details
    Browse the repository at this point in the history
  42. Update Page URL Template for Use with Page Grid

    Matthias Richter authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    432072d View commit details
    Browse the repository at this point in the history
  43. Add document plugin for JSON representation

    Matthias Richter authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    38972d5 View commit details
    Browse the repository at this point in the history
  44. Move document initialisation to document plugin

    Matthias Richter authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    c37df7c View commit details
    Browse the repository at this point in the history
  45. Move document handling to dlfController via event

    Matthias Richter authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    195a39c View commit details
    Browse the repository at this point in the history
  46. Start moving getVisiblePages to dlfController

    Matthias Richter authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    2f274ba View commit details
    Browse the repository at this point in the history
  47. Use getVisiblePages() of dlfController

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    e0244c9 View commit details
    Browse the repository at this point in the history
  48. Refactor: Extract dlfController::eventTarget

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    a8d2c99 View commit details
    Browse the repository at this point in the history
  49. Refactor: Don't dispatch stateChanged manually

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    5556f0a View commit details
    Browse the repository at this point in the history
  50. Refactor: Dissolve global tx_dlf_loaded

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    16a101a View commit details
    Browse the repository at this point in the history
  51. [EXT] Reinstate registry

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    80611c3 View commit details
    Browse the repository at this point in the history
  52. [EXT] Memoize MetsDocument::getStructureDepth()

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    f3dd140 View commit details
    Browse the repository at this point in the history
  53. Fetch prerendererd metadata dynamically

    On large documents, rendering metadata of all sections can take a
    considerable amount of time.
    
    Instead, allow to just render the current metadata, and fetch the
    additional metadata in an API call.
    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    e48d5c4 View commit details
    Browse the repository at this point in the history
  54. Convert TODO to TODO(client-side)

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    f32e3cf View commit details
    Browse the repository at this point in the history
  55. Update and extend documentation

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    c8be739 View commit details
    Browse the repository at this point in the history
  56. Update .editorconfig (4 spaces for JS) to reflect actual use

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    dce4b78 View commit details
    Browse the repository at this point in the history
  57. Extend documentation

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    fe0010b View commit details
    Browse the repository at this point in the history
  58. Add and update notes about URL generation

    Kajetan Dvoracek authored and beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    5ae4604 View commit details
    Browse the repository at this point in the history
  59. Fix Codacy warnings

    beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    56e67fd View commit details
    Browse the repository at this point in the history
  60. Fix toArray method in Doc class

    - remove dead variables
    - fix check for mime type
    beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    6080908 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    2b96402 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    7c06baa View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    95d5893 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    8d4040c View commit details
    Browse the repository at this point in the history
  65. Fix intend in css

    beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    463d6f8 View commit details
    Browse the repository at this point in the history
  66. Improve Metadata script

    - removed unused e param from onStateChanged
    - make fetchMetadata async so no spinner is needed
    beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    196511b View commit details
    Browse the repository at this point in the history
  67. Improve Navigation script

    - remove unused paramaters
    - decrease complexity of updateNavigationControls
    beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    6df21dc View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    0cc2e40 View commit details
    Browse the repository at this point in the history
  69. Fix comment

    beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    228606e View commit details
    Browse the repository at this point in the history
  70. Allow console logs

    beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    85c001b View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    45d6642 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    2b46f50 View commit details
    Browse the repository at this point in the history
  73. Fix Codacy errors

    beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    c6acd25 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    009ddb5 View commit details
    Browse the repository at this point in the history
  75. Fix documentation build

    Error:  `Inventory link with key "t3tsref:data-type-page-id" (data-type-page-id) not found.`
    beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    73fd42a View commit details
    Browse the repository at this point in the history
  76. Fix PHPStan warnings

    beatrycze-volk committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    b4c4773 View commit details
    Browse the repository at this point in the history