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

Full Nova 4 compatibility #317

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

mucenica-bogdan
Copy link
Contributor

  • upgrade de laravel-mix v6
  • deleted laravel-nova dependency
  • update npm dependecies to work with Vue v3
  • update breaking vue3 changes in codebase (mostly v-model)
  • replace vuejs-clipper with vue-advanced-cropper for vue3 support -> as I couldn't find any easy way to rotate at a set angle with vue-advanced-cropper, I replaced the slider with two buttons to rotate by 90degs in either way.
  • update draggable to version 4 for Vue v3 support, and changed the markup accordingly
  • fix existing media picker modal
  • fix custom properties modal
  • fix various classes not available in tailwindcss v3
  • prod build

From my tests everything works fine. The only things I haven't test is the Vapor integration.

@bkintanar
Copy link
Collaborator

@mucenica-bogdan can you squash your commits please?

@mucenica-bogdan
Copy link
Contributor Author

@bkintanar - sure thing, squash done.

@bkintanar
Copy link
Collaborator

bkintanar commented Apr 18, 2022 via email

@mucenica-bogdan
Copy link
Contributor Author

Sure thing, I'll add in the release notes.

Thinking of the wording for this, made me release that this new vue3 patch will break compatibility with nova <= v3.

How do plan to release this? New major version maybe, v4.0? If so than we can update the readme to point people to the right version of advanced-nova-media-library based on nova version.

What do you think?

- update composer deps for min nova v4
- fix v-model
- fix cropper
- fix custom properties
- draggable fix
- fix existing media
- prod build
- update readme
@mucenica-bogdan
Copy link
Contributor Author

@bkintanar - if you go with a major version update approach (to v4), I've already pushed in a change log section to readme. see https://github.com/ebess/advanced-nova-media-library/blob/d34960995e7522d309c8dc5bfc4b7eacf47a357a/readme.md#change-log

@bkintanar
Copy link
Collaborator

bkintanar commented Apr 18, 2022 via email

@profd2004
Copy link

any update on this?

@bkintanar
Copy link
Collaborator

bkintanar commented Apr 20, 2022 via email

@SupchickCode
Copy link

we are waiting for it =)

@bkintanar bkintanar merged commit 81f452d into ebess:master Apr 20, 2022
@profd2004
Copy link

Thanks everyone!

Now where's the beer tap?
How can by you, @bkintanar and @mucenica-bogdan, beers?

@bkintanar
Copy link
Collaborator

@mucenica-bogdan, @SupchickCode can anyone of you test the latest release and report back please?

@mucenica-bogdan
Copy link
Contributor Author

@bkintanar - i have some time for this tonight, I'll give it a test.

@bkintanar
Copy link
Collaborator

Thanks @mucenica-bogdan. The reason I'm asking is that because I currently don't run Nova 4 in any of my projects so I can't really test atm. Thank you for the PR @mucenica-bogdan

@harlekoy
Copy link

harlekoy commented Apr 20, 2022

The PR looks good after I tested it on my local. However, for viewing the file within the details page it says [object Object]. I'm using Files::make('Single File') in my case. :)

image

@bkintanar
Copy link
Collaborator

@mucenica-bogdan, when you do your own testing tonight, can you take a look on that single file issue @harlekoy posted?

@mucenica-bogdan
Copy link
Contributor Author

Will definitely have a look tonight.

@mucenica-bogdan
Copy link
Contributor Author

@bkintanar - created a PR for a bugfix patch: #321

also, this PR might not be relevant any longer: #315

Gompje pushed a commit to DaktaDeo/advanced-nova-media-library that referenced this pull request Mar 29, 2024
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.

5 participants