-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Master search bar and misc GUI clean-up #3041
Conversation
62c1984
to
6d897c7
Compare
Good catch, I got the code flow structure wrong, the |
The retry button is still inactive :/ The exception:
So .NET denies accessing I've got a fix for this that works, I'm going to submit it as a PR to your branch, I think that's easiest. |
Yeah. Wow!
|
Rearranged |
@cku-github, we're designing a search syntax and trying to decide whether to localize the prefix strings. GMail as a case study apparently does not: I found a post about GMail's search syntax here by someone with the same first and last name as you, and I'm hoping this was you: https://gmail.googleblog.com/2012/11/search-for-emails-by-size-and-more-in.html If that's you, do you recall why GMail expects German users to search for "subject:blah" rather than "betreff:blah" or whatever? Did you decide that was a better user experience, or was it due to technical limitations or just a low priority? In our case it would be pretty easy to translate these strings, so we can go entirely by what would be a good UX. Thanks for any insight (and sorry for bothering you if you never had anything to do with GMail)! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very very much for this feature, I love it! I've used the enhanced search a lot during the last two weeks, it's very handy!
382b768
to
d36da4d
Compare
Since the content are English (things, that user search in CKAN), so English prefix are more anticipated? It's even more true for the non-latin languages. Generally, even if the content are multilingual, if you have strictly determined syntax, almost like html tags, user probably still expect English, but if you are going to Wolfram Alpha area, where search engine try to understand you, then localized prefix are expected. |
though, I made localized prefixes in the KVASS, probably because vessels names often are written by players in their languages, but any language still was supporting also the English default prefixes |
Motivation
Currently we have three search boxes, one for name, one for author, and one for description. It's simultaneously cumbersome and limiting, in that it takes up a lot of horizontal space and yet there's no easy place to add more filters.
The
Main
form hosts the mod list grid view directly, which leads to spaghetti code in the absence of encapsulation. See #2966 for a previous round of clean-up for the other tabs.There are some old workarounds and awkward things in GUI that don't need to be that way anymore.
Changes
PostInstall
instead of just beforeInstallMods
exitsMainModListGUI
class is eliminated because it only existed to implement workarounds for very old versions of MonoMain
can focus on the outer/top level application logicMainModList
is renamedModList
because it has nothing to do withMain
Model
folder because it's a data objectMain.ModList
is renamedModGrid
to distinguish it from theModList
classThis results in a simpler, yet more powerful, search UI.
Fixes #2736.
Fixes #2113.
Fixes #1494.