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

Change default for use iiif_print to false per client request #704

Conversation

labradford
Copy link
Contributor

Story

Refs #659

Client would like default for using IIIF Print to be false

Expected Behavior Before Changes

Expected Behavior After Changes

Screenshots / Video

Notes

@labradford labradford merged commit fe9b0a6 into main Aug 17, 2023
6 of 7 checks passed
@labradford labradford deleted the i659-Allow-tenant-configuration-to-ignore-showing-PDFs-in-universal-viewer branch August 17, 2023 06:42
jeremyf added a commit to scientist-softserv/atla-hyku that referenced this pull request Nov 28, 2023
This is a preliminary commit to add conditional logic for either
rendering PDF.js or IIIF viewer for split pages.

This fails QA in one manner:

1. Set the Tenant to use UV
2. Create a work with a PDF (this will split the page)
3. Go to the work's page, you'll see the UV
4. Set the Tenant to use PDF.js
5. Go to the work page, and you should see PDF.js but at present see the
   UV.

Related to:

- scientist-softserv/palni-palci#666
- scientist-softserv/palni-palci#675
- scientist-softserv/palni-palci#704
- scientist-softserv/palni-palci#705
- #162

Co-authored-by: Shana Moore <shana@scientist.com>
Co-authored-by: Kirk Wang <kirk.wang@scientist.com>
jeremyf added a commit to scientist-softserv/atla-hyku that referenced this pull request Nov 28, 2023
This is a preliminary commit to add conditional logic for either
rendering PDF.js or IIIF viewer for split pages.

There is a particular case where QA might appear to fail:

1. Set the Tenant to use UV
2. Create a work with a PDF (this will split the page)
3. Go to the work's page, you'll see the UV
4. Set the Tenant to use PDF.js
5. Refresh the work page, and you should see PDF.js but instead will see
   the UV.

To work around this (and realistically how most people will experience this):

1. Set the Tenant to use UV
2. Create a work with a PDF
3. Go to the Dashboard
4. Click the work's URL
5. You should see a UV for the PDF
6. Close the work's page
7. Change the tenant to use PDF.js
8. Go to the Dashboard
9. Click the work's URL

The conjecture is that there's some iframe and/or turbolinks caching.
Given that this is an edge case regarding toggling on and off a tenant
feature, we think the work around is adequate.

Related to:

- scientist-softserv/palni-palci#666
- scientist-softserv/palni-palci#675
- scientist-softserv/palni-palci#704
- scientist-softserv/palni-palci#705
- #162

Co-authored-by: Shana Moore <shana@scientist.com>
Co-authored-by: Kirk Wang <kirk.wang@scientist.com>
jeremyf added a commit to scientist-softserv/atla-hyku that referenced this pull request Nov 29, 2023
This is a preliminary commit to add conditional logic for either
rendering PDF.js or IIIF viewer for split pages.

There is a particular case where QA might appear to fail:

1. Set the Tenant to use UV
2. Create a work with a PDF (this will split the page)
3. Go to the work's page, you'll see the UV
4. Set the Tenant to use PDF.js
5. Refresh the work page, and you should see PDF.js but instead will see
   the UV.

To work around this (and realistically how most people will experience this):

1. Set the Tenant to use UV
2. Create a work with a PDF
3. Go to the Dashboard
4. Click the work's URL
5. You should see a UV for the PDF
6. Close the work's page
7. Change the tenant to use PDF.js
8. Go to the Dashboard
9. Click the work's URL

The conjecture is that there's some iframe and/or turbolinks caching.
Given that this is an edge case regarding toggling on and off a tenant
feature, we think the work around is adequate.

Related to:

- scientist-softserv/palni-palci#666
- scientist-softserv/palni-palci#675
- scientist-softserv/palni-palci#704
- scientist-softserv/palni-palci#705
- #162

Co-authored-by: Shana Moore <shana@scientist.com>
Co-authored-by: Kirk Wang <kirk.wang@scientist.com>
jeremyf added a commit to samvera/hyku that referenced this pull request Dec 19, 2023
jeremyf added a commit to samvera/hyku that referenced this pull request Dec 19, 2023
jeremyf added a commit to samvera/hyku that referenced this pull request Dec 19, 2023
jeremyf added a commit to samvera/hyku that referenced this pull request Dec 19, 2023
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.

3 participants