Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
b317093
Add `Thread Activity centre` labs flag
florianduros Jan 3, 2024
a07196b
Rename translation string
florianduros Jan 4, 2024
8f633bd
WIP Thread Activity Centre
florianduros Jan 11, 2024
c241a1a
Merge branch 'develop' into florianduros/threads/pop-out-panel
florianduros Jan 11, 2024
927eeb6
Merge branch 'develop' into florianduros/threads/labs-flag
florianduros Jan 11, 2024
007c4f5
Update supportedLevels
florianduros Jan 12, 2024
7f9a9d9
Merge branch 'develop' into florianduros/threads/labs-flag
florianduros Jan 12, 2024
2d40d2c
Merge branch 'florianduros/threads/labs-flag' into florianduros/threa…
florianduros Jan 12, 2024
f04f591
css lint
florianduros Jan 12, 2024
6115607
i18n lint
florianduros Jan 12, 2024
c83559b
Fix labs subsection test
florianduros Jan 12, 2024
531e10a
Merge branch 'florianduros/threads/labs-flag' into florianduros/threa…
florianduros Jan 12, 2024
b226a08
Update Threads Activity Centre label
florianduros Jan 15, 2024
94ace6f
Merge branch 'florianduros/threads/labs-flag' into florianduros/threa…
florianduros Jan 15, 2024
3734924
Merge branch 'develop' into florianduros/threads/labs-flag
florianduros Jan 15, 2024
aefe979
Rename Thread Activity Centre to Threads Activity Centre
florianduros Jan 15, 2024
b7f43af
Merge branch 'develop' into florianduros/threads/pop-out-panel
florianduros Jan 15, 2024
8a5d875
Use compound `MenuItem` instead of custom button
florianduros Jan 16, 2024
84d371f
Color thread icon when hovered
florianduros Jan 16, 2024
b120df6
Make the pop-up scrollable and add a max height
florianduros Jan 17, 2024
27d21b6
Remove Math.random in key
florianduros Jan 17, 2024
0943a1c
Merge branch 'develop' into florianduros/threads/pop-out-panel
florianduros Jan 17, 2024
c06a6ca
Remove unused class
florianduros Jan 17, 2024
eca98b8
Change add comments on `mx_ThreadsActivityRows` and `mx_ThreadsActivi…
florianduros Jan 17, 2024
5b854dc
Make threads activity centre labs flag split out unread counts
dbkr Jan 18, 2024
ba9ad07
Fix tests
dbkr Jan 18, 2024
f2dc6f9
Simpler fix
dbkr Jan 18, 2024
141cb35
Open thread panel when thread clicke in Threads Activity Centre
dbkr Jan 19, 2024
662c946
Merge pull request #12161 from matrix-org/dbkr/open_threadpanel
dbkr Jan 19, 2024
dc954c5
Dynamic state of room
florianduros Jan 23, 2024
1e4b378
Merge pull request #12156 from matrix-org/dbkr/split_unread_counts
dbkr Jan 23, 2024
7a72dd8
Merge branch 'develop' into florianduros/threads/labs-flag
florianduros Jan 23, 2024
f30e62d
Merge branch 'florianduros/threads/labs-flag' into florianduros/threa…
florianduros Jan 23, 2024
3478500
Merge branch 'develop' into florianduros/threads/pop-out-panel
dbkr Jan 23, 2024
c66da31
Merge branch 'develop' into florianduros/threads/labs-flag
florianduros Jan 23, 2024
4a9619b
Add doc
florianduros Jan 23, 2024
9db452c
Use the StatelessNotificationBadge component in ThreadsActivityCentre
dbkr Jan 23, 2024
8d803b3
Remove unused style
dbkr Jan 23, 2024
09d2691
Merge pull request #12167 from matrix-org/dbkr/use_stateless_notifica…
dbkr Jan 23, 2024
3279050
Merge branch 'develop' into florianduros/threads/labs-flag
florianduros Jan 24, 2024
777e7f2
Add room sorting
florianduros Jan 24, 2024
d33ffbf
Fix `ThreadsActivityRow` props doc
florianduros Jan 24, 2024
c6683d2
Pass in & cache the status of the TAC labs flag
dbkr Jan 24, 2024
67550c1
Pass includeThreads as setting to doesRoomHaveUnreadMessages too
dbkr Jan 24, 2024
c9eccdc
Fix tests
dbkr Jan 24, 2024
d56b703
Merge branch 'develop' into florianduros/threads/pop-out-panel
dbkr Jan 25, 2024
2802f7a
Add analytics to the TAC (#12179)
florianduros Jan 25, 2024
4e5ad83
Merge branch 'florianduros/threads/labs-flag' into florianduros/threa…
dbkr Jan 26, 2024
ac236a6
Merge branch 'develop' into florianduros/threads/pop-out-panel
florianduros Jan 29, 2024
b893eb7
Merge branch 'develop' into florianduros/threads/pop-out-panel
florianduros Jan 29, 2024
49b4aee
Update TAC label (#12186)
florianduros Jan 30, 2024
ccda3bc
Add `IndicatorIcon` to the TAC button (#12182)
florianduros Jan 30, 2024
1ea0291
Threads don't have activity if the room is muted
dbkr Jan 30, 2024
daebac6
Merge pull request #12192 from matrix-org/dbkr/honour_muted_unread
dbkr Jan 31, 2024
41d392f
Re-use doesRoomHaveUnreadThreads for useRoomThreadNotifications
dbkr Jan 31, 2024
6872cc4
Merge pull request #12195 from matrix-org/dbkr/reuse_unread_threads
dbkr Jan 31, 2024
872af63
Add TAC description in labs (#12197)
florianduros Jan 31, 2024
7e94ab0
Fox position & size of dot on the tac button
dbkr Jan 31, 2024
97c92dd
Merge branch 'develop' into florianduros/threads/pop-out-panel
florianduros Jan 31, 2024
19c9fcf
Merge pull request #12199 from matrix-org/dbkr/fix_tac_dot_position
dbkr Jan 31, 2024
48b4a04
TAC: Utils tests (#12200)
florianduros Feb 1, 2024
a5d9c33
Add test for the ThreadsActivityCentre component
dbkr Feb 1, 2024
6b0e759
Add snapshot test
dbkr Feb 2, 2024
3dc60a6
Fix narrow hover background on TAC button
dbkr Feb 2, 2024
7fb8349
Merge pull request #12212 from matrix-org/dbkr/tac_fix_narrow_hover
dbkr Feb 2, 2024
f9608c0
Merge pull request #12207 from matrix-org/dbkr/tac_test
dbkr Feb 2, 2024
a5f2876
Merge branch 'develop' into florianduros/threads/pop-out-panel
florianduros Feb 2, 2024
8ad756d
Fix the weird gradient on the spaces bar
dbkr Feb 5, 2024
e168ed9
Fix a collection of issues with the space panel styling
dbkr Feb 7, 2024
2e4d9d9
Remove unused line
dbkr Feb 7, 2024
8e0520d
Merge remote-tracking branch 'origin/develop' into dbkr/fix_spaces_ba…
dbkr Feb 7, 2024
6fba0cb
Add an 8px solid area above the threads icon
dbkr Feb 7, 2024
dcba53a
Merge branch 'develop' into dbkr/fix_spaces_bar_gradient_2
dbkr Feb 19, 2024
3d516b6
More gradient tweaks
dbkr Feb 19, 2024
6444277
Margin back down to 18px & tweaked gradient stops
dbkr Feb 19, 2024
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
55 changes: 46 additions & 9 deletions res/css/structures/_SpacePanel.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ limitations under the License.
--activeBackground-color: $panel-actions;
--activeBorder-color: $primary-content;
--activeBorder-transparent-gap: 1px;
--gutterSize: 16px;
/* The size of the left margin. There's also 4px of padding on the spac icons for
the border when selected, makign a total of 18px */
--gutterSize: 14px;
--spaceSelectedBorderSize: 4px;
--height-nested: 24px;
--height-topLevel: 32px;

background-color: $spacePanel-bg-color;
flex: 0 0 auto;
width: 68px;
padding: 0;
margin: 0;
position: relative;
Expand Down Expand Up @@ -123,7 +127,7 @@ limitations under the License.
border-radius: 8px;
display: flex;
align-items: center;
padding: 4px 4px 4px 0;
padding: 4px 0px 4px 0;
width: 100%;
cursor: pointer;

Expand All @@ -144,7 +148,7 @@ limitations under the License.
flex: 1;
align-items: center;
border-radius: 12px;
padding: 4px;
padding: var(--spaceSelectedBorderSize);
width: calc(100% - 32px);
min-width: 0;
}
Expand Down Expand Up @@ -323,7 +327,9 @@ limitations under the License.
/* root space buttons are bigger and not indented */
& > .mx_AutoHideScrollbar {
flex: 1;
padding: 0 8px 16px 0;
scrollbar-gutter: stable;
padding-top: 12px;
padding-bottom: 16px;

& > .mx_SpaceButton {
height: var(--height-topLevel);
Expand All @@ -338,23 +344,54 @@ limitations under the License.
}

&.mx_IndicatorScrollbar_topOverflow {
mask-image: linear-gradient(180deg, transparent, black 5%);
mask-image: linear-gradient(to bottom, transparent, black 16px);
}

&.mx_IndicatorScrollbar_bottomOverflow {
mask-image: linear-gradient(180deg, black, black 95%, transparent);
mask-image: linear-gradient(
to top,
transparent,
rgba(255, 255, 255, 30%) 4px,
rgba(255, 255, 255, 55%) 8px,
rgba(255, 255, 255, 75%) 12px,
black 16px
);
}

&.mx_IndicatorScrollbar_topOverflow.mx_IndicatorScrollbar_bottomOverflow {
mask-image: linear-gradient(180deg, transparent, black 5%, black 95%, transparent);
/* This stacks two gradients on top of one another, which lets us
have a fixed pixel offset from both top and bottom for the colour stops.
Note the top fade is much smaller because the spaces start close to the top,
so otherwise a large gradient suddenly appears when you scroll down. */
mask-image: linear-gradient(to bottom, transparent, black 16px),
linear-gradient(
to top,
transparent,
rgba(255, 255, 255, 30%) 4px,
rgba(255, 255, 255, 55%) 8px,
rgba(255, 255, 255, 75%) 12px,
black 16px
);
mask-position:
0% 0%,
0% 100%;
mask-size:
calc(100% - 10px) 50%,
calc(100% - 10px) 50%;
mask-repeat: no-repeat;
}
}

.mx_UserMenu {
padding: 0 2px 8px;
padding-bottom: 12px;
border-bottom: 1px solid $separator;
margin: 12px 14px 4px 18px;
margin: 12px auto 0 auto;
max-width: 226px;

.mx_UserMenu_userAvatar_BaseAvatar {
/* Otherwise it's an inline element and causes the container to gain extra height */
display: block;
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion res/css/structures/_ThreadsActivityCentre.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
align-items: center;
justify-content: center;
border-radius: 8px;
margin: auto;
margin: 18px auto auto auto;

&.expanded {
/* align with settings icon */
Expand Down