-
Notifications
You must be signed in to change notification settings - Fork 14
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
DDFBRA-183 - Anonymous and logged in user can try ebook + audiobook #1779
Open
kasperbirch1
wants to merge
5
commits into
develop
Choose a base branch
from
DDFBRA-183-anonymous-and-logged-in-user-can-try-ebook
base: develop
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.
Open
DDFBRA-183 - Anonymous and logged in user can try ebook + audiobook #1779
kasperbirch1
wants to merge
5
commits into
develop
from
DDFBRA-183-anonymous-and-logged-in-user-can-try-ebook
+227
−14
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
kasperbirch1
force-pushed
the
DDFBRA-183-anonymous-and-logged-in-user-can-try-ebook
branch
from
November 20, 2024 12:36
da39c1e
to
cd45554
Compare
kasperbirch1
force-pushed
the
DDFBRA-183-anonymous-and-logged-in-user-can-try-ebook
branch
from
November 22, 2024 13:04
10b79f5
to
6a0834f
Compare
kasperbirch1
force-pushed
the
DDFBRA-183-anonymous-and-logged-in-user-can-try-ebook
branch
from
November 26, 2024 13:21
8f4ebba
to
f1da091
Compare
kasperbirch1
force-pushed
the
DDFBRA-183-anonymous-and-logged-in-user-can-try-ebook
branch
from
November 26, 2024 16:30
f1da091
to
0e6b2d6
Compare
kasperbirch1
changed the title
DDFBRA-183 - Anonymous and logged in user can try ebook
DDFBRA-183 - Anonymous and logged in user can try ebook + audiobook
Nov 26, 2024
kasperbirch1
force-pushed
the
DDFBRA-183-anonymous-and-logged-in-user-can-try-ebook
branch
from
November 26, 2024 16:34
0e6b2d6
to
d6c7f10
Compare
The `/reader` route now passes either the `identifier` or `orderId` parameters to the `Reader` React app. This was implemented to ensure the proper loading of external scripts that require a full page reload.
These translations are related to the implementation of the `Player` feature in PR: danskernesdigitalebibliotek/dpl-react#1562
This caused issues when passing the URL parameter from Drupal into the `Reader` app. Additionally, I have set the default value of `orderid` to an empty string, similar to how `identifier` is handled.
kasperbirch1
force-pushed
the
DDFBRA-183-anonymous-and-logged-in-user-can-try-ebook
branch
from
November 27, 2024 13:29
7c4f93e
to
314697e
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.
Link to issue
https://reload.atlassian.net/browse/DDFBRA-183
https://reload.atlassian.net/browse/DDFBRA-184
Description
This pull request adds translations for Reader link as part of the updates introduced in dpl-react/pull/1555.
During the work on dpl-react/pull/1555, we discovered that rendering Reader within a modal, as originally planned, was not feasible. As a result, Reader has been refactored into a standalone application instead of a component within the material app.
In the material app, navigating to “/reader” now triggers a page transition, with either
identifier
ororderId
passed along as parameters.Test
https://varnish.pr-1779.dpl-cms.dplplat01.dpl.reload.dk/work/work-of:870970-basis:136089471?type=tegneserie+%28online%29
Additionally, this implementation facilitates testing of the updated functionality.