1865 implement a tooltip with smart filters documentation (#1989)

* Added QuestionIcon

* Added Info button functionality and tests

* Styled component renamed

* Info button testing moved to AddFilter spec

* Styled paragraph renamed

* Info text fixed
This commit is contained in:
Kirill Morozov 2022-05-18 11:30:21 +03:00 committed by GitHub
parent 3321460185
commit ca545ddf36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,18 @@ const InfoModal: React.FC<InfoModalProps> = ({ toggleIsOpen }) => {
`headers.sentBy == &quot;some system&quot; && `headers.sentBy == &quot;some system&quot; &&
headers[&quot;sentAt&quot;] == &quot;2020-01-01&quot;` headers[&quot;sentAt&quot;] == &quot;2020-01-01&quot;`
</S.ListItem> </S.ListItem>
<S.ListItem>multiS.ListItemne filters are also allowed:</S.ListItem> <S.ListItem>multiline filters are also allowed:</S.ListItem>
<S.InfoParagraph>
```
<br />
def name = value.name
<br />
def age = value.age
<br />
name == &quot;iliax&quot; && age == 30
<br />
```
</S.InfoParagraph>
</ol> </ol>
<S.ButtonContainer> <S.ButtonContainer>
<Button <Button