laravel / nova-issues

554 stars 34 forks source link

Remember a selected filter or pagination status when navigating & modifying resources #6344

Closed stephaneisenbach closed 6 months ago

stephaneisenbach commented 6 months ago

I found these two issues for the mentioned topic:

https://github.com/laravel/nova-issues/discussions/4673#discussion-4290275

          @eAvio anything with `next-series` will only be available on Laravel Nova 4.

Originally posted by @crynobone in https://github.com/laravel/nova-issues/issues/1925#issuecomment-990840252

It does not seem to be implemented in Nova 4.33.2, although it was marked as "implemented" (see #1925).

Does it require a special configuration?

stephaneisenbach commented 6 months ago

@crynobone "not planned" but marked as "implemented" #1925?

crynobone commented 6 months ago

Implemented as for the Cancel action described in the original post.

scramatte commented 5 months ago

Hello,

I'm running. 4.33 and when you create or update resource, filters and pagination are not remembered on index page. So, why you mark it as implemented?

Regards

crynobone commented 5 months ago

There a idea discussion still open regarding this: https://github.com/laravel/nova-issues/discussions/4673

The original issue contain multiple issues and contain a solution for one of the issue. This is why we encourage single issue per problem and not attempt to combine multiple issues into one.

stephaneisenbach commented 5 months ago

The original issue contain multiple issues and contain a solution for one of the issue.

@crynobone You mean #1925 as original?

The original issue contain multiple issues and contain a solution for one of the issue.

@crynobone For which of the multiple issues exactly a solution has been implemented? I can't tell that any of it works.

This is why we encourage single issue per problem and not attempt to combine multiple issues into one.

@crynobone So should we split it into more issues? Like this:

  1. Remember a selected filter status when navigating
  2. Remember a selected filter status when modifying resources
  3. Remember pagination when navigating
  4. Remember pagination when modifying resources

In my opinion, it all belongs together.

crynobone commented 5 months ago

Reproducing step 1 until 4. The back navigation was solved with the introduction of Inertia.

scramatte commented 5 months ago

Remember must works on update and create The problem can be extended on simple search or sorting by column