Gene Curator is an open-source platform for managing and curating genetic data. It facilitates gene data analysis, entry, and reporting, serving genetics researchers with tools for efficient data handling.
MIT License
4
stars
1
forks
source link
fix(genes-table): Update individual table entry after curation or precuration #112
When a gene is curated or precured, the corresponding entry in the Genes Table does not reflect the updated status unless the entire table is reloaded. This can lead to inconsistent data being displayed to the user. We need a mechanism to refresh the individual entry within the table to show the latest data without reloading the entire table.
Steps to Reproduce
Go to the Genes Table view.
Click on the 'Curate' button for a gene.
Save changes in the curation modal.
Close the modal.
Notice that the table entry for the gene does not show the updated curation status.
Expected Behavior
The Genes Table should reflect the updated curation status for the specific gene that was curated or precured.
Actual Behavior
The Genes Table continues to display the old curation status for the gene.
Possible Solution
Implement an update mechanism within the closeModal function in GenesTable.vue that refreshes the data of the affected gene entry. This can be achieved by calling a store function that fetches the latest gene data from the backend and updates the corresponding entry in the table.
Acceptance Criteria
[ ] After saving curation or precuration, the Genes Table entry for the affected gene should be updated to reflect the new status.
[ ] The update should occur without needing to reload all table entries.
Additional Context
The user experience is hampered by the lack of real-time data updates in the table, which this fix aims to address.
Description
When a gene is curated or precured, the corresponding entry in the Genes Table does not reflect the updated status unless the entire table is reloaded. This can lead to inconsistent data being displayed to the user. We need a mechanism to refresh the individual entry within the table to show the latest data without reloading the entire table.
Steps to Reproduce
Expected Behavior
The Genes Table should reflect the updated curation status for the specific gene that was curated or precured.
Actual Behavior
The Genes Table continues to display the old curation status for the gene.
Possible Solution
Implement an update mechanism within the
closeModal
function inGenesTable.vue
that refreshes the data of the affected gene entry. This can be achieved by calling a store function that fetches the latest gene data from the backend and updates the corresponding entry in the table.Acceptance Criteria
Additional Context
The user experience is hampered by the lack of real-time data updates in the table, which this fix aims to address.