-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conditionally hide room list tabs #6533
Conditionally hide room list tabs #6533
Conversation
- First implementation
# Conflicts: # Riot/Generated/UntranslatedStrings.swift
- Update after reviews
- Added new analytics
- Last tweaks
- fixed theme issues
- fixed build after merge - renamed AllChats classes
- new Build settings newAppLayoutEnaled
- Removed the Pinned space feature
- Removed the All chats layout editor screen - Added feature flag - Added context menus
- Removed analytics used for IA test
- Added Space selector bottom sheet - Changed placement for the context menus in the all chats screen
- Code tweaks
- Code cleanup
…Implement_new_Space_selector_bottom_sheet
- Update after design review
- Update after review
- Code cleanup
…Implement_new_Space_selector_bottom_sheet # Conflicts: # Riot/Modules/ContextMenu/ActionProviders/AllChatsActionProvider.swift # Riot/Modules/Home/AllChats/AllChatsViewController.swift
- Added space switching analytics - Implemented unit and UI test for space selector bottom sheet
- Animation for bottom action panel - UI tweaks
- Temporarily reintroduced invites
Co-authored-by: Doug <[email protected]>
- Update after code review
…vector-im/element-ios into gil/6079-Delight_Edit_layout_experiment
- Changed Recents type to Breadcrumbs
- Update after code review
- Update after code review
…Implement_new_Space_selector_bottom_sheet # Conflicts: # Riot/Modules/Home/AllChats/AllChatsActionPanelView.swift # Riot/Modules/Home/AllChats/AllChatsActionPanelView.xib # Riot/Modules/Home/AllChats/AllChatsViewController.swift # Riot/Modules/TabBar/TabBarCoordinator.swift
- Do not show coach message with the new App Layout
…tom_sheet # Conflicts: # Riot/Assets/en.lproj/Vector.strings # Riot/Generated/Strings.swift # Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m # Riot/Modules/Common/Recents/Service/MatrixSDK/RecentsListService.swift # Riot/Modules/Common/Recents/Service/Mock/MockRecentsListService.swift # Riot/Modules/Common/Recents/Service/RecentsListServiceProtocol.swift # Riot/Modules/ContextMenu/ActionProviders/AllChatsActionProvider.swift # Riot/Modules/Home/AllChats/AllChatsViewController.swift # Riot/Modules/Home/AllChats/AllChatsViewController.xib # Riot/Modules/TabBar/TabBarCoordinator.swift
- Removed unnecessary images - Changed for SVG format
- Now using the default toolbar of the navigation controller
- Removed the swipe actions menu in recents
- Reverted some Theme tweaks to fix some UI regressions
- Added change log - Hide toolbar when leave All Chats screen
- Implemented
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@@ -966,6 +966,10 @@ - (UIView *)viewForHeaderInSection:(NSInteger)section withFrame:(CGRect)frame in | |||
|
|||
if (self.allChatsOptionsView) | |||
{ | |||
[self.allChatsFilterOptions updateWithFilterOptionListView:self.allChatsOptionsView | |||
unreadsCount:1 // unreads is allways visible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if it actually makes sense to have the unreadsCount
parameter on the method if we always pass 1
to force a result?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's clearly a matter of point of view. In my opinion, the AllChatsFilterOptions
instance has to manage 3 tabs for now:
unreads
, favourites
, and people
. For consistency purpose, this method needs the count for all those 3 tabs. Up to the caller to set the unreads
tab as always visible as requested for now in the related issue.
I can change it if this makes no sense to you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nah its totally fine as is, was only a thought :)
# Conflicts: # Riot/Modules/Common/Recents/RecentsViewController.m # Riot/Modules/ContextMenu/ActionProviders/AllChatsEditActionProvider.swift # Riot/Modules/Home/AllChats/AllChatsViewController.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/Coordinator/SpaceSelectorBottomCoordinator.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/Coordinator/SpaceSelectorBottomCoordinatorBridgePresenter.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/Coordinator/SpaceSelectorCoordinator.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/MockSpaceSelectorScreenState.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/Service/MatrixSDK/SpaceSelectorService.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/Service/Mock/MockSpaceSelectorService.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/Service/SpaceSelectorServiceProtocol.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/SpaceSelectorModels.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/SpaceSelectorViewModel.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/SpaceSelectorViewModelProtocol.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/Test/UI/SpaceSelectorUITests.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/Test/Unit/SpaceSelectorViewModelTests.swift # RiotSwiftUI/Modules/Spaces/SpaceSelectorBottomSheet/SpaceSelector/View/SpaceSelector.swift
Kudos, SonarCloud Quality Gate passed! |
📱 Scan the QR code below to install the build for this PR. If you can't scan the QR code you can install the build via this link: https://i.diawi.com/x2b13k |
resolves #6515