Skip to content
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

feat: navigation overhaul - WPB-6647 #1361

Open
wants to merge 1,096 commits into
base: chore/navigation-overhaul-cherry-picks-WPB-6647
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1096 commits
Select commit Hold shift + click to select a range
4b26c6c
fix presenting the new conversation screen
caldrian Sep 19, 2024
e0b1748
fix minor appearance issues
caldrian Sep 19, 2024
e661e45
minor cleanup
caldrian Sep 19, 2024
c6336c9
fix layout constraints on the placeholder view controller's view
caldrian Sep 19, 2024
0b2fcf9
format code
caldrian Sep 19, 2024
5d60092
present settings
caldrian Sep 19, 2024
f654fc9
Merge branch 'develop' of github.com:wireapp/wire-ios into feat/creat…
caldrian Sep 19, 2024
cdbd4f7
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into fea…
caldrian Sep 19, 2024
38e10fa
Merge branch 'feat/create-mainsplitviewcontroller-no-WPB-10903' into …
caldrian Sep 19, 2024
ad34fb5
minor layout improvement
caldrian Sep 19, 2024
a4d62ed
extract preview code into separate files
caldrian Sep 19, 2024
0c37a3f
renane SidebarMenuItem to SidebarMenuItemView
caldrian Sep 19, 2024
4089488
rename SidebarProfileSwitcherView to SidebarAccountInfoView
caldrian Sep 19, 2024
7692d66
replace SidebarConversationFilter by SidebarMenuItem
caldrian Sep 19, 2024
df903f5
delete SidebarConversationFilter and fix build errors
caldrian Sep 19, 2024
ab10861
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Sep 19, 2024
b10da5f
Merge branch 'develop' of github.com:wireapp/wire-ios into feat/creat…
caldrian Sep 19, 2024
5042a34
Merge branch 'epic/navigation-overhaul-WPB-6647' of github.com:wireap…
caldrian Sep 19, 2024
59c2871
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into fea…
caldrian Sep 19, 2024
365569c
Merge branch 'feat/create-mainsplitviewcontroller-no-WPB-10903' into …
caldrian Sep 19, 2024
a12f5b4
SnapshotTestReferenceImageDirectory
caldrian Sep 19, 2024
2b1c41c
SnapshotTestReferenceImageDirectoryPlugin
caldrian Sep 19, 2024
585049b
chore: plugin for generated snapshot reference image directory consta…
caldrian Sep 19, 2024
eb50b7a
Merge branch 'chore/plugin-for-snapshot-referenceimagedirectory-const…
caldrian Sep 19, 2024
a0214f2
minor fixes
caldrian Sep 19, 2024
42d82ff
Merge branch 'chore/plugin-for-snapshot-referenceimagedirectory-const…
caldrian Sep 19, 2024
11d2efc
create SidebarMenuItem
caldrian Sep 19, 2024
07925dd
format code
caldrian Sep 19, 2024
ef9f227
Merge commit '11d2efc5842ad2613ab70501b282de4d9c81290c' into chore/us…
caldrian Sep 19, 2024
1ca1776
delete unused files
caldrian Sep 19, 2024
f150fee
Merge branch 'fix/sidebar-menu-items-WPB-9727' into chore/use-uisplit…
caldrian Sep 19, 2024
1c5f5c7
fix Package.swift
caldrian Sep 19, 2024
ddaa821
Merge branch 'chore/plugin-for-snapshot-referenceimagedirectory-const…
caldrian Sep 20, 2024
c6404e2
minor refactoring
caldrian Sep 20, 2024
a51fc2a
split previews for SidebarView and SidebarViewController
caldrian Sep 20, 2024
64fb808
fix linter warnings
caldrian Sep 20, 2024
379fbd2
cleanup TODOs
caldrian Sep 20, 2024
e47ebb7
Merge branch 'fix/sidebar-menu-items-WPB-9727' into feat/create-mains…
caldrian Sep 20, 2024
67da130
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into fea…
caldrian Sep 20, 2024
cf15329
Merge branch 'feat/create-mainsplitviewcontroller-no-WPB-10903' into …
caldrian Sep 20, 2024
505ce87
delete string key
caldrian Sep 20, 2024
7048cce
undo wrong changes
caldrian Sep 20, 2024
fe8fe94
make purpose of menu item view preview clearer
caldrian Sep 20, 2024
25c31fa
format code
caldrian Sep 20, 2024
52d6afd
update snapshot reference images
caldrian Sep 20, 2024
2dd6f65
Merge branch 'fix/sidebar-menu-items-WPB-9727' into feat/create-mains…
caldrian Sep 20, 2024
ebd57e1
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into fea…
caldrian Sep 20, 2024
de216f9
Merge branch 'feat/create-mainsplitviewcontroller-no-WPB-10903' into …
caldrian Sep 20, 2024
59ef11f
upgrade cherry-pick-action
caldrian Sep 20, 2024
2c8dc30
attempt to use view controller presentation for archive
caldrian Sep 20, 2024
7f63665
add doc comment
caldrian Sep 20, 2024
93e89c1
Merge branch 'develop' of github.com:wireapp/wire-ios into chore/plug…
caldrian Sep 20, 2024
b284465
refactoring
caldrian Sep 20, 2024
1d79e98
refactoring of the MainTabBarController
caldrian Sep 20, 2024
4dfe198
minor refactoring
caldrian Sep 20, 2024
f917861
start refactoring MainSplitViewController
caldrian Sep 20, 2024
06e2e3d
chore: plugin for generated snapshot reference image directory consta…
caldrian Sep 20, 2024
6f0623e
Merge remote-tracking branch 'github/gh-readonly-queue/develop/pr-195…
caldrian Sep 20, 2024
ccb84d0
Merge branch 'chore/plugin-for-snapshot-referenceimagedirectory-const…
caldrian Sep 20, 2024
90be508
MainSplitViewController refactoring
caldrian Sep 20, 2024
fca1b9f
MainConversationFilter
caldrian Sep 20, 2024
5101ae1
make adjustment in Wire-iOS
caldrian Sep 20, 2024
c526a66
MainSidebarMenuItem
caldrian Sep 20, 2024
926f6a0
implement showing conversation list
caldrian Sep 20, 2024
a0da3d4
fix some build errors
caldrian Sep 21, 2024
992d9ee
restore ConversationFilter enum
caldrian Sep 21, 2024
3cc719c
fix remaining build errors
caldrian Sep 21, 2024
f244801
improve code style
caldrian Sep 21, 2024
2d4d230
MainConversationFilterConvertible
caldrian Sep 21, 2024
127be36
ConversationFilter + MainConversationFilterConvertible
caldrian Sep 21, 2024
a403340
MainSidebarMenuItem + MainSidebarMenuItemConvertible
caldrian Sep 21, 2024
403ee52
fix build error
caldrian Sep 21, 2024
da1d008
Merge remote-tracking branch 'github/gh-readonly-queue/develop/pr-195…
caldrian Sep 23, 2024
c32067c
Merge branch 'chore/plugin-for-snapshot-referenceimagedirectory-const…
caldrian Sep 23, 2024
4861608
Merge branch 'fix/sidebar-menu-items-WPB-9727' into feat/create-mains…
caldrian Sep 23, 2024
2d59ff5
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Sep 23, 2024
a834056
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into fea…
caldrian Sep 23, 2024
a8ee035
Merge branch 'epic/navigation-overhaul-WPB-6647' into feat/create-mai…
caldrian Sep 23, 2024
2067318
Merge branch 'feat/create-mainsplitviewcontroller-no-WPB-10903' into …
caldrian Sep 23, 2024
5d3e362
fix switching conversation filters through the sidebar
caldrian Sep 23, 2024
51a884f
implement showing self profile
caldrian Sep 23, 2024
a64032a
a lot of cleanup
caldrian Sep 23, 2024
b0117ef
various bug fixes
caldrian Sep 23, 2024
9e59d1c
MainSplitViewSupplementaryContent
caldrian Sep 23, 2024
43a26ae
fix appearance on iOS 18
caldrian Sep 23, 2024
3dfe688
undo supplementaryContent property
caldrian Sep 23, 2024
b2948a2
refactoring
caldrian Sep 23, 2024
ef63f7f
cleanup
caldrian Sep 23, 2024
3d788da
present new conversation view controller in column
caldrian Sep 24, 2024
496e8d3
Merge branch 'develop' into fix/sidebar-menu-items-WPB-9727
caldrian Sep 24, 2024
8a544ba
fix collapsing and expanding with new conversation
caldrian Sep 24, 2024
b740da5
cleanup
caldrian Sep 24, 2024
966daa5
Merge branch 'fix/sidebar-menu-items-WPB-9727' into feat/create-mains…
caldrian Sep 24, 2024
90b2af5
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into fea…
caldrian Sep 24, 2024
09534a1
Merge branch 'feat/create-mainsplitviewcontroller-no-WPB-10903' into …
caldrian Sep 24, 2024
9c30577
address PR comments
caldrian Sep 24, 2024
dbcefdb
Merge remote-tracking branch 'github/gh-readonly-queue/develop/pr-195…
caldrian Sep 24, 2024
6ef066e
comment failing code
caldrian Sep 24, 2024
cfaa573
Merge branch 'fix/sidebar-menu-items-WPB-9727' into chore/use-uisplit…
caldrian Sep 24, 2024
458325b
Merge branch 'fix/sidebar-menu-items-WPB-9727' into feat/create-mains…
caldrian Sep 24, 2024
7842259
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into fea…
caldrian Sep 24, 2024
b0708ca
Merge branch 'feat/create-mainsplitviewcontroller-no-WPB-10903' into …
caldrian Sep 24, 2024
f3163ca
apply changes from the navigation overhaul branch
caldrian Sep 24, 2024
7804da1
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into fea…
caldrian Sep 24, 2024
3a74f6c
Merge branch 'feat/create-mainsplitviewcontroller-no-WPB-10903' into …
caldrian Sep 24, 2024
a4a36d0
fixes after merge
caldrian Sep 24, 2024
fd453fb
format code
caldrian Sep 24, 2024
e573de1
format code
caldrian Sep 24, 2024
8bd89a8
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into cho…
caldrian Sep 24, 2024
6f23219
Merge branch 'develop' of github.com:wireapp/wire-ios into feat/creat…
caldrian Sep 24, 2024
84e7db4
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into cho…
caldrian Sep 24, 2024
3f1aabc
Merge branch 'develop' of github.com:wireapp/wire-ios into feat/creat…
caldrian Sep 24, 2024
ffacfb1
fix constants
caldrian Sep 24, 2024
807b97e
remove TODOs
caldrian Sep 24, 2024
8ef5cfa
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into cho…
caldrian Sep 24, 2024
87b83d6
add some documentation
caldrian Sep 24, 2024
80a620d
delete unused file
caldrian Sep 24, 2024
f797d53
fix formatting
caldrian Sep 24, 2024
9e99e1d
fix swiftlint exception
caldrian Sep 24, 2024
62d16d2
set localized strings
caldrian Sep 24, 2024
fb4f721
fix snapshot tests
caldrian Sep 24, 2024
8d324e0
prepare main coordinator tests
caldrian Sep 24, 2024
a6f8887
create mocks
caldrian Sep 24, 2024
7e90f01
add some tests
caldrian Sep 24, 2024
ca9398b
add tests and todo
caldrian Sep 24, 2024
2c9a766
add more split view controller tests
caldrian Sep 24, 2024
d154912
add main tab controller tests
caldrian Sep 24, 2024
c21edfc
concept draft
caldrian Sep 24, 2024
630e858
Rewrite documentation
caldrian Sep 24, 2024
bf9931f
format code
caldrian Sep 24, 2024
c650d15
add TODO
caldrian Sep 24, 2024
5ee1c0b
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into cho…
caldrian Sep 24, 2024
0b1abfa
remove some code
caldrian Sep 24, 2024
ec1697a
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into cho…
caldrian Sep 24, 2024
7c13a45
resolve TODO
caldrian Sep 24, 2024
c45f87c
Fix snapshot reference imags
caldrian Sep 25, 2024
45e408f
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into cho…
caldrian Sep 25, 2024
caaba1f
remove precondition checks in MainCoordinator.init
caldrian Sep 25, 2024
73492a8
improve account image generator
caldrian Sep 25, 2024
50d709c
rename split view controller property
caldrian Sep 25, 2024
4a6041a
make LabelView simpler
caldrian Sep 25, 2024
e7a283f
Merge branch 'develop' of github.com:wireapp/wire-ios into feat/creat…
caldrian Sep 25, 2024
3200f3f
reduce duplicate code
caldrian Sep 25, 2024
c24c78a
rename the conversation filter mapping method
caldrian Sep 25, 2024
3e72168
format code
caldrian Sep 25, 2024
72465db
minor adjustments
caldrian Sep 25, 2024
d86b4cc
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into cho…
caldrian Sep 25, 2024
12d4c54
rename WireUIFoundation to WireMainNavigation
caldrian Sep 25, 2024
af9307c
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into cho…
caldrian Sep 25, 2024
3af1bd9
Merge branch 'develop' of github.com:wireapp/wire-ios into feat/creat…
caldrian Sep 26, 2024
7bba7ff
Merge branch 'feat/create-mainsplitviewcontroller-WPB-10903' into cho…
caldrian Sep 26, 2024
e668970
Merge commit '3af1bd9a76d4c78a046da53393f77439625dd4ad' into feat/cre…
caldrian Sep 26, 2024
92473e4
add changes from other branches
caldrian Sep 26, 2024
d40e991
fix snapshot reference images
caldrian Sep 26, 2024
e65a8e0
fix build errors
caldrian Sep 26, 2024
2a44796
Merge branch 'feat/create-mainsplitviewcontroller-no-WPB-10903' into …
caldrian Sep 26, 2024
fb35d40
fix imports
caldrian Sep 26, 2024
e79245e
format code
caldrian Sep 26, 2024
0c54f98
Merge branch 'develop' of github.com:wireapp/wire-ios into chore/use-…
caldrian Sep 26, 2024
8ff1029
fix snapshot tests
caldrian Sep 26, 2024
948dbb7
minor fixes
caldrian Sep 26, 2024
9371760
Merge branch 'develop' of github.com:wireapp/wire-ios into chore/use-…
caldrian Sep 27, 2024
248ab60
Merge remote-tracking branch 'github/gh-readonly-queue/develop/pr-197…
caldrian Sep 27, 2024
ae458c1
optimize Package.swift
caldrian Sep 27, 2024
f335d74
fix sidebar tinting
caldrian Sep 27, 2024
509f19f
chore: replace custom split view controller by UISplitViewController …
caldrian Sep 27, 2024
5c778c1
Merge remote-tracking branch 'github/epic/navigation-overhaul-WPB-664…
caldrian Sep 27, 2024
1ee1dea
Merge branch 'chore/use-uisplitviewcontroller-WPB-9727' into epic/nav…
caldrian Sep 27, 2024
9fd06f9
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Sep 30, 2024
ae339e3
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Oct 1, 2024
1df44b6
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Oct 2, 2024
97c886e
chore: present conversations and settings - WPB-10140 (#1992)
caldrian Oct 2, 2024
dd97f4f
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Oct 2, 2024
568b3c6
chore: create double column container to fix portrait mode - WPB-1014…
caldrian Oct 2, 2024
07e5807
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Oct 4, 2024
396e46b
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Oct 4, 2024
6616c42
Merge branch 'develop' into epic/navigation-overhaul-WPB-6647
caldrian Oct 4, 2024
89f874d
fix: present connect screen as modal - WPB-11394 (#2002)
caldrian Oct 7, 2024
dbbb6ee
chore: open support from sidebar
caldrian Oct 7, 2024
88492d5
chore: create SidebarViewControllerBuilder
caldrian Oct 7, 2024
0066d20
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Oct 7, 2024
303e9bd
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Oct 8, 2024
f429131
fix: navigation into conversations and resolve TODOs - WPB-10141 (#2007)
caldrian Oct 9, 2024
58feeb5
fix: TODOs and tests in WireUI - WPB-11346 (#2011)
caldrian Oct 10, 2024
fc72df1
fix WireSystem tests
caldrian Oct 10, 2024
ed03eaa
Trigger CI
caldrian Oct 10, 2024
a5cace0
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Oct 10, 2024
b49ca80
fix build errors
caldrian Oct 10, 2024
af90ced
Merge branch 'epic/navigation-overhaul-WPB-6647' of github.com:wireap…
caldrian Oct 10, 2024
c97f7d8
undo unwanted changes
caldrian Oct 10, 2024
c4293ec
delete unused files
caldrian Oct 10, 2024
fb0b165
minor fixes
caldrian Oct 10, 2024
c6735e6
fix compilation mode
caldrian Oct 10, 2024
3063ad7
disable CI
caldrian Oct 10, 2024
43659ea
sf symbols
caldrian Oct 10, 2024
4a1a01a
fix crash
caldrian Oct 10, 2024
1394edf
make note of failing tests
caldrian Oct 10, 2024
0496f44
Merge commit '50330238e9c9267b3e714b18849730038fe85c34' into epic/nav…
caldrian Oct 10, 2024
d6bfda6
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into e…
caldrian Oct 10, 2024
ed4fa54
fix some build errors
caldrian Oct 10, 2024
ba84db2
Merge branch 'epic/navigation-overhaul-WPB-6647' into fix/wire-ios-te…
caldrian Oct 10, 2024
0f41f13
fix a few snapshot tests
caldrian Oct 10, 2024
5a20e01
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into e…
caldrian Oct 10, 2024
513f3e6
Merge branch 'epic/navigation-overhaul-WPB-6647' into fix/wire-ios-te…
caldrian Oct 10, 2024
2b2e7ac
attempt to set accent color in tests
caldrian Oct 11, 2024
b70b81f
set accent color in tests to blue
caldrian Oct 11, 2024
a21d71c
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into e…
caldrian Oct 11, 2024
7a07eb8
chore: reduce complexity of generics - WPB-6647 (#2022)
caldrian Oct 11, 2024
b6fd536
Merge branch 'epic/navigation-overhaul-WPB-6647' of github.com:wireap…
caldrian Oct 11, 2024
1c4b79e
Merge branch 'develop' of github.com:wireapp/wire-ios into epic/navig…
caldrian Oct 11, 2024
5c63a8a
Merge branch 'epic/navigation-overhaul-WPB-6647' of github.com:wireap…
caldrian Oct 11, 2024
52dd917
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into e…
caldrian Oct 11, 2024
ca0f732
rename targets
caldrian Oct 11, 2024
aa66fe4
Merge branch 'epic/navigation-overhaul-WPB-6647' of github.com:wireap…
caldrian Oct 11, 2024
44ee80d
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into e…
caldrian Oct 11, 2024
1c1bf21
minor fix
caldrian Oct 11, 2024
5b16f8f
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into e…
caldrian Oct 13, 2024
000f5e8
Merge branch 'epic/navigation-overhaul-WPB-6647' into fix/wire-ios-te…
caldrian Oct 14, 2024
ec3f7da
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into e…
caldrian Oct 14, 2024
9200abe
Merge branch 'epic/navigation-overhaul-WPB-6647' into fix/wire-ios-te…
caldrian Oct 14, 2024
495582c
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into e…
caldrian Oct 15, 2024
c7a9faf
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into e…
caldrian Oct 15, 2024
973205c
Merge branch 'epic/navigation-overhaul-WPB-6647' into fix/wire-ios-te…
caldrian Oct 15, 2024
a17924c
fix imports
caldrian Oct 15, 2024
9e1f79f
fix build error
caldrian Oct 15, 2024
5967172
fix linter violations
caldrian Oct 15, 2024
9d45b31
add TODO
caldrian Oct 15, 2024
e9bb899
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into e…
caldrian Oct 15, 2024
04ecaad
Merge branch 'epic/navigation-overhaul-WPB-6647' into fix/wire-ios-te…
caldrian Oct 15, 2024
d15051f
fix tests
caldrian Oct 15, 2024
4a16ffb
update snapshot reference images
caldrian Oct 15, 2024
78b9b2b
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into f…
caldrian Oct 15, 2024
d8f1f3f
Merge branch 'feat/navigation-overhaul-WPB-6647' into fix/wire-ios-te…
caldrian Oct 15, 2024
6a44935
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into f…
caldrian Oct 15, 2024
04ed595
Merge branch 'feat/navigation-overhaul-WPB-6647' into fix/wire-ios-te…
caldrian Oct 15, 2024
2ccf6e1
Undo workflow changes
caldrian Oct 15, 2024
5b7f802
fix: unit tests - WPB-11346 (#2014)
caldrian Oct 16, 2024
29b3663
fix ticket numbers of TODOs
caldrian Oct 16, 2024
3bb544b
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into e…
caldrian Oct 16, 2024
7df6a1c
feat: empty state for conversation list - WPB-11341 (#2013)
KaterinaWire Oct 16, 2024
01ae31c
chore: pull develop and related pr - WPB-6647 (#2043)
caldrian Oct 16, 2024
21ecad1
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into f…
caldrian Oct 16, 2024
cd776f2
Merge branch 'epic/navigation-overhaul-WPB-6647' of github.com:wireap…
caldrian Oct 16, 2024
9cdf017
Merge branch 'feat/navigation-overhaul-WPB-6647' into epic/navigation…
caldrian Oct 16, 2024
30e7145
Merge branch 'chore/navigation-overhaul-cherry-picks-WPB-6647' into f…
caldrian Oct 16, 2024
c2a0136
Merge branch 'feat/navigation-overhaul-WPB-6647' into epic/navigation…
caldrian Oct 16, 2024
f65d121
feat: New Design for Creating New Group Conversation Screen to match …
agisilaos Oct 17, 2024
f832354
fix: call overlay and wrong navigation bar layout on iPad - WPB-11352…
caldrian Oct 17, 2024
584264a
chore: Delete `CreateGuestRoomCell` & `CreateGroupCell` - WPB-11612 (…
agisilaos Oct 17, 2024
a892c2b
fix: navigation bar layout when E2EI is enabled - WPB-11604 (#2054)
caldrian Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion WireUI/Sources/WireDesign/Colors/SemanticColors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ public enum SemanticColors {
public static let backgroundSeparatorCell = UIColor(light: .gray40, dark: .gray90)
public static let backgroundSeparatorEditView = UIColor(light: .gray60, dark: .gray70)
public static let backgroundConversationList = UIColor(light: .gray20, dark: .gray100)
public static let backgroundConversationListTableViewCell = UIColor(light: .white, dark: .gray95)
public static let borderConversationListTableViewCell = UIColor(light: .gray40, dark: .gray90)
public static let backgroundCollectionCell = UIColor(light: .white, dark: .gray90)
public static let borderCollectionCell = UIColor(light: .gray30, dark: .gray80)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ public final class MainTabBarController<
set { setConversationListUI(newValue, animated: false) }
}

public var foldersUI: UIViewController? {
get { _foldersUI }
set { setFoldersUI(newValue, animated: false) }
}

public var archiveUI: ArchiveUI? {
get { _archiveUI }
set { setArchiveUI(newValue, animated: false) }
Expand Down Expand Up @@ -71,14 +66,11 @@ public final class MainTabBarController<

// MARK: - Private Properties

private weak var contactsNavigationController: UINavigationController!
private weak var conversationListNavigationController: UINavigationController!
private weak var foldersNavigationController: UINavigationController!
private weak var archiveNavigationController: UINavigationController!
private /* weak */ var settingsNavigationController: UINavigationController! // TODO: [WPB-6647] make this property weak as well
private weak var settingsNavigationController: UINavigationController!

private weak var _conversationListUI: ConversationListUI?
private weak var _foldersUI: UIViewController?
private weak var _archiveUI: ArchiveUI?
private weak var _settingsUI: SettingsUI?
private weak var _conversationUI: ConversationUI?
Expand All @@ -98,42 +90,23 @@ public final class MainTabBarController<
}

private func setupTabs() {
let contactsNavigationController = UINavigationController()
self.contactsNavigationController = contactsNavigationController

let conversationListNavigationController = UINavigationController()
self.conversationListNavigationController = conversationListNavigationController

let foldersNavigationController = UINavigationController()
self.foldersNavigationController = foldersNavigationController

let archiveNavigationController = UINavigationController()
self.archiveNavigationController = archiveNavigationController

let settingsNavigationController = UINavigationController()
self.settingsNavigationController = settingsNavigationController

viewControllers = [
contactsNavigationController,
conversationListNavigationController,
foldersNavigationController,
archiveNavigationController,
settingsNavigationController
]

for content in MainTabBarControllerContent.allCases {
switch content {
case .contacts:
let tabBarItem = UITabBarItem(
title: String(localized: "tabBar.contacts.title", bundle: .module),
image: .init(systemName: "person"),
selectedImage: .init(systemName: "person.fill")
)
tabBarItem.accessibilityIdentifier = "bottomBarPlusButton"
tabBarItem.accessibilityLabel = String(localized: "tabBar.contacts.description", bundle: .module)
tabBarItem.accessibilityHint = String(localized: "tabBar.contacts.hint", bundle: .module)
contactsNavigationController.tabBarItem = tabBarItem

case .conversations:
let tabBarItem = UITabBarItem(
title: String(localized: "tabBar.conversations.title", bundle: .module),
Expand All @@ -145,17 +118,6 @@ public final class MainTabBarController<
tabBarItem.accessibilityHint = String(localized: "tabBar.conversations.hint", bundle: .module)
conversationListNavigationController.tabBarItem = tabBarItem

case .folders:
let tabBarItem = UITabBarItem(
title: String(localized: "tabBar.folders.title", bundle: .module),
image: .init(systemName: "folder"),
selectedImage: .init(systemName: "folder.fill")
)
tabBarItem.accessibilityIdentifier = "bottomBarFolderListButton"
tabBarItem.accessibilityLabel = String(localized: "tabBar.folders.description", bundle: .module)
tabBarItem.accessibilityHint = String(localized: "tabBar.folders.hint", bundle: .module)
foldersNavigationController.tabBarItem = tabBarItem

case .archive:
let tabBarItem = UITabBarItem(
title: String(localized: "tabBar.archived.title", bundle: .module),
Expand All @@ -180,7 +142,6 @@ public final class MainTabBarController<
settingsNavigationController.tabBarItem = tabBarItem
}
}
viewControllers?.removeLast() // this line will be removed with navigation overhaul
selectedContent = .conversations
}

Expand Down Expand Up @@ -214,14 +175,6 @@ public final class MainTabBarController<
conversationListNavigationController.view.layoutIfNeeded()
}

private func setFoldersUI(_ foldersUI: UIViewController?, animated: Bool) {
_foldersUI = foldersUI

let viewControllers = [foldersUI].compactMap { $0 }
foldersNavigationController.setViewControllers(viewControllers, animated: animated)
foldersNavigationController.view.layoutIfNeeded()
}

private func setArchiveUI(_ archiveUI: ArchiveUI?, animated: Bool) {
_archiveUI = archiveUI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,6 @@ public final class MainCoordinator<Dependencies>: NSObject, MainCoordinatorProto

case .settings:
sidebar.selectedMenuItem = .init(.settings)

case .contacts, .folders:
break
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@
/// The type of tabs of the main tab bar controller shows.
/// Since UIKit has a type `UITab` this type has been suffixed with "Content".
public enum MainTabBarControllerContent: Int, CaseIterable {
case contacts // will be removed in navigation overhaul
case conversations
case folders // will be removed in navigation overhaul
case archive, settings
case conversations, archive, settings
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ public protocol MainCoordinatorProtocol: AnyObject {
@MainActor
func hideSettingsContent()

@MainActor
func presentViewController(_ viewController: UIViewController) async
@MainActor
func dismissPresentedViewController() async

// TODO: [WPB-11651] Move theses methods out of the protocol. The `presentViewController(_:)` method should be used.

@MainActor
func showSelfProfile() async
@MainActor
Expand All @@ -54,9 +61,4 @@ public protocol MainCoordinatorProtocol: AnyObject {
func showConnect() async
@MainActor
func showCreateGroupConversation() async

@MainActor
func presentViewController(_ viewController: UIViewController) async
@MainActor
func dismissPresentedViewController() async
}
Loading
Loading