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>
26 lines
695 B
Text
26 lines
695 B
Text
// 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>
|
|
`;
|