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

Add option to stop sending read receipts (delabs MSC2285: private read receipts) #8629

Merged
merged 40 commits into from
Aug 5, 2022
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7110ced
Add tooltip
SimonBrandner May 17, 2022
a244da7
Add disabled tooltip
SimonBrandner May 17, 2022
bbf3a60
Delabs MSC2285: Private read receipts
SimonBrandner May 17, 2022
53c50ea
i18n
SimonBrandner May 17, 2022
dea9866
Update snaps
SimonBrandner May 17, 2022
1d9916b
Use a turnary operator
SimonBrandner May 18, 2022
c77d2f6
Fix typo
SimonBrandner May 19, 2022
3c04bc4
`disabledTooltip` -> `disabledTooltipText`
SimonBrandner May 19, 2022
c1f4370
Improve test utils
SimonBrandner May 21, 2022
10c14f6
Allow `=`
SimonBrandner May 21, 2022
1984bae
Add `TimelinePanel-tests`
SimonBrandner May 21, 2022
e8d1069
Improve formatting
SimonBrandner May 25, 2022
18aad85
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/fe…
SimonBrandner May 25, 2022
e62a8f2
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/fe…
SimonBrandner Jun 10, 2022
7c61400
Move `Presence` settings to the `Preferences` tab
SimonBrandner Jun 13, 2022
0abf5ef
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/fe…
SimonBrandner Jun 13, 2022
c46607f
Revert "Add tooltip"
SimonBrandner Jun 14, 2022
fdd7065
Move disabled tooltip to microcopy
SimonBrandner Jun 14, 2022
31fa423
Update copy
SimonBrandner Jun 14, 2022
2a3c15d
Fix tests
SimonBrandner Jun 14, 2022
9926bc0
Make categories private
SimonBrandner Jun 15, 2022
356eba9
Add `sendReadReceipts` as a comment
SimonBrandner Jun 15, 2022
4ac6156
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/fe…
SimonBrandner Jun 15, 2022
eeb2e77
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/fe…
SimonBrandner Jun 24, 2022
b7bc7fc
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/fe…
SimonBrandner Jul 14, 2022
fded4fa
Switch to stable prefixes for MSC2285
SimonBrandner Jul 14, 2022
5c3f27e
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/fe…
SimonBrandner Jul 30, 2022
578d24c
Make sure `inNodeView()` works in tests
SimonBrandner Aug 3, 2022
db69f9e
Switch to stable `msc2285`
SimonBrandner Aug 3, 2022
db72558
Write tests
SimonBrandner Aug 3, 2022
769b14d
Merge branch 'SimonBrandner/feat/disable-rr' into SimonBrandner/feat/…
SimonBrandner Aug 3, 2022
f9e38d9
Show MSC2285 both if stable and unstable
SimonBrandner Aug 4, 2022
e61b634
Support both stabel and unstable private RRs
SimonBrandner Aug 4, 2022
81e709a
Delint
SimonBrandner Aug 4, 2022
7ca38f6
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/fe…
SimonBrandner Aug 4, 2022
6afd527
Add comment
SimonBrandner Aug 5, 2022
b4110b1
Remove duplicate line
SimonBrandner Aug 5, 2022
bcfd67d
Use try-catch
SimonBrandner Aug 5, 2022
2176a11
Add mising mock
SimonBrandner Aug 5, 2022
b953689
Update string
SimonBrandner Aug 5, 2022
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
4 changes: 2 additions & 2 deletions src/components/structures/TimelinePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1550,8 +1550,8 @@ class TimelinePanel extends React.Component<IProps, IState> {
const isNodeInView = (node) => {
if (node) {
const boundingRect = node.getBoundingClientRect();
if ((allowPartial && boundingRect.top < wrapperRect.bottom) ||
(!allowPartial && boundingRect.bottom < wrapperRect.bottom)) {
if ((allowPartial && boundingRect.top <= wrapperRect.bottom) ||
(!allowPartial && boundingRect.bottom <= wrapperRect.bottom)) {
SimonBrandner marked this conversation as resolved.
Show resolved Hide resolved
return true;
}
}
Expand Down