Code Monkey home page Code Monkey logo

refine-nova's Issues

Laravel 11 Support

This could be on me, but we had to temporarily drop refine-nova from our app when we did our Laravel 11 upgrade due to some composer conflicts.

I also tried it in a fresh laravel 11 project after adding Nova to it

composer require hammerstone/refine-nova
./composer.json has been updated
Running composer update hammerstone/refine-nova
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - hammerstone/refine-nova[v0.2.0, ..., v0.2.2] require hammerstone/refine-laravel ^0.3.4 -> satisfiable by hammerstone/refine-laravel[0.3.4, 0.3.5, 0.3.6, 0.3.7].
    - hammerstone/refine-nova[v0.2.3, ..., v0.2.4] require hammerstone/refine-laravel ^0.3.4|^0.4.0 -> satisfiable by hammerstone/refine-laravel[0.3.4, ..., 0.4.1].
    - hammerstone/refine-nova[v0.1.0, ..., v0.1.4] require laravel/nova ^2.12|^3.0 -> found laravel/nova[v2.12.0, v3.0.0, ..., 3.32.0] but it conflicts with your root composer.json require (^4.33).
    - hammerstone/refine-laravel[0.3.4, ..., 0.4.1] require nesbot/carbon ^1.25|^2 -> found nesbot/carbon[1.25.0, ..., 1.39.1, 2.0.0, ..., 2.72.3] but the package is fixed to 3.2.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires hammerstone/refine-nova * -> satisfiable by hammerstone/refine-nova[v0.1.0, ..., v0.2.4].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require hammerstone/refine-nova:*" to figure out if any version is installable, or "composer require hammerstone/refine-nova:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Applying filters from page >= 2 doesn't refresh pagination

Steps to Reproduce:

  • Go to a Nova Resource with Laravel Refine
  • Go to page 2
  • Apply any Laravel Refine condition

You'll see the URL changes to /resources/users?users_page=1&tasks_refine=XXXXXXXX, but the pagination in the table is still on page 2.

The expected behavior is like Nova native filters; applying a Nova filter completely resets the pagination, and the "Previous" button is disabled because you are now on page 1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.