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

Improve how we load and reset entity history #3450

Merged
merged 2 commits into from
May 28, 2024

Conversation

Kadrian
Copy link
Collaborator

@Kadrian Kadrian commented May 27, 2024

  • Always load /me (including permissions) before loading datasets and entity history
  • Check history view permissions before loading /entity-preview
  • Reset entity-preview state when history is being reset

This should ensure that no old entity-preview config is being used when switching the dataset and that there's no attempt at loading entity-preview, when there's no permission to viewing the history.

- Always load /me (including permissions) before loading datasets and
  entity history
- Check history view permissions before loading /entity-preview
- Reset entity-preview state when history is being reset

This should ensure that no old entity-preview config is being used when
switching the dataset and that there's no attempt at loading
entity-preview, when there's no permission to viewing the history.
@Kadrian Kadrian requested review from awildturtok and thoniTUB May 27, 2024 13:10
@Kadrian Kadrian merged commit 9d9c695 into develop May 28, 2024
5 checks passed
@delete-merged-branch delete-merged-branch bot deleted the improve-entity-history-loading-and-resetting branch May 28, 2024 07:30
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.

1 participant