Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Tweaks to informational architecture 1.1 #7052

Merged
merged 70 commits into from
Nov 30, 2021
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
64d53d5
Move user avatar to Space panel
t3chguy Oct 28, 2021
f86e063
Add room list header for 'Home' or 'Space Name' to room list
t3chguy Oct 28, 2021
f1f32b7
Re-add pending room join spinner
t3chguy Oct 29, 2021
e3424ba
Iterate RoomListHeader plus context menu
t3chguy Oct 29, 2021
37941a5
Iterate space context menu
t3chguy Oct 29, 2021
e4f4e22
Iterate room list + interactions
t3chguy Oct 29, 2021
6b083d6
Move DND to new iA model
t3chguy Oct 29, 2021
1158737
Replace composer custom status management with usermenu one
t3chguy Nov 1, 2021
61b3326
Cull Quick Actions
t3chguy Nov 1, 2021
5d8fecd
Iterate minimized room list state
t3chguy Nov 1, 2021
b1bd780
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Nov 1, 2021
26bcf10
delint
t3chguy Nov 1, 2021
2edd329
Merge the RoomListNumResults into the RoomListHeader
t3chguy Nov 2, 2021
1e6c56a
Make the search shortcut prompt semi-bold
t3chguy Nov 2, 2021
650bdd2
Iterate RoomListHeader based on design review
t3chguy Nov 2, 2021
5dd370f
Iterate UserMenu based on feedback
t3chguy Nov 3, 2021
8570a20
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Nov 3, 2021
9903005
Add name to expanded spacepanel usermenu button
t3chguy Nov 8, 2021
123d804
i18n
t3chguy Nov 8, 2021
bd3de28
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Nov 9, 2021
a09269a
Make room sub list aux button components more generic
t3chguy Nov 9, 2021
db0864f
Change left panel explore button to only refer to room directory
t3chguy Nov 9, 2021
828337b
Iterate RoomListHeader
t3chguy Nov 9, 2021
4b3bc9b
Fix custom user status input field width in Chrome
t3chguy Nov 9, 2021
95ea95a
Bring back Notification settings button
t3chguy Nov 9, 2021
74cac1f
delint
t3chguy Nov 9, 2021
c5059f3
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Nov 11, 2021
b573d84
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Nov 11, 2021
f1d263c
i18n
t3chguy Nov 11, 2021
9e87fcb
post-merge fix
t3chguy Nov 11, 2021
f83b9b6
iterate pr
t3chguy Nov 11, 2021
0367103
Remove unused state
t3chguy Nov 11, 2021
d8d7fc5
update copy
t3chguy Nov 11, 2021
91e83af
Apply suggestions from PR review
t3chguy Nov 15, 2021
d8e5217
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Nov 15, 2021
6b7e6f4
delint
t3chguy Nov 15, 2021
2086525
Update invite iconography
t3chguy Nov 17, 2021
cde0080
Iterate Space context menu to match Figma
t3chguy Nov 17, 2021
1b683d2
Fix chevron alignment
t3chguy Nov 17, 2021
b03e562
Fix edge case for RoomListHeader on metaspaces
t3chguy Nov 17, 2021
223be9e
Wire up general rageshake-driven feedback mechanism
t3chguy Nov 17, 2021
385d8eb
Add IA1.1 info toast
t3chguy Nov 17, 2021
3a3f417
add missing alt attribute
t3chguy Nov 17, 2021
b108c20
delint
t3chguy Nov 17, 2021
53ab409
delint
t3chguy Nov 17, 2021
8e76eb8
tweak ia toast priority
t3chguy Nov 17, 2021
e209852
e2e test account for new toast
t3chguy Nov 17, 2021
eb0c41a
autofocus feedback field and remove old subheading
t3chguy Nov 18, 2021
7550ae9
tweak copy
t3chguy Nov 18, 2021
a1055ed
Iterate space panel colours to match Figma
t3chguy Nov 22, 2021
c6c9df2
Iterate PR
t3chguy Nov 22, 2021
28d7a40
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Nov 22, 2021
3a9e9b3
delint
t3chguy Nov 22, 2021
24f7cb7
Fix feedback submission with object setting values
t3chguy Nov 23, 2021
4aa54ac
iterate based on review
t3chguy Nov 24, 2021
99c3a11
Tweak colours and update splash image
t3chguy Nov 24, 2021
08653b9
Tweaks based on review
t3chguy Nov 25, 2021
4f2f0d8
Remove room list prompt, made redundant by the big fat `+`
t3chguy Nov 25, 2021
205769b
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Nov 26, 2021
3065850
Fix edge cases around User Menu positioning and dnd
t3chguy Nov 26, 2021
ef0c19f
Add missing import, bad merge?
t3chguy Nov 26, 2021
30b5a84
Update aria label in e2e test
t3chguy Nov 26, 2021
b7dd6f6
Fix room list space rooms context menu explore button behaviour
t3chguy Nov 26, 2021
d20bc45
Tweak copy
t3chguy Nov 26, 2021
c0d89ba
Revert order of options in the UserMenu
t3chguy Nov 26, 2021
99342fe
Tweak copy
t3chguy Nov 29, 2021
ba999e5
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Nov 29, 2021
f1f1c16
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Nov 29, 2021
04db477
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Nov 30, 2021
e9dde17
i18n
t3chguy Nov 30, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions res/css/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,11 @@
@import "./views/auth/_Welcome.scss";
@import "./views/avatars/_BaseAvatar.scss";
@import "./views/avatars/_DecoratedRoomAvatar.scss";
@import "./views/avatars/_MemberStatusMessageAvatar.scss";
@import "./views/avatars/_WidgetAvatar.scss";
@import "./views/beta/_BetaCard.scss";
@import "./views/context_menus/_CallContextMenu.scss";
@import "./views/context_menus/_IconizedContextMenu.scss";
@import "./views/context_menus/_MessageContextMenu.scss";
@import "./views/context_menus/_StatusMessageContextMenu.scss";
@import "./views/context_menus/_TagTileContextMenu.scss";
@import "./views/dialogs/_AddExistingToSpaceDialog.scss";
@import "./views/dialogs/_AddressPickerDialog.scss";
Expand Down Expand Up @@ -232,6 +230,7 @@
@import "./views/rooms/_RoomBreadcrumbs.scss";
@import "./views/rooms/_RoomHeader.scss";
@import "./views/rooms/_RoomList.scss";
@import "./views/rooms/_RoomListHeader.scss";
@import "./views/rooms/_RoomPreviewBar.scss";
@import "./views/rooms/_RoomSublist.scss";
@import "./views/rooms/_RoomTile.scss";
Expand Down
34 changes: 29 additions & 5 deletions res/css/structures/_LeftPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,33 @@ $roomListCollapsedWidth: 68px;
}

.mx_LeftPanel_filterContainer {
margin-left: 12px;
margin-right: 12px;
margin: 0 12px;
padding: 12px 0 8px;
border-bottom: 1px solid $quinary-content;

flex-shrink: 0; // to convince safari's layout engine the flexbox is fine

// Create a flexbox to organize the inputs
display: flex;
align-items: center;

.mx_RoomSearch_shortcutPrompt {
border-radius: 6px;
background-color: $quinary-content;
padding: 2px 4px;
user-select: none;
pointer-events: none;
font-size: $font-12px;
line-height: $font-15px;
color: $tertiary-content;
margin-right: 6px;
}

.mx_RoomSearch_focused, .mx_RoomSearch_hasQuery {
.mx_RoomSearch_shortcutPrompt {
display: none;
}

& + .mx_LeftPanel_exploreButton {
// Cheaty way to return the occupied space to the filter input
flex-basis: 0;
Expand All @@ -129,7 +146,7 @@ $roomListCollapsedWidth: 68px;
width: 32px;
height: 32px;
border-radius: 8px;
background-color: $roomlist-button-bg-color;
background-color: $background;
position: relative;
margin-left: 8px;

Expand All @@ -152,7 +169,7 @@ $roomListCollapsedWidth: 68px;
width: 32px;
height: 32px;
border-radius: 8px;
background-color: $roomlist-button-bg-color;
background-color: $background;
position: relative;
margin-left: 8px;

Expand All @@ -170,6 +187,14 @@ $roomListCollapsedWidth: 68px;
background: $secondary-content;
}

&:hover {
background-color: $tertiary-content;

&::before {
background-color: $background;
}
}

&.mx_LeftPanel_exploreButton_space::before {
mask-image: url('$(res)/img/element-icons/roomlist/browse.svg');
}
Expand Down Expand Up @@ -234,7 +259,6 @@ $roomListCollapsedWidth: 68px;
.mx_LeftPanel_exploreButton {
margin-left: 0;
margin-top: 8px;
background-color: transparent;
}
}
}
Expand Down
39 changes: 27 additions & 12 deletions res/css/structures/_RoomSearch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ limitations under the License.
.mx_RoomSearch {
flex: 1;
border-radius: 8px;
background-color: $roomlist-button-bg-color;
background-color: $background;
// keep border thickness consistent to prevent movement
border: 1px solid transparent;
border: 3px solid transparent;
height: 28px;
padding: 1px;

// Create a flexbox for the icons (easier to manage)
display: flex;
Expand Down Expand Up @@ -57,8 +56,7 @@ limitations under the License.
}

&.mx_RoomSearch_focused {
box-shadow: 0 0 4px 4px rgba(0, 132, 255, 0.5);
border-color: transparent;
border-color: $links;
}

&.mx_RoomSearch_focused, &.mx_RoomSearch_hasQuery {
Expand All @@ -67,12 +65,22 @@ limitations under the License.
.mx_RoomSearch_clearButton {
width: 16px;
height: 16px;
mask-image: url('$(res)/img/element-icons/roomlist/search-clear.svg');
mask-position: center;
mask-size: contain;
mask-repeat: no-repeat;
background-color: $secondary-content;
margin-right: 8px;
background-color: $quinary-content;
border-radius: 8px;
t3chguy marked this conversation as resolved.
Show resolved Hide resolved
position: relative;

&::before {
content: "";
position: absolute;
width: 16px;
height: 16px;
t3chguy marked this conversation as resolved.
Show resolved Hide resolved
mask-image: url('$(res)/img/feather-customised/x.svg');
mask-position: center;
mask-size: 12px;
mask-repeat: no-repeat;
background-color: $secondary-content;
}
}
}

Expand All @@ -82,13 +90,20 @@ limitations under the License.
}

&.mx_RoomSearch_minimized {
border-radius: 32px;
height: auto;
width: auto;
padding: 8px;
padding: 5px;

.mx_RoomSearch_icon {
margin-left: 0;
}

&:hover {
background-color: $tertiary-content;

.mx_RoomSearch_icon {
background-color: $background;
}
}
}
}
25 changes: 11 additions & 14 deletions res/css/structures/_SpacePanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $activeBorderColor: $secondary-content;

.mx_SpacePanel_spaceTreeWrapper {
flex: 1;
padding: 8px 8px 16px 0;
padding: 12px 8px 16px 0;
}

.mx_SpacePanel_toggleCollapse {
Expand Down Expand Up @@ -198,8 +198,6 @@ $activeBorderColor: $secondary-content;
}

&.mx_SpaceButton_new .mx_SpaceButton_icon {
background-color: $roomlist-button-bg-color;

&::before {
background-color: $primary-content;
mask-image: url('$(res)/img/element-icons/plus.svg');
Expand Down Expand Up @@ -306,13 +304,12 @@ $activeBorderColor: $secondary-content;
line-height: $font-18px;
}

.mx_IconizedContextMenu_optionList .mx_AccessibleButton.mx_SpacePanel_contextMenu_inviteButton {
color: $accent-color;
.mx_SpacePanel_iconHome::before {
mask-image: url('$(res)/img/element-icons/home.svg');
}

.mx_SpacePanel_iconInvite::before {
background-color: $accent-color;
mask-image: url('$(res)/img/element-icons/room/invite.svg');
}
.mx_SpacePanel_iconInvite::before {
mask-image: url('$(res)/img/element-icons/room/share.svg');
}

.mx_SpacePanel_iconSettings::before {
Expand All @@ -327,16 +324,16 @@ $activeBorderColor: $secondary-content;
mask-image: url('$(res)/img/element-icons/room/members.svg');
}

.mx_SpacePanel_iconPlus::before {
mask-image: url('$(res)/img/element-icons/roomlist/plus-circle.svg');
.mx_SpacePanel_iconCreateRoom::before {
mask-image: url('$(res)/img/element-icons/roomlist/hash-plus.svg');
}

.mx_SpacePanel_iconHash::before {
mask-image: url('$(res)/img/element-icons/roomlist/hash-circle.svg');
.mx_SpacePanel_iconAddSpace::before {
mask-image: url('$(res)/img/element-icons/leave.svg');
}

.mx_SpacePanel_iconExplore::before {
mask-image: url('$(res)/img/element-icons/roomlist/browse.svg');
mask-image: url('$(res)/img/element-icons/roomlist/hash-search.svg');
}

.mx_SpacePanel_noIcon {
Expand Down
Loading