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

Upgrade to intervantion v3 #1189

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

tauseefsshah
Copy link
Contributor

@tauseefsshah tauseefsshah commented Nov 23, 2024

This PR aims to fix #1187 using laravel's response() method and upgrade intervention to v3.

@tauseefsshah
Copy link
Contributor Author

@driesvints The functionality works but I am not able fix the test that I wrote. The test runs fine on my local (MacOS + Herd) but fails on github actions. I suspect it's because of different environments or something similar but not sure. Should I remove the test for now so you can merge this PR?

@driesvints
Copy link
Member

@tauseefsshah heya sorry for the long wait here.. could you maybe rebase this PR and fix the conflicts before I review? Thanks!

Copy link
Member

@driesvints driesvints left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks real good overall!

package.json Outdated Show resolved Hide resolved
@tauseefsshah
Copy link
Contributor Author

Hey @driesvints 👋 Made the following updates:

  1. Rebased the branch with the latest main branch
  2. Moved pixelmatch to devDeps
  3. Added cache for the response using Laravels Cache with a ttl set to 24 hours

Please review now and also what about the test I wrote? It's still failing on github actions. Should I skip/remove the test for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Replace intervention/image
2 participants