mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-28 11:28:12 +08:00
9f6c238827
* add simple live share warning Signed-off-by: Kerry Archibald <kerrya@element.io> * rough first cut of OwnBeaconStore Signed-off-by: Kerry Archibald <kerrya@element.io> * working (?) has live beacons status Signed-off-by: Kerry Archibald <kerrya@element.io> * lint Signed-off-by: Kerry Archibald <kerrya@element.io> * add left panel share warning Signed-off-by: Kerry Archibald <kerrya@element.io> * setup for tests Signed-off-by: Kerry Archibald <kerrya@element.io> * test ownbeaconstore Signed-off-by: Kerry Archibald <kerrya@element.io> * add copyright Signed-off-by: Kerry Archibald <kerrya@element.io> * add copyright Signed-off-by: Kerry Archibald <kerrya@element.io> * remove warning banner Signed-off-by: Kerry Archibald <kerrya@element.io> * fix test Signed-off-by: Kerry Archibald <kerrya@element.io> * fix tests for weird asyncstore closure issues Signed-off-by: Kerry Archibald <kerrya@element.io> * fix OwnBeaconStore more... Signed-off-by: Kerry Archibald <kerrya@element.io> * revert loose change to LeftPanel Signed-off-by: Kerry Archibald <kerrya@element.io> * Revert "remove warning banner" This reverts commit 4529813b12e3206731f18e0514aa6e0f6896d03a. * test live share warning Signed-off-by: Kerry Archibald <kerrya@element.io>
27 lines
695 B
Plaintext
27 lines
695 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live beacons renders correctly when minimized 1`] = `
|
|
<LeftPanelLiveShareWarning
|
|
isMinimized={true}
|
|
>
|
|
<div
|
|
className="mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__minimized"
|
|
title="You are sharing your live location"
|
|
>
|
|
<div
|
|
height={10}
|
|
/>
|
|
</div>
|
|
</LeftPanelLiveShareWarning>
|
|
`;
|
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live beacons renders correctly when not minimized 1`] = `
|
|
<LeftPanelLiveShareWarning>
|
|
<div
|
|
className="mx_LeftPanelLiveShareWarning"
|
|
>
|
|
You are sharing your live location
|
|
</div>
|
|
</LeftPanelLiveShareWarning>
|
|
`;
|