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

Refresh entity detail and schema detail on update #187

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

TeodoraPavlova
Copy link
Contributor

@TeodoraPavlova TeodoraPavlova commented Jan 18, 2024

Related to #178

Applied fixes for:

  1. When you edit an entity/attributes in entity detail page and you click save, the values of attributes of type FK are vanishing. Previously manual page reload showed them again and now it's not needed.

  2. If you go back from entity detail page to schema details, entity list is not refreshed. Now it is.

@crazyscientist crazyscientist self-assigned this Jan 19, 2024
@TeodoraPavlova TeodoraPavlova changed the title Refresh entity detail and schema list on update Refresh entity detail and schema detail on update Jan 19, 2024
Copy link
Collaborator

@crazyscientist crazyscientist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe I understand what you meant in yesterday's standup.

The fact that we need to call getSelected after this.selected was modified by getSelected, onSelect or onClear (indirectly via triggering a change of the modelValue param) looks superfluous.

To avoid such suboptimal solutions we would need a large scale review and refactoring of the UI, which clearly is out of scope of #178.

Thank you for finding this simple fix.

@crazyscientist crazyscientist merged commit 093eab2 into master Jan 19, 2024
4 checks passed
@crazyscientist crazyscientist deleted the refresh-entity branch January 19, 2024 10:13
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