has anyone out there in my socials ever built an "Open Quickly…" UI?
i've been looking over Xcode's Open Quickly UI and it's… interesting.
and i've been contrasting it to the Spotlight Cmd-Space UI. also interesting.
they look pretty similar. and they behave mostly the same. but there are tons of quirks in both. and not the same.
just curious if anyone's built a canonical version of this sort of UI. otherwise i'm afraid i'm heading down a world of custom UI hurt and i just can't even.
=> More informations about this toot | More toots from isaiah@mastodon.social
quirk 1:
in spotlight the table shows a gray highlight and the text entry gets the primary selection and first responder.
in Open Quickly both the text AND the table view get a primary selection color
wait! wat!?! -- which is first responder?
i don't even know.
=> More informations about this toot | More toots from isaiah@mastodon.social
quirk 2:
in spotlight typing tab moves the primary selection from the text to the table.
in Open Quickly typing tab does nothing. both items remain co-primary or something.
=> More informations about this toot | More toots from isaiah@mastodon.social
in both typing left/right arrow moves the selection point and typing up/down arrow moves the tableview selection.
that's not quirky. that's actually nice. each item in the responder chain acts on the events appropriate to itself and then passes other events onward.
but still kinda weird that some arrows move one thing and some move the other.
=> More informations about this toot | More toots from isaiah@mastodon.social
quirk 3:
in Spotlight typing Cmd-Up/Cmd-Down moves the table-view selection up and down by a whole section.
in Open Quickly typing Cmd-Up moves the insertion point to the beginning of the text. but (sub-quirk -- calling it #4) typing Cmd-Down doesn't seem to do anything at all. that just gets swallowed.
=> More informations about this toot | More toots from isaiah@mastodon.social
@isaiah tbh I didn't notice! That's cool
=> More informations about this toot | More toots from ctietze@mastodon.social
@isaiah I maintain and use this: https://github.com/CleanCocoa/FloatingFilter
Very basic interactions, though, because cool stuff like "drilling into" items is an edge case I haven't needed to implement
=> More informations about this toot | More toots from ctietze@mastodon.social
@ctietze oh that's brilliant!!! i can't believe i spent so much time thinking about this when i should have just asked here first.
thank you. i'll give it a shot and let you know how it goes.
=> More informations about this toot | More toots from isaiah@mastodon.social
@isaiah I'm overhauling and improving things in about a year or so, maintenance updates only until then. Happy to adapt the package, though!
=> More informations about this toot | More toots from ctietze@mastodon.social
@ctietze i’m not positive i’ll end up using it as-is.
i may just use it as an example to see how someone else navigated the challenges.
but even there it’s great to have something to refer to.
but i promise to report/fix/pull-req anything strange.
=> More informations about this toot | More toots from isaiah@mastodon.social
@isaiah Looks like you've got an answer with some available code, which is great. If you want another UI example to look at: OmniFocus Quick Open is similar to these.
=> More informations about this toot | More toots from gregtitus@social.coop
@gregtitus i’m pretty curious who did it first.
it seems like BBEdit, OmniFocus, and Xcode have all had it almost as long as I can remember.
it’s definitely a nice little bit of UI for any sort of shoebox/project-based app.
=> More informations about this toot | More toots from isaiah@mastodon.social
@isaiah @gregtitus If I remember correctly Xcode did not have this feature initially. The Code Pilot plugin was required: https://github.com/macoscope/CodePilot
=> More informations about this toot | More toots from 0xced@hachyderm.io
@0xced @isaiah @gregtitus I’m not sure of the exact UI, but if you’re only looking for open quickly I think codewarrior had it back in the day.
=> More informations about this toot | More toots from tewha@appdot.net This content has been proxied by September (3851b).Proxy Information
text/gemini