[sdk] The pagestacks should allow to pop more than one page at the time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UX |
Won't Fix
|
Medium
|
Olga Kemmet | ||
ubuntu-ui-toolkit (Ubuntu) |
Won't Fix
|
Medium
|
Tim Peeters |
Bug Description
In some cases you have several level of pages stacked, it would be useful to let be able to pop more than once a the time
e.g you have a start page, push a list, push a confirmation/option dialog, then you want to go back to the start screen ... right now you have to pop one level and then have some logic to pop down another level when getting there.
It would be nice to be able to pop(n), maybe with 0=bottom of the stack
---------------UX comment-
The solution as per comment #3 seems plausible. I do agree with comment #4 + #4. A sudden change in the general logic and page stack navigation is going to cause confusion to the user. The described use case (example?) seems to be an edge case.
summary: |
- The pagestacks should allow you pop more than one page at the time + The pagestacks should allow to pop more than one page at the time |
Changed in ubuntu-ux: | |
assignee: | Giorgio Venturi (giorgio-venturi) → Vesa Rautiainen (vesar) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Tim Peeters (tpeeters) |
importance: | Undecided → Medium |
status: | New → Incomplete |
no longer affects: | ubuntu-ui-toolkit |
summary: |
- The pagestacks should allow to pop more than one page at the time + [sdk] The pagestacks should allow to pop more than one page at the time |
Changed in ubuntu-ux: | |
assignee: | Vesa Rautiainen (vesar) → Olga Kemmet (olga-kemmet) |
Changed in ubuntu-ux: | |
status: | Triaged → Fix Committed |
description: | updated |
Changed in ubuntu-ux: | |
status: | Fix Committed → Won't Fix |
It would be useful to have a convenience method, like popAll(id) where it pops all the pages down to the one the page that matches the parameter. Perhaps it could be the id, or objectName. And if there are no parameters passed, pop the way to 0.