moment/src/backend/models
miruka 902f13ab68 Lock position of the room that's focused in GUI
When the currently shown page is the chat of a certain room,
prevent that room from moving around in the left pane due to new
messages/activity or unread/highlight counters change.

When the user switches to another page/room, the previously held lock is
released and that room completes all the moves it would have done if it
wasn't locked.

This makes navigating a room list with lots of activity easier, and
prevent annoyances like clicking on a room with unread messages and
having it immediatly fly down the list (possibly out of scroll view).
2021-03-03 17:14:57 -04:00
..
__init__.py Add copyright header to source code files 2021-03-03 17:12:08 -04:00
filters.py Add copyright header to source code files 2021-03-03 17:12:08 -04:00
items.py Lock position of the room that's focused in GUI 2021-03-03 17:14:57 -04:00
model_item.py Don't pass ModelItem fields starting with _ to QML 2021-03-03 17:14:56 -04:00
model_store.py Fix flake8/mypy/isort code errors from new setup 2021-03-03 17:14:55 -04:00
model.py model.py: remove leftover debugger call 2021-03-03 17:14:56 -04:00
proxy.py Fix filtered_members models updates 2021-03-03 17:12:09 -04:00
special_models.py Fix flake8/mypy/isort code errors from new setup 2021-03-03 17:14:55 -04:00