What does 'Either OS' do? #15

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

Projects

None yet

3 participants

@jasperblues

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
xslim commented Dec 8, 2013

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

@jasperblues

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

@xslim
xslim commented Dec 8, 2013

I agree.

@floere
Member
floere commented Dec 8, 2013

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

@floere
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

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
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

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
Member
floere commented Dec 8, 2013

Fair enough. Cheers! :)

@floere floere closed this Dec 8, 2013
@jasperblues

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
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

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
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

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

@floere
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 floere added a commit that referenced this issue Dec 9, 2013
@floere floere Special handling of the case where both platforms are mandatory. Doub…
…le super mega closes #15.
8919ba0
@floere
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 floere added a commit that referenced this issue Dec 9, 2013
@floere floere Lovingly handcraft JS for uber-specific platform header text. Triple …
…mega super uber closes #15. So there.

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

w00t! Nice one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment