Open alxndrsn opened 8 years ago
Thanks @alxndrsn, I'll do a first pass and confirm with other team members/users.
Here is my first pass, I will check with other team members and users before final confirmation. Given that this is not something that will be implemented before the field test we can use actual user feedback for this as well.
action | navigates to | HBB target | filter-bar-X /< target |
---|---|---|---|
Contacts tab | Contacts | primary tab | N/A |
select place in list | Place: District 1 | Contacts | Contacts |
select place in child list | Place: Health Centre A | Place: District 1 | Place: District 1 |
select place in child list | Place: Alice A's Family | Place: Health Centre A | Place: Health Centre A |
[edit] | Edit (page 1): Alice A's Family | Place: Alice A's Family | [X]: Place: Alice A's Family |
[next page] | Edit (page 2): Alice A's Family | Edit (page 1): Alice A's Family | [X]: Place: Alice A's Family (different than HBB) |
[save] | Place: Alice A's Family | Place: Health Centre A | Place: Health Centre A |
[add child] | Create: Person | Place: Alice A's Family | Place: Alice A's Family |
[save] | Person: Bob A | Place: Alice A's Family | Place: Alice A's Family |
action | navigates to | HBB target | filter-bar-X /< target |
---|---|---|---|
Contacts tab | Contacts | primary tab | N/A |
[search] | Contacts (filtered by search term) | Contacts (unfiltered) | N/A |
select contact in list | Person: Bob A | Contacts (filtered by search term) | Contacts (filtered by search term) |
select family that Bob A belongs to | Place: Alice A's Family | Person: Bob A | Person: Bob A |
Can I update the original ticket with your table?
Sure, although I am still not convinced about Example 2 action 4.... We should do more research before finalizing.
We should also have an example for going from the patient profile to a report details page in the History/Reports tab.
Alternate using the filter back button strictly as "hierarchical up", and the HBB as "temporal back", as per the design guidelines.
action | navigates to | HBB target (temporal) | filter-bar-X /< target (hierarchical) |
---|---|---|---|
Contacts tab | Contacts | primary tab | N/A |
select place in list | Place: District 1 | Contacts | [<] Contacts |
select place in child list | Place: Health Centre A | Place: District 1 | [<] Contacts |
select place in child list | Place: Alice A's Family | Place: Health Centre A | [<] Contacts |
[edit] | Edit (page 1): Alice A's Family | Place: Alice A's Family | [X]: Place: Alice A's Family |
[next page] | Edit (page 2): Alice A's Family | Edit (page 1): Alice A's Family | [X]: Place: Alice A's Family |
[save] | Place: Alice A's Family | Place: Health Centre A | [<] Contacts |
[add child] | Create: Person | Place: Alice A's Family | [X]: Place: Alice A's Family |
[save] | Person: Bob A | Place: Alice A's Family | [<] Contacts |
action | navigates to | HBB target | filter-bar-X /< target |
---|---|---|---|
Contacts tab | Contacts | primary tab | N/A |
[search] | Contacts (filtered by search term) | Contacts (unfiltered) | N/A |
select contact in list | Person: Bob A | Contacts (filtered by search term) | [<] Contacts (unfiltered) |
select family that Bob A belongs to | Place: Alice A's Family | Person: Bob A | [<] Contacts (unfiltered) |
action | navigates to | HBB target | filter-bar-X /< target |
---|---|---|---|
Contacts tab | Contacts | primary tab | N/A |
select contact in list | Person: Bob A | Contacts (filtered by search term) | [<] Contacts (unfiltered) |
select report about Bob A | Report tab: Alice A's Family | Person: Bob A | [<] Reports (unfiltered) |
We already use color for context, but if we use the < as "hierarchical up" then we may want to include the tab's icon with the chevron to specify where the user would be going if they press up.
Assigning to @diannakane for review.
Here's the latest comments on this, done just before Christmas. The disputes are mostly in column D, in regards to whether places should target directly back to Contacts ("owned" individually by contacts), or if they should target to their hierarchical next-level-up place. https://docs.google.com/a/medicmobile.org/spreadsheets/d/1yo6p7gccJrlg5wbtgV6z0CrKWTII-a_4kkzpUJQ3XRw/edit?usp=sharing
Let's revisit when you're back from vacation, @abbyad?
My notes from discussion:
window.history.pushState()
); this may require an angular change)Browser back button:
window.onbeforeunload
)window.history.back()
(no special handling required)Filter bar back button (<
) triggers window.history.back()
. Hardware back button:
X
instead of <
, and triggers close-warning dialogwindow.history.back()
window.history.back()
@amandacilek this issue is a little old but perhaps still relevant. It would be good to get your opinion to know if navigation problems still exist, and how they should be corrected.
Yes, back/forward navigation problems do still exist. We had originally planned to address these at the same time as the navigation UI update. We should consider pulling this work out and addressing it separately cc @MaxDiz. The fixes won't be as comprehensive without the UI updates but I think there are still improvements to be made.
In addition to Alex's summary above, please also reference this deck with visual diagrams: https://docs.google.com/presentation/d/1YHSNwx7hFyHrb3vWYUCTgH41AtQsn9WxDWo-CJGz4ug/edit#slide=id.p
Here is a summary of our conclusions:
On mobile
On desktop
Feedback shared by Brac team
Brac are piloting v3.8.1 for 40 CHP's in one of the branches and they are expected to upgrade from the current v2.8 to v3.8.1 in a few weeks time. A concern was raised by the CHPs that when a user is under contact profile clicking back takes them to all families in the area instead of the immediate parent profile. This also happens when a user opens a task on the contact profile when he clicks back the app takes the user back to all the tasks that a user has instead of the contact profile. The previous v2.8 was working well and most of the CHP are concerned and some confused. They feel like there are changes on v3.8.1 and yet they have not yet been updated. Brac team have requested that if it possible we could fix the issue before the upgrade of all the branches, tentatively in the next 2 weeks.
cc @MaxDiz @dianabarsan @kennsippell @jonathanbataire @derickl and @PhilipNgari
Hi @antonykhaemba glad to hear this upgrade is moving forward. A 2-week turnaround for a non-critical improvement is a tough sell. It is possible to review this issue for a late add to v3.10 (in development currently). Would BRAC be willing to upgrade to v3.10 when released?
This is a highly complex issue (as you can tell by the comments above) which probably needs another round of design before we look at how to solve it. Adding it to 3.10 would undoubtedly delay its release.
@antonykhaemba How critical is this issue for Brac?
Adding @brian256 to discuss with Brac Team and advise if Brac will be willing to upgrade to 3.10 or maybe 3.11.
When switching between views of different content, the app should maintain a history stack so that Android's hardware-back-button (HBB) can be used to reverse the navigation through this list.
Examples
Example 1
X
/<
target?
?
?
?
?
?
?
?
?
?
?
?
?
?
Example 2
X
/<
target?
?
Design work required
Please:
?
)Useful links
It may be useful to consider the Android UX guidelines ref temporal vs hierarchical navigation, e.g.: