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

Make autocomplete always available #7326

Merged

Conversation

yoshiokatsuneo
Copy link
Contributor

What type of PR is this?

  • Feature

Description

Before this PR, autocomplete is not available if there are more than 5,000 tokens. The limit is too small for our data warehouse, and probably many data warehouse.

This PR removes the limit, and make autocomplete always available.

Anyway, if each user want to disable autocomplete, they can just disable by themselves, and I think it is better to make it user's choice instead of hard-coded limit.

Also, as tokens are stored on memory even if the autocomplete is disabled, amount of memory consumption does not change.

This PR is derived from the discussion on #7319 .

How is this tested?

  • Manually

I confirmed that the auto complete works smoothly for tokens more than 700,000.

@yoshiokatsuneo yoshiokatsuneo force-pushed the feat/autocomplete_always_available branch from b522d32 to 40fce1b Compare February 12, 2025 15:46
@yoshiokatsuneo yoshiokatsuneo force-pushed the feat/autocomplete_always_available branch from 40fce1b to 8afd656 Compare February 12, 2025 15:52
Copy link
Collaborator

@eradman eradman left a comment

Choose a reason for hiding this comment

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

Tested manually. Seems like a nice simplification

@eradman eradman merged commit 53eab14 into getredash:master Feb 13, 2025
11 checks passed
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