Commit Graph

56 Commits

Author SHA1 Message Date
SBiOSoftWhare
327e80de35 TabBarCoordinator: Improve tab bar controllers management. Avoid to have twice HomeVC in memory. 2021-10-29 14:48:42 +02:00
SBiOSoftWhare
cf6a64639d TabBarCoordinator: Fix space switching. 2021-10-28 18:50:35 +02:00
SBiOSoftWhare
05d585d34b Update Riot/Modules/TabBar/TabBarCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-28 18:48:19 +02:00
SBiOSoftWhare
24835fd79e TabBarCoordinator: Prevent to update master tab bar controllers when not needed. 2021-10-28 18:15:46 +02:00
SBiOSoftWhare
8f05cfcdda Refactor RoomPreviewScreenParameters to RoomPreviewNavigationParameters. 2021-10-21 11:57:13 +02:00
SBiOSoftWhare
eec3bfc5d0 Refactor RoomScreenParameters to RoomNavigationParameters. 2021-10-21 11:40:18 +02:00
SBiOSoftWhare
724f46c155 Refactor RoomPreviewPresentationParameters to RoomPreviewScreenParameters. 2021-10-21 11:00:45 +02:00
SBiOSoftWhare
3c6efbff31 Refactor RoomPresentationParameters to RoomScreenParameters. 2021-10-21 10:55:13 +02:00
SBiOSoftWhare
9666e20c8f Rename UniversalLinkPresentationParameters to ScreenPresentationParameters. 2021-10-21 10:00:37 +02:00
SBiOSoftWhare
b40243480a TabBarCoordinator: Fix refacto issues. 2021-10-20 18:51:19 +02:00
SBiOSoftWhare
5804257a24 Update Riot/Modules/TabBar/TabBarCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:33:22 +02:00
SBiOSoftWhare
757ab48cab Update Riot/Modules/TabBar/TabBarCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:27:31 +02:00
SBiOSoftWhare
33b27427a9 UniversalLink: Improve group and contact presentation behaviour. 2021-10-20 15:55:46 +02:00
SBiOSoftWhare
41fcdb9231 TabBarCoordinator: Reset split view detail on room leave. 2021-10-20 08:57:55 +02:00
SBiOSoftWhare
785e536fe1 Update RoomPresentationParameters usage. 2021-10-20 08:31:51 +02:00
SBiOSoftWhare
d1279a3ce7 TabBarCoordinator: Update RoomViewControllerDelegate conformance. Handle RoomPresentationParameters and RoomPreviewPresentationParameters. 2021-10-12 19:15:35 +02:00
SBiOSoftWhare
5a7574c191 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
233588d065 TabBarCoordinator: Fix some typos. 2021-10-08 13:46:33 +02:00
SBiOSoftWhare
ec1634274e Update Riot/Modules/TabBar/TabBarCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 12:23:37 +02:00
SBiOSoftWhare
c508080d41 SplitViewCoordinator: Add possibility to stack controllers on detail view. 2021-10-06 17:20:34 +02:00
SBiOSoftWhare
4f18323045 TabBarCoordinator: Prevent to load twice the same room. 2021-10-06 16:25:30 +02:00
SBiOSoftWhare
6aef016278 Move TabBarCoordinatorParameters. 2021-10-06 15:47:39 +02:00
SBiOSoftWhare
66d24b6ead Move RoomDataSource releasing from TabBarCoordinator to SplitViewCoordinator. 2021-10-06 15:41:35 +02:00
SBiOSoftWhare
3d041b29d7 RoomCoordinator: Add setup completion on start methods to fit LegacyAppDelegate calls. 2021-10-05 17:35:15 +02:00
SBiOSoftWhare
ec9066571a MasterTabBarController: Clean code. 2021-10-05 16:41:37 +02:00
SBiOSoftWhare
7b96151eba TabBarCoordinator: Move code that should not be called several time. 2021-10-05 12:52:21 +02:00
SBiOSoftWhare
d20e4852c0 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
30e92078f9 TabBarCoordinator: Improve popToHome method. Do not steal the navigationController.delegate anymore. 2021-10-05 10:48:52 +02:00
Gil Eluard
8fd88b2053 [Spaces] M10.6.1 Handle space link #4498
- Update after code review
2021-09-23 17:15:32 +02:00
Gil Eluard
eacb147776 [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
1403d464ee [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
5864f2a55f Merge branch 'spaces' into gil/pre_release_fixes 2021-09-20 10:18:59 +02:00
Gil Eluard
ca83d8258f Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
Gil Eluard
d879928a96 [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
161f8ba217 Fixes #4843 - Prevent home screen horizontal scroll views from capturing side menu swipe gestures. 2021-09-17 17:58:44 +03:00
Gil Eluard
9279d17226 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
fc0f8e2163 #4693 - Updates following code review. 2021-08-25 13:57:32 +03:00
Stefan Ceriu
f93ed348c9 Implements #4693 - Alert users of Element on iOS11 deprecation. 2021-08-25 13:57:32 +03:00
Gil Eluard
f61a5751d2 Merge branch 'element_4509' into gil/4509_show_spaces_in_left_panel 2021-07-26 12:03:04 +02:00
Gil Eluard
bf8e0d0d18 Merge branch 'spaces' into element_4509 2021-07-26 10:42:49 +02:00
Gil Eluard
5937917c01 [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
Gil Eluard
b1d4f2dd37 it's easy for the back button to trigger a leftpanel reveal (#4438)
- Fixed
2021-07-09 23:54:25 +02:00
SBiOSoftWhare
72eb0dfa56 TabBarCoordinator: Prepare room filtering on MasterTabBarController. 2021-07-02 18:36:14 +02:00
SBiOSoftWhare
7f80e73179 TabBarCoordinator: Prepare space switching. 2021-07-02 16:46:53 +02:00
SBiOSoftWhare
a399961e57 TabBarCoordinator: Add accessibility label on side menu action and fix settings icon. 2021-06-08 18:43:27 +02:00
SBiOSoftWhare
c15fb55014 TabBarCoordinator: Handle side menu. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare
931d3af9d9 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
Stefan Ceriu
43f6c44c78 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
SBiOSoftWhare
1c54382327 TabBarCoordinator: Update MasterTabBarController according to new UserSessionsService behavior. 2021-05-28 12:48:04 +02:00
SBiOSoftWhare
3f336c1d1a TabBarCoordinator: Add sanity checks before adding Matrix session from MasterTabBarController. 2021-05-27 10:49:02 +02:00