Commit Graph

5042 Commits

Author SHA1 Message Date
giomfo 11cdee4f3a Merge pull request #1290 from vector-im/home_add_badge_in_section_header
UX-Rework - Home: Badge handling.
2017-06-14 17:40:07 +02:00
manuroe 2409b08626 Use UIKit BackgroundTask for handling background tasks in the SDK 2017-06-14 17:37:22 +02:00
Giom Foret 535ebcd30f Bug Fix: Home View sometimes is empty
#1268
2017-06-14 17:30:01 +02:00
Giom Foret 9f0601481e UX-Rework - Home: Badge handling.
- Add missed notifications badge in section header.
- Improve invites display.
2017-06-14 13:58:26 +02:00
giomfo fcd34eec24 Merge pull request #1288 from vector-im/unnumbered_badge_on_fav
Unnumbered badge on favourite
2017-06-14 10:36:03 +02:00
Giom Foret ee6e6f039b Unnumbered badge on favourite 2017-06-14 10:06:36 +02:00
Giom Foret 5f2ba5a63f UX Rework - Rooms tab: Tap on the current tab's icon jumps to next unread. 2017-06-14 09:41:15 +02:00
giomfo 95f98af176 Merge pull request #1286 from vector-im/home_sort_rooms_collections
UX Rework - Home Tab: Sort the rooms collections
2017-06-14 08:56:00 +02:00
giomfo 05a6c523a0 Merge pull request #1285 from vector-im/read_marker
Read marker
2017-06-13 19:51:43 +02:00
Giom Foret 2db23d13f0 Read marker: Improvement 2017-06-13 19:51:25 +02:00
Giom Foret 1728c29e65 UX Rework - Home Tab: Sort the rooms collections
by displaying first the rooms with some missed notifs, the rooms with unread, then the others.
2017-06-13 18:43:03 +02:00
Giom Foret 42536710e4 Read markers should be synchronised across clients
Improve "jump to last unread message" banner handling

https://github.com/vector-im/riot-meta/issues/8
2017-06-13 17:46:13 +02:00
Giom Foret c5df6596fe Merge commit '7101af2bc11836c93a51625796414004dc1cd2af' into read_marker 2017-06-13 17:43:55 +02:00
Giom Foret 7459f529e6 Read markers should be synchronised across clients
The read marker may be defined on an event which is not displayed in the room history.
The MatrixKit has been updated to handle this kind of event in the MXKRoomBubbleCellData object.
Previously these events were ignored during the bubbles rendering. Now a bubble component is created even if the event has no actual display.
This component is useful to display the read marker in the room history, and to allow the user to jump on this read marker.

vector-im/riot-meta#8
2017-06-13 17:43:32 +02:00
manuroe 865dc0da38 Fix App crashes on [AvatarGenerator imageFromText:withBackgroundColor:]
https://github.com/vector-im/riot-ios/issues/657

Do not call [AvatarGenerator imageFromText:withBackgroundColor:] outside main thread.
2017-06-12 15:06:35 +02:00
manuroe 4d9ced4786 Fix crash in [MXKContactManager localContactsSplitByContactMethod]
https://github.com/matrix-org/riot-ios-rageshakes/issues/36

Do not call this method from another thread than main to avoid race conditions within MXKContactManager queues.
This does not affect performance on the UI. CPU eating processing seems to be in the for-loops in the block.
2017-06-12 09:17:53 +02:00
giomfo 36df0c14d2 Merge pull request #1279 from vector-im/read_marker
Read Marker: Fix wrong room header display
2017-06-09 19:27:31 +02:00
Giom Foret 83c6417253 Read Marker: Fix wrong room header display 2017-06-09 15:58:27 +02:00
giomfo 0f673b05a9 Merge pull request #1278 from vector-im/read_marker
Read marker: Fix issues on marker handling
2017-06-09 15:47:02 +02:00
manuroe 91bdedf85f Merge pull request #1277 from vector-im/locales_in_bug_report
Bug report: add "locale", the device language and "app_language", the…
2017-06-09 14:54:00 +02:00
Giom Foret 78b2f73c0a Read marker: Fix issues on marker handling
https://github.com/vector-im/riot-meta/issues/8
2017-06-09 14:20:00 +02:00
manuroe ba43b03faf Bug report: add "locale", the device language and "app_language", the lang used within the app 2017-06-09 12:11:18 +02:00
manuroe 728082c663 Fix crash in global search (https://github.com/matrix-org/riot-ios-rageshakes/issues/32)
I was able to reproduce the bug by using bad network conditioner.
2017-06-09 12:09:20 +02:00
manuroe bb8c79d65f Merge pull request #1275 from vector-im/rageshake_39
Fix Crash after hitting create button
2017-06-09 10:21:10 +02:00
giomfo 713a702080 Merge pull request #1272 from vector-im/read_marker
RoomViewController:  The unread messages label is displayed whereas t…
2017-06-09 09:45:59 +02:00
manuroe cec6c05fd3 Fix Crash after hitting create button (https://github.com/matrix-org/riot-ios-rageshakes/issues/39)
It happened when selecting "Start Chat" from the RoomsVC. Fixed by a missing segue.
2017-06-09 09:42:12 +02:00
Giom Foret 6e4fbff5ae Read marker:
- Initialize the read marker if it does not exist yet, except for the room preview.
- Disable the events acknowledgement in case of room preview.
2017-06-09 09:40:22 +02:00
Giom Foret ac3d0e0680 RoomViewController: The unread messages label is displayed whereas the bubbles table is not visible yet 2017-06-08 16:27:19 +02:00
manuroe 1db1272208 UX rework: low priority people rooms shouldn't be displayed in the people tab 2017-06-08 16:01:24 +02:00
manuroe 1b691afd92 Merge pull request #1270 from vector-im/do_not_come_back_to_home_tab
UX rework: do not automatically come back to the home tab when openin…
2017-06-08 15:21:19 +02:00
manuroe f3352bd3a0 Merge pull request #1269 from vector-im/no_low_priority_room_in_people_tab
UX rework: low priority people rooms shouldn't be displayed in the pe…
2017-06-08 15:20:04 +02:00
manuroe ba4cc56708 UX rework: low priority people rooms shouldn't be displayed in the people tab 2017-06-08 15:19:34 +02:00
giomfo ab30755ea3 Merge pull request #1267 from vector-im/read_marker
Read Marker: Center the bubbles table content on the bottom of the re…
2017-06-08 15:12:33 +02:00
manuroe e86bea831f UX rework: low priority people rooms shouldn't be displayed in the people tab (https://github.com/vector-im/riot-ios/issues/1264)
and https://github.com/vector-im/riot-meta/issues/77#issuecomment-300101488
2017-06-08 15:07:43 +02:00
manuroe 01782943a1 UX rework: do not automatically come back to the home tab when opening a permalink
This fixes https://github.com/vector-im/riot-meta/issues/54#issuecomment-300428202
2017-06-08 14:27:38 +02:00
Giom Foret 3ad94887f8 Read Marker: Center the bubbles table content on the bottom of the read marker event
in order to display correctly the read marker view.
2017-06-08 12:29:23 +02:00
manuroe c59f53489b Merge pull request #1266 from vector-im/move_loading_wheel_with_keyboard
RoomVC: Make the activity indicator follow the keyboard
2017-06-08 11:26:44 +02:00
manuroe eabc946514 RoomVC: Make the activity indicator follow the keyboard
This avoids that the indicator view hides the text input.
2017-06-08 10:52:03 +02:00
Giom Foret 33a4897ef1 Initialise the read marker if it does not exist yet.
Set it to the current read receipt position by default
2017-06-08 10:30:29 +02:00
manuroe 37cbeb31dc Merge pull request #1258 from vector-im/contact_permission
Contact permission
2017-06-08 09:28:15 +02:00
manuroe a16f2046b6 Contact access permission: Ask permission on [ContactsTableViewController viewWillAppear] 2017-06-08 08:47:09 +02:00
manuroe 217a8f9703 Merge pull request #1259 from vector-im/make-plus-the-same
Make the plus button open the same menu in all tabs
2017-06-08 08:39:20 +02:00
manuroe 6d5f71e206 Merge pull request #1260 from vector-im/no-badge-on-home-tab-button
No notif badge on home tab button
2017-06-08 08:39:06 +02:00
manuroe a3d76eeb20 HomeVC: Automatically scrollback to the left every time the screen is displayed 2017-06-07 17:52:12 +02:00
manuroe 758e5b5c1c No notif badge on home tab button 2017-06-07 17:35:02 +02:00
manuroe 60a12f16f4 Make the plus button open the same menu in all tabs 2017-06-07 17:24:51 +02:00
manuroe f38e36f013 Contact access permission: Display "You didn't allow Riot to access your local contacts" instead of "No local contacts" when the user has denied the phonebook permission 2017-06-07 15:34:11 +02:00
manuroe b78378e7bc Contact access permission: make it work again.
Ask the permission when the user displays the people tab.
2017-06-07 14:28:52 +02:00
Giom Foret ee7afa86f2 Chat room read marker:
- Do not launch the read marker animation if the marker is outside the visible area.
2017-06-07 13:07:44 +02:00
manuroe b5a04bcbf3 Merge remote-tracking branch 'origin/ux_rework' into develop
# Conflicts:
#	Riot/AppDelegate.m
#	Riot/ViewController/ContactsTableViewController.m
#	Riot/ViewController/RoomViewController.m
2017-06-07 11:19:25 +02:00