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

Resolve base page #1679

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft

Resolve base page #1679

wants to merge 22 commits into from

Conversation

dragon-dxw
Copy link
Collaborator

@dragon-dxw dragon-dxw commented Dec 10, 2024

  • Base page loads
  • PDF and XML links:

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, but
those 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

  • Requires env variable(s) to be updated

@dragon-dxw dragon-dxw force-pushed the FCL-496-8-resolve-identifier-urls branch from f143f79 to 7613137 Compare December 18, 2024 15:58
@dragon-dxw dragon-dxw force-pushed the FCL-496-8-resolve-identifier-urls branch 5 times, most recently from 4a55d79 to 92dfac8 Compare January 7, 2025 15:52
@dragon-dxw dragon-dxw force-pushed the FCL-496-8-resolve-identifier-urls branch from 9f7c882 to 93f0553 Compare January 8, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant