V
V
Vitaly2017-10-27 13:06:47
Software design
Vitaly, 2017-10-27 13:06:47

How to organize an adaptive SPA application?

Imagine a web application where a tree-like list (todolist) is displayed to the user. In the mobile version, this is a list, when you click on an element, a new list (subtasks) is shown, when you click "back", the previous list (of the top level) is returned, the transition is animated in a material style (like on android). On the tablet, the left menu is added to this (which is hidden on the mobile phone), now not the entire screen is animated, but only the main part with the list (i.e. the menu is always static). In the desktop version, this is a tree-like list that can be expanded and collapsed, the menu can be. expanded with top navigation.
Question: how to organize it? These three views don’t connect for me, because in the mobile version the subtask opens a new screen with its url, which is added to the stack, on the tablet it’s a similar story, but because of the static menu it’s already more difficult to organize screens in the form of a stack, but in the desktop version it’s generally one screen with a single url and it is not clear how it should behave when the browser window is reduced - which element of this large list should be shown

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Ukolov, 2017-10-27
@alexey-m-ukolov

in the desktop version, this is generally one screen with a single url
This is your mistake - if this is a SPA, then each "page" should still have its own URL. Then your problem will be solved.

A
Alexander Taratin, 2017-10-27
@Taraflex

1. Url must change everywhere the same or not change at all.
2.

These three ideas do not connect with me,

Think of it as a single view that has 2 dependencies
Having a sidebar => Screen
width Screen width => maximum number of parent branches available to view at the same time

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question