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

Fix case where entity is updated but the view doesn't refresh #1241

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

steveyken
Copy link
Member

When an entity (such as contact) is editted, and saved. The original view was not being refreshed with changed data. This PR fixes that behaviour.

E.g. If you edit a contact, change the assignee and press 'save', the old assignee is still displayed. This is because the view is not refreshing after update.

image

Note that this occurred after entity details were moved from the sidebar (which does refresh) into the main view pane.

This solution still uses the decade-old rjs approach. Rails 7 gives us a much nicer Turbo interface for refreshing parts of the page and would bring a significant UI performance improvement. One for the Todo list.

@CloCkWeRX CloCkWeRX merged commit 887e17a into master Feb 24, 2024
8 checks passed
@steveyken steveyken deleted the fix-update-entity branch August 21, 2024 04:14
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.

2 participants