-
Notifications
You must be signed in to change notification settings - Fork 216
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
Add sortable tables #639
base: main
Are you sure you want to change the base?
Add sortable tables #639
Conversation
lgtm! |
it can't correctly sort between 128K and 1M, as an example
I've added some more changes. Like custom formatting for numbers, so 1M and 128K can be properly sorted and displayed in human readable form. Also, added custom formatting for any specified token words, like "Mistral", "Meta", etc. |
I didn't highlight anything in the last table, the llm cost, since I didn't understand the logic behind it. |
What was the issue with #634 ? |
It wasn't working correctly. On page switch all the event listeners were reset so sorting stopped working. Also, I think tanstack is production tested and more suitable than my custom implementation. |
Another attempt at sortable table, this time I've used https://tanstack.com/table/latest
I've updated only 1 table as an example to show how it can be used in the markdown document.
I also didn't verify if LLM properly converted Markdown table into JSON 🙈