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

Action responses should have an option to only refresh relevant section #2787

Closed
smathieu opened this issue May 21, 2024 · 5 comments
Closed
Labels

Comments

@smathieu
Copy link

Feature

When performing an action on a has_many field, the default action is to refresh then entire page. It would be great it we could configure it to refresh only the child field and not the entire page. It would be critical to preserve pagination and filtering.

This is valuable for bulk actions and triage type workflow. A user might be working on page 5 of a list and using an action to set a value for some records. Right now, every time this happens, the user is brought back to the first page and need to set pagination and filtering again.

Using the close_modal response is better, but doesn't reflect changes to the records.

Current workarounds

None I'm aware of.

Screenshots or screen recordings

image

Additional context

@adrianthedev
Copy link
Collaborator

adrianthedev commented May 22, 2024

We don't have that ability yet, but there is #2790 to track that.
A reload on that frame would be enough for this use case IMHO.

I think Paul has a draft of that stashed somewhere.

Copy link
Contributor

github-actions bot commented Jun 7, 2024

This issue has been marked as stale because there was no activity for the past 15 days.

@adrianthedev
Copy link
Collaborator

Depends on #2796

Copy link
Contributor

This issue has been marked as stale because there was no activity for the past 15 days.

@github-actions github-actions bot added the Stale label Jun 23, 2024
@adrianthedev
Copy link
Collaborator

Closing in favor of #2790

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

No branches or pull requests

2 participants