WIP: Something to play with on iOS, for navigation.#3954
WIP: Something to play with on iOS, for navigation.#3954chrisbobbe wants to merge 1 commit intozulip:masterfrom
Conversation
Make navigateBack always pop just 1 from the stack (deprecate getSameRoutesCount?). Remove confusing up-pointing arrow. On stream and topic narrows, provide the same set of buttons, for a consistent interface: 1. Back button (pops the stack once) 2. Title (on press, shows stream settings/info) 3. Home (pops everything in the stack, to go back to Subscribed/All streams) 4. Topic list
286fc6f to
b2abbd8
Compare
|
Well, I mostly agree; and in particular, I agree that this is an ideal that should be striven for. However, C) is really two propositions...
... and C1 is not quite sufficient to guarantee C2, because:
... the complexity of the rule determining which A-type actions are not invertible by a B-action is pretty much the degree to which proposition C2 fails to hold for B-actions. Unfortunately, there are some pretty compelling technical and usability reasons not to let a stack of A-type actions build up indefinitely; and preventing that requires either 1) a structurally-guaranteed maximum navigation depth or 2) some non-invertable A-type actions. (Most apps are happy with option 1, but I don't think anyone thinks it's an appropriate choice for Zulip.) |
|
Thanks for this helpful analysis, Ray! I've replied here. |
|
Closing; let's revisit these issues with a clean slate and fresh eyes. |
EDIT: Huh, not sure why I named the branch "notification" ideas instead of "navigation" ones. 🤷
@gnprice @ray-kraesig
Following discussions here and here, here's something concrete to play with, made especially for iOS.
I think it would have been a good idea to settle some of those discussions before I moved the conversation to hypothetical "a -> b -> a -> b" sequences, etc., so hopefully this WIP PR can help toward that. 🙂 I don't think the concerns of a large stack building up are more urgent right now than fixing the unexpected "back" and "up" behaviors, which I still find really confusing and unhelpful after a lot of time with the UI.
I think we've found that Apple doesn't have a strong, consistent rule that would require the "up" button/action, so I've left it out here, hopefully without too much controversy. The concern I raised in my long story about the #consciousness stream is resolved by putting the topic list button in the topic nav, not just the stream nav.
I think some disagreement remains on the question of the "up" button/action on Android, which I'll quote here.
Greg said:
(See also Greg's example with a diagram.)
Ray said:
Before resuming this directly, I think it may help to return to my analysis of that Japanese dictionary app, and, from it, some guidelines I've offered to help reduce confusion for Zulip users. Greg, it looks like you agree with them. Ray, you responded to an implementation idea that followed them, but I'm curious to know what you think about the guidelines themselves. They seem broad enough to be a good place to explore any disagreements before moving forward, perhaps in the "navigation" topic on CZO.
I said:
It seems to me that the Android diagrams we've discussed observe these.
I may have misunderstood, but some of the recent discussion on how many (2, N, 2N, etc.) routes would accumulate in the stack may be influenced by differing assumptions, with one being that a single back or up button could fulfill both A and B, which violates C. If I'm jumping to conclusions here, please let me know, but after you've responded to the above. 😉