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
Show warning if user selects 100+ columns #396
Comments
Hi Matthew, I'm going to give this issue a go. Hopefully submit a pull request soon. Thanks! |
Thanks, @elmarek! 🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Above the submissions table, we show a dropdown that allows the user to select the columns to display in the table. We only allow the user to select 100 columns at a time, because anything above that takes some time to render. For example, on my computer it takes about 3 seconds to render 100 columns for 250 submissions.
However, instead of disabling additional selection after 100 columns, it would be better to simply warn the user about the potential slowdown. That way, the user can select additional columns if they want to while knowing what to expect. Removing the logic in the
SubmissionFieldDropdown
component around disabling should also simplify that component.If the user selects 100+ columns, they should see a warning beneath the list of fields. The warning should show an
.icon-exclamation-triangle
as we do elsewhere, alongside the text "Selecting too many columns might slow down your computer."The text was updated successfully, but these errors were encountered: