-
Notifications
You must be signed in to change notification settings - Fork 45
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] Remove client-side paging redundancies #938
Draft
beatrycze-volk
wants to merge
78
commits into
kitodo:master
Choose a base branch
from
beatrycze-volk:paging-redundancies
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.addEventListener('tx-dlf-documentLoaded', (e) => { | ||
// TODO(client-side): When there are multiple instances of metadata plugin? | ||
const container = document.querySelector('.dlf-metadata-container'); | ||
const rootline = {settings.rootline}; |
Check notice
Code scanning / CodeQL
Syntax error Note
Error: Unexpected token
// NOTE: The navigation plugin may be instantiated multiple times, even on a single page view | ||
window.addEventListener('tx-dlf-documentLoaded', e => { | ||
const controller = e.detail.docController; | ||
const features = {features -> f:format.json() -> f:format.raw()}; |
Check notice
Code scanning / CodeQL
Syntax error Note
Error: Unexpected token
data-namespace-typo3-fluid="true" | ||
lang="en"> | ||
|
||
<script>{docConfiguration -> f:format.raw()}</script> |
Check notice
Code scanning / CodeQL
Syntax error Note
Error: Unexpected token
sebastian-meyer
added
⚙ feature
A new feature or enhancement.
⏳ prototype
A provisional pull request still work in progress.
labels
Apr 5, 2023
sebastian-meyer
changed the title
Remove client-side paging redundancies
[FEATURE] Remove client-side paging redundancies
Apr 5, 2023
sebastian-meyer
modified the milestones:
Kitodo.Presentation 4.1.0,
Kitodo.Presentation 5.0.0
Apr 5, 2023
sebastian-meyer
removed
the
⏳ prototype
A provisional pull request still work in progress.
label
Apr 6, 2023
beatrycze-volk
force-pushed
the
paging-redundancies
branch
from
September 12, 2023 12:30
397c038
to
8a451a1
Compare
beatrycze-volk
force-pushed
the
paging-redundancies
branch
from
October 25, 2023 09:12
8a451a1
to
ee5b4b7
Compare
sebastian-meyer
modified the milestones:
Kitodo.Presentation 5.0.0,
Kitodo.Presentation 5.1.0
Nov 7, 2023
- Remove unused import - Replace tabs with spaces
This will allow the navigation plugin to access the document, e.g., to get the number of pages.
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.
- remove dead variables - fix check for mime type
- removed unused e param from onStateChanged - make fetchMetadata async so no spinner is needed
- remove unused paramaters - decrease complexity of updateNavigationControls
Error: `Inventory link with key "t3tsref:data-type-page-id" (data-type-page-id) not found.`
…rollers Logically the document should not be displayed if its controller is not loaded
beatrycze-volk
force-pushed
the
paging-redundancies
branch
from
August 2, 2024 11:29
ee5b4b7
to
fea6f47
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Depends on #878