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

What does 'Either OS' do? #15

Closed
jasperblues opened this issue Dec 8, 2013 · 17 comments
Closed

What does 'Either OS' do? #15

jasperblues opened this issue Dec 8, 2013 · 17 comments

Comments

@jasperblues
Copy link

On the new beta we have four options:

  • Either OS
  • iOS & OSX
  • iOS
  • OSX

What does 'Either OSX' do? I guessed that it meant "Any OS" ? . . 'Either OS' seems redundant with 'iOS & OSX'

@xslim
Copy link

xslim commented Dec 8, 2013

I think it means "iOS || OS X" :)

@jasperblues
Copy link
Author

Ah, so one is an 'AND' and one is an 'OR' . . . I find this a little confusing in terms of usability. .

@xslim
Copy link

xslim commented Dec 8, 2013

I agree.

@floere
Copy link
Member

floere commented Dec 8, 2013

@jasperblues @xslim Can either of you come up with both constructive & usability-enhancing ideas? ;)

@floere
Copy link
Member

floere commented Dec 8, 2013

@jasperblues Regarding "any", I'd like to direct you to: http://www.dailywritingtips.com/any-vs-either/.

So how can we improve "iOS & OSX"?

@jasperblues
Copy link
Author

Four Suggestions:

Number 1:

I would suggest that the small cognitive tremor that occurs by having both an 'AND' and an 'OR' option in this way outweighs the benefit.

It seems to me that just having three filters wouldn't inconvenience many people. iOS, OSX, iOS or OSX

Number 2:

Change the words to 'or' and 'and' so that users get a sense of the boolean filter operation.

Number 3:

Change them to toggle switches, so that you can more than one enabled.

Number 4:

Have the word 'iOS' and 'OSX' with a funky switch in the middle that toggles between 'AND' and 'OR'

Just some random ideas. Do any of them tickle your fancy? ;) . . the new site is looking FANTASTIC by the way. . .

@floere
Copy link
Member

floere commented Dec 8, 2013

@jasperblues Thanks!

When I added these buttons, we had a discussion – I wanted to go with your #1, but the point was made that people might want to search for a library that works in their application which runs on both on iOS and OS X, which made sense to me.

Let's go with #2 – it is clearest to the kind of users we are expecting. Feel like contributing a pull request? :)

@jasperblues
Copy link
Author

I would love to do the implementation, but I'm up the the eye-balls in a whole bunch of other stuff at the moment.

I've got a client project that needs doing, and some work on typhoonframework.org (which distracted me from the client project this weekend!)

So, for now the best I can offer is testing. . next time :)

@floere
Copy link
Member

floere commented Dec 8, 2013

Fair enough. Cheers! :)

@jasperblues
Copy link
Author

Nice - I think its better now 👍

There's still a little grammar problem on the description label:

"Pods only on osx ios and named OCLogTemplate" <----- Need a joining word between 'ios osx' (what's the proper grammar term for that!?)

perhaps:

"Pods on both iOS and OSX named OCLogTemplate"

@floere
Copy link
Member

floere commented Dec 9, 2013

@jasperblues You're looking for http://en.wikipedia.org/wiki/Conjunction_(grammar) :)

I was hoping nobody would see that, as I need to extend the Picky Javascript for that to work ;)
Currently it just puts together the words it finds in the same category, so the (made invisible, except in the URL) filters "on:ios on:osx" are simply joined together in the platform category.

So, definitely possible with a well-placed callback from the Picky JS library, but time is needed, a currency running low on my end, currently.

@jasperblues
Copy link
Author

If you don't have time to fix it, I think simply adding the word 'both' (in bold, above comment) at the start will get it release-grade. (Certainly a big improvement to the old site).

You could skip the word 'and' - though of course, it would be better if it was there.

@floere
Copy link
Member

floere commented Dec 9, 2013

The thing is that since sometimes it's ios, sometimes osx alone, and sometimes neither, or both, the code for "both" and "and" needs to be dynamic, so no easy solution available.

@jasperblues
Copy link
Author

Ah, I see. . . well, we've still improved since yesterday. . It makes sense now, just the labels sound a bit "robot-y" .

@floere
Copy link
Member

floere commented Dec 9, 2013

Yes :) I will work on it as soon as I have some time. Thanks for all the grammar quality control! :D

floere added a commit that referenced this issue Dec 9, 2013
@floere
Copy link
Member

floere commented Dec 9, 2013

Lovingly handcrafted JavaScript, just for this special case: http://beta.cocoapods.org/?q=on%3Aosx%20on%3Aios%20helper Feast your eyes ;)

floere added a commit that referenced this issue Dec 9, 2013
…mega super uber closes #15. So there.

See it in action here: http://localhost:4567/?q=on%3Aosx%20on%3Aios%20helper
@jasperblues
Copy link
Author

w00t! Nice one :)

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

No branches or pull requests

3 participants