-
Notifications
You must be signed in to change notification settings - Fork 6
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
Resolve base page #1679
Draft
dragon-dxw
wants to merge
22
commits into
main
Choose a base branch
from
FCL-496-8-resolve-identifier-urls
base: main
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.
Draft
Resolve base page #1679
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
dragon-dxw
force-pushed
the
FCL-496-8-resolve-identifier-urls
branch
from
December 18, 2024 15:58
f143f79
to
7613137
Compare
dragon-dxw
force-pushed
the
FCL-496-8-resolve-identifier-urls
branch
5 times, most recently
from
January 7, 2025 15:52
4a55d79
to
92dfac8
Compare
There are a number of places where we use formatted_document_uri to get the name of a resource -- images, PDFs and XML spring to mind. But there's now a distinction between these resources. Those at `assets` will share the name of the MarkLogic resource, but those at `/data.extension` will share the name of the loaded page. Changing it only here seems correct.
…can't work with document resolution like this
dragon-dxw
force-pushed
the
FCL-496-8-resolve-identifier-urls
branch
from
January 8, 2025 16:31
9f7c882
to
93f0553
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.
https://assets.caselaw.nationalarchives.gov.uk/[ml]/[ml].pdf -- this seems right
https://assets.caselaw.nationalarchives.gov.uk/[ml]/sample1.png -- this seems fine.
http://localhost:3000/[ml]/data.xml -- this is wrong, that should be [id], as it's resolver based link FIXED
Important commit message
There are a number of places where we use formatted_document_uri to get the name of a resource -- images, PDFs and XML spring to mind.
But there's now a distinction between these resources. Those at
assets
will share the name of the MarkLogic resource, butthose at
/data.extension
will share the name of the loaded page.Changing it only here seems correct.
Changes in this PR:
Jira card / Rollbar error (etc)
Screenshots of UI changes:
Before
After