Commit graph

103 commits

Author SHA1 Message Date
SBiOSoftWhare
f891cce4bb
Merge pull request #4960 from vector-im/steve/4734_master_tab_bar_refacto
Split view: Improve detail view management and add possibility to stack views on it
2021-10-11 17:23:20 +02:00
SBiOSoftWhare
52fafa1132
Update Riot/Modules/TabBar/TabBarCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-11 11:11:13 +02:00
SBiOSoftWhare
ac79e07665 Update MasterTabBarController. 2021-10-08 16:06:23 +02:00
SBiOSoftWhare
6b1cd8ddb5 TabBarCoordinator: Fix some typos. 2021-10-08 13:46:33 +02:00
SBiOSoftWhare
1be2fab297
Update Riot/Modules/TabBar/TabBarCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 12:23:37 +02:00
Gil Eluard
52e06a88d7 Fix performance issues with Spaces on very large accounts #4898
- Listen to `MXSpaceNotificationCounter` to update the notification badge
2021-10-06 22:06:00 +02:00
SBiOSoftWhare
766ef66e92 SplitViewCoordinator: Add possibility to stack controllers on detail view. 2021-10-06 17:20:34 +02:00
SBiOSoftWhare
704ee46da7 TabBarCoordinator: Prevent to load twice the same room. 2021-10-06 16:25:30 +02:00
SBiOSoftWhare
2ffd6498b6 Move TabBarCoordinatorParameters. 2021-10-06 15:47:39 +02:00
SBiOSoftWhare
1b1ca2373d Move RoomDataSource releasing from TabBarCoordinator to SplitViewCoordinator. 2021-10-06 15:41:35 +02:00
SBiOSoftWhare
8c338c981e RoomCoordinator: Add setup completion on start methods to fit LegacyAppDelegate calls. 2021-10-05 17:35:15 +02:00
SBiOSoftWhare
f2fc5adf00 MasterTabBarController: Clean code. 2021-10-05 16:41:37 +02:00
SBiOSoftWhare
79ff20c3be MasterTabBarController: Clean code. 2021-10-05 16:24:58 +02:00
SBiOSoftWhare
090e191b96 TabBarCoordinator: Move code that should not be called several time. 2021-10-05 12:52:21 +02:00
SBiOSoftWhare
0103bfdc9c TabBarCoordinator: Handle new coordinators used as split view detail. Conform to MasterTabBarControllerDelegate updates. Conform to SplitViewMasterPresentable updates. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare
691a82f8e8 MasterTabBarController: Delegate split view detail management. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare
8eed86c8c6 TabBarCoordinator: Improve popToHome method. Do not steal the navigationController.delegate anymore. 2021-10-05 10:48:52 +02:00
Stefan Ceriu
862464108b vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
Gil Eluard
ca7bf18f76 [Spaces] M10.6.1 Handle space link #4498
- Update after code review
2021-09-23 17:15:32 +02:00
Gil Eluard
24956e6774 Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-23 15:00:06 +02:00
Gil Eluard
134379bcc5 [spaces] several fixes for pre release
- update after review
2021-09-23 14:50:00 +02:00
Gil Eluard
3a2548a5ae [spaces] several fixes for pre release
- [Space view has communities tab at the bottom of the screen](https://github.com/vector-im/element-ios/issues/4846)
2021-09-22 18:49:22 +02:00
Gil Eluard
4d1dd1eb0a Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-22 16:58:28 +02:00
Gil Eluard
e6b72a778a [spaces] several fixes for pre release
- [When switching spaces, user and room tabs are not populated](https://github.com/vector-im/element-ios/issues/4889)
- [Explore rooms list in space has odd ordering](https://github.com/vector-im/element-ios/issues/4890)
- Fixed Coming Soon error for Explore rooms
2021-09-22 16:57:31 +02:00
Gil Eluard
14f0533a5a [Spaces] M10.6.1 Handle space link #4498
- Fixed universal links
- Added support for space links
2021-09-22 14:58:19 +02:00
Gil Eluard
8e4b98fef0 Merge branch 'spaces' into gil/pre_release_fixes 2021-09-20 10:18:59 +02:00
Gil Eluard
84bdf88fe1 Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
Gil Eluard
c1a542ef49 [spaces] several fixes for pre release
- [Space home view inherits title from previously viewed tab](https://github.com/vector-im/element-ios/issues/4851)
- [Home view doesn't refresh when new rooms are created](https://github.com/vector-im/element-ios/issues/4849)
- [Odd error message in Space member list](https://github.com/vector-im/element-ios/issues/4845)
- [Bring leaving space experience in line with Web](https://github.com/vector-im/element-ios/issues/4850)
- [No notification for space invitation](https://github.com/vector-im/element-ios/issues/4840)
- [Remove filter when space is switched](https://github.com/vector-im/element-ios/issues/4852)
- [M10.11 Remove community tab](https://github.com/vector-im/element-ios/issues/4493)
2021-09-20 10:10:27 +02:00
Stefan Ceriu
f339db231a Fixes #4843 - Prevent home screen horizontal scroll views from capturing side menu swipe gestures. 2021-09-17 17:58:44 +03:00
Gil Eluard
8ba6c55a87 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Avatar/AvatarViewDataProtocol.swift
#	Riot/Modules/Common/Recents/RecentsViewController.m
#	Riot/Modules/Home/Views/RoomCollectionViewCell.m
#	Riot/Modules/TabBar/TabBarCoordinator.swift
2021-09-15 14:42:04 +02:00
Stefan Ceriu
dacaa891a0 Fixes #4449 - Clipped home view on search. 2021-08-31 11:03:26 +03:00
Stefan Ceriu
ff405f6b13 #4693 - Updates following code review. 2021-08-25 13:57:32 +03:00
Stefan Ceriu
4322f7dcf5 Implements #4693 - Alert users of Element on iOS11 deprecation. 2021-08-25 13:57:32 +03:00
Gil Eluard
6cbb494f25 [Spaces] Show spaces in left panel #4509
- update after review
2021-08-02 09:57:30 +02:00
Gil Eluard
a4336c3ca1 Merge branch 'element_4509' into gil/4509_show_spaces_in_left_panel 2021-07-26 12:03:04 +02:00
Gil Eluard
43ec74b5ca Merge branch 'spaces' into element_4509 2021-07-26 10:42:49 +02:00
Gil Eluard
82284d560a [Spaces] Show spaces in left panel #4509
- Update title in the navigation bar according to the selected tab
2021-07-16 16:20:28 +02:00
Gil Eluard
f1da8c28bd [Spaces] Show spaces in left panel #4509
- Display the none hierarchical list of spaces in the left panel
- Space switching when new space selected
- Refresh space list and recents data after sync
2021-07-15 14:10:01 +02:00
Doug
989f19696d Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
Gil Eluard
a929ceb32e it's easy for the back button to trigger a leftpanel reveal (#4438)
- Fixed
2021-07-09 23:54:25 +02:00
Doug
e2a9d3bb24 Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
SBiOSoftWhare
44a618115c TabBarCoordinator: Prepare room filtering on MasterTabBarController. 2021-07-02 18:36:14 +02:00
SBiOSoftWhare
c19385c7f6 MasterTabBarController: Add a filterRoomsWithParentId method that should filter rooms for each tab data source with the given room parent id. 2021-07-02 18:35:29 +02:00
Doug
080b3e94bb Fix documentation warnings. 2021-07-02 16:46:27 +01:00
SBiOSoftWhare
4a7ebd2bec TabBarCoordinator: Prepare space switching. 2021-07-02 16:46:53 +02:00
SBiOSoftWhare
f1d8a8035a TabBarCoordinator: Add accessibility label on side menu action and fix settings icon. 2021-06-08 18:43:27 +02:00
SBiOSoftWhare
93dbf515f0 TabBarCoordinator: Handle side menu. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare
2b761a201d MasterTabBarController: Add sanity checks when add or remove a session. Fix runtime issue with Xcode 12.5 and NSArray mismatch type with Swift (see https://forums.swift.org/t/objective-c-interoperability-type-mismatch/12464 for more information). 2021-06-07 16:20:49 +02:00
SBiOSoftWhare
20943bb0b2 MasterTabBarController: Force type of Matrix session arrays. 2021-06-07 15:24:51 +02:00
Stefan Ceriu
f7a8163947
Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00