This repository was archived by the owner on Sep 7, 2020. It is now read-only.
File tree 3 files changed +21
-0
lines changed
3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { ChannelView } from './ChannelView'
6
6
import { Channel } from 'twilio-chat/lib/channel'
7
7
import { Client } from 'twilio-chat'
8
8
import { ChatWidget } from '../components/ChatWidget'
9
+ import { Notice } from '../components/Notice'
9
10
import { connectToChannel } from './api'
10
11
import { isLeft } from 'fp-ts/lib/Either'
11
12
@@ -59,6 +60,18 @@ export const TwilioChat = ({
59
60
60
61
return (
61
62
< ChatWidget >
63
+ < Notice >
64
+ < strong > Preview!</ strong > This is a development preview of the chat.
65
+ Please report all issues in{ ' ' }
66
+ < a
67
+ href = { 'https://gitlab.com/distribute-aid/toolbox/issues/95' }
68
+ target = { '_blank' }
69
+ rel = { 'noopener noreferrer' }
70
+ >
71
+ this GitLab issue
72
+ </ a >
73
+ .
74
+ </ Notice >
62
75
< ChannelView
63
76
key = { selectedChannel }
64
77
channelConnection = { channelConnection }
Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ export const ChatWidget = styled.div`
7
7
bottom: 1rem;
8
8
font-family: 'Inter', sans-serif;
9
9
max-width: 350px;
10
+ font-size: 16px;
10
11
`
Original file line number Diff line number Diff line change
1
+ import styled from 'styled-components'
2
+
3
+ export const Notice = styled . div `
4
+ background-color: #ffec8e;
5
+ padding: 0.5rem;
6
+ color: #000000cc;
7
+ `
You can’t perform that action at this time.
0 commit comments