Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behavior of UI when data is updated from remote #79

Open
xMartin opened this issue Jun 24, 2014 · 5 comments
Open

Behavior of UI when data is updated from remote #79

xMartin opened this issue Jun 24, 2014 · 5 comments

Comments

@xMartin
Copy link
Owner

xMartin commented Jun 24, 2014

Let's say I am just scrolling through the transaction list when my friend is entering some shared expenses from last week and syncs those. Currently in my app that data would automatically sync and update the list I am just looking at, making it at least jump as my friend entered data that gets inserted at different positions of that list that is ordered by date.

How do we want this?

@jancborchardt

@xMartin xMartin added the Design label Jun 24, 2014
@jancborchardt
Copy link
Collaborator

Stream-based apps like Twitter do it by keeping the position of the list (without jumping) and showing a bar/notification at the top saying »2 new messages«. We could do that as well.

@xMartin
Copy link
Owner Author

xMartin commented Jun 24, 2014

Yes, but they don't have the challenge of added entries within the existing list. Only on top. Much easier.

@jancborchardt
Copy link
Collaborator

What we could also do is mark these new entries in a different shade (of background color) so it’s visible which entries have been added the latest.

The scroll position is a slightly different topic then. We could make sure that the position in the center of the screen always stays in the center. For example when an entry is added near the top of the viewport, the rest of the entries shouldn’t move. And when an entry is added near the bottom of the viewport, the entries above shouldn’t move either.

@xMartin
Copy link
Owner Author

xMartin commented Jun 24, 2014

Ok. But there is no way to keep all entires that are in the viewport before the update in the viewport after new entries are added from remote. Maybe we need a more sophisticated solution. Like an indicator that there is new data that I can trigger to update the current display or something.

@jancborchardt
Copy link
Collaborator

Yeah, a simpler first solution would simply be to not load the entries and only show an indicator saying »load 3 new transactions«. When clicked, you are put at the top of the list, and the new transactions are marked somehow.

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

No branches or pull requests

2 participants