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

[Request]: Autocompletion for the "From User" username filtering field in the "Advanced Search" helper dialog #1041

Open
1 task done
nekohayo opened this issue Jun 25, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@nekohayo
Copy link

Describe the request

This dialog in 0.8.x is pretty cool:

image

…except that the "From User" field is hard to use as it does not offer autocompletion like the message composer would.

It would be great if it did offer that at least for those I follow (or those + the ones from the social graph of people I follow), because I can never remember the crazy long Mastodon user ID handles (or even people's short usernames), and Tuba's modal single-dialog UI workflow does not permit me to look it up on the side at the same time.

Extra bonus points if it could somehow offer autocompletion in the global search field outside that dialog (when using the from: key, for example), too!

Implementation Details

@nekohayo nekohayo added the enhancement New feature or request label Jun 25, 2024
@GeopJr
Copy link
Owner

GeopJr commented Jun 25, 2024

I don't think I can do this right now. GtkEntryCompletion is deprecated now with a replacement planned for GTK 5. At the same time, even if it wasn't, I don't think it would allow 'dynamically' searching / only accepts pre-defined models

@nekohayo
Copy link
Author

Hmm! Since this may be uncharted territory for the future of the autocompletion widget, maybe an alternative, for the Advanced Search dialog, could be a "person picker" sub-dialog/popover that is basically a filtering-searchable list of your followers and those you follow, that once you select one of the results, it inserts the correct text into the field?

Another stopgap low-technical-complexity measure could be to provide an example of the syntax in the field's placeholder text, but that's less convenient than a user picker popover button or autocompletion widget :)

@GeopJr
Copy link
Owner

GeopJr commented Jun 25, 2024

Both sound good! I can add a whole search entry, no need to limit to people you know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants