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 incorrectly defined table data when there are no evaluations #3771

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

chrisvanrun
Copy link
Contributor

Closes #3770

The <td> were missconstrued when the table had no data. The previous version of Datatables might have been reslient to this. The default is adequate:

image

Also applied some non-sortable classification to the relevant columns.

@chrisvanrun chrisvanrun requested a review from amickan as a code owner December 30, 2024 11:18
Copy link
Contributor

@amickan amickan left a comment

Choose a reason for hiding this comment

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

Good to know. I was about to use the same construct for the algorithm interface table, but I'll be sure not to.

@chrisvanrun
Copy link
Contributor Author

chrisvanrun commented Jan 6, 2025

Good to know. I was about to use the same construct for the algorithm interface table, but I'll be sure not to.

I think there is a decent option via the datables API: language.emptyTable at https://datatables.net/reference/option/language.

In this case I did not use it since it uses an abstracted databatable instantiated that is re-used by different pages. Didn't deem it worth the hassle.

@chrisvanrun chrisvanrun merged commit 8a49dca into main Jan 6, 2025
8 checks passed
@chrisvanrun chrisvanrun deleted the fix-3770 branch January 6, 2025 12:33
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.

Datatable error on uploading new ground-truth
2 participants