UX Rework: Add home page

- Add people section
- Order favourites according to their activities

https://github.com/vector-im/riot-meta/issues/75
This commit is contained in:
Giom Foret
2017-05-11 11:51:42 +02:00
parent 2759d56eba
commit 0fddd8be3b
7 changed files with 139 additions and 48 deletions
@@ -89,7 +89,7 @@
if (_hideRecents)
{
self.invitesSection = self.favoritesSection = self.conversationSection = self.lowPrioritySection = -1;
self.invitesSection = self.favoritesSection = self.peopleSection = self.conversationSection = self.lowPrioritySection = -1;
sectionsCount = sectionsOffset;
}
else
@@ -102,6 +102,10 @@
{
self.favoritesSection += sectionsOffset;
}
if (self.peopleSection != -1)
{
self.peopleSection += sectionsOffset;
}
if (self.conversationSection != -1)
{
self.conversationSection += sectionsOffset;