From 0f29103cda739133d9b07c393146b087fca04531 Mon Sep 17 00:00:00 2001 From: MaksymKarunos Date: Fri, 4 Sep 2020 22:34:05 -0400 Subject: [PATCH 1/4] try: --- src/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.js b/src/config.js index 8d9c3f302c..0cddd19427 100644 --- a/src/config.js +++ b/src/config.js @@ -1,2 +1,3 @@ export const GITHUB_REPO = 'odota/web'; export const DISCORD_LINK = 'opendota'; +// dog \ No newline at end of file From af68f675dd90a3ed7e395759c3b926b4b5557f2c Mon Sep 17 00:00:00 2001 From: MaksymKarunos Date: Fri, 4 Sep 2020 23:27:59 -0400 Subject: [PATCH 2/4] added magnyfing glass icon to horizontal menu --- src/components/Icons/MagnyfingGlass.jsx | 18 ++++++++++++++++++ src/components/Icons/index.js | 1 + .../Visualizations/HorizontalMenu.jsx | 3 +++ 3 files changed, 22 insertions(+) create mode 100644 src/components/Icons/MagnyfingGlass.jsx diff --git a/src/components/Icons/MagnyfingGlass.jsx b/src/components/Icons/MagnyfingGlass.jsx new file mode 100644 index 0000000000..fdaa6969c1 --- /dev/null +++ b/src/components/Icons/MagnyfingGlass.jsx @@ -0,0 +1,18 @@ +import React from 'react'; +import styled from 'styled-components'; + +const icon = props => ( + // Taken from main page + + + +); +export default styled(icon)` +fill: color; height: 17px; +width: 17x; user-select: none; +margin-right: 6px; +opacity: 0.6; +`; diff --git a/src/components/Icons/index.js b/src/components/Icons/index.js index 3de3969303..d274b48447 100644 --- a/src/components/Icons/index.js +++ b/src/components/Icons/index.js @@ -25,3 +25,4 @@ export { default as IconLaneRoles } from './LaneRoles'; export { default as IconContributor } from './Contributor'; export { default as IconPlusSquare } from './PlusSquare'; export { default as IconMinusSquare } from './MinusSquare'; +export { default as IconMagnyfingGlass} from './MagnyfingGlass'; diff --git a/src/components/Visualizations/HorizontalMenu.jsx b/src/components/Visualizations/HorizontalMenu.jsx index 3fdeaa21ea..55a75473fd 100644 --- a/src/components/Visualizations/HorizontalMenu.jsx +++ b/src/components/Visualizations/HorizontalMenu.jsx @@ -2,6 +2,7 @@ import styled from 'styled-components'; import React from 'react'; import TextField from 'material-ui/TextField'; import PropTypes from 'prop-types'; +import { IconMagnyfingGlass } from '../Icons'; const StyledHorizontalMenuFilter = styled.div` .reset-button { @@ -17,6 +18,7 @@ const StyledHorizontalMenuFilter = styled.div` } `; + const HorizontalMenuFilter = ({ handleChange, value, @@ -25,6 +27,7 @@ const HorizontalMenuFilter = ({ filterText, }) => ( + Date: Sat, 5 Sep 2020 01:25:02 -0400 Subject: [PATCH 3/4] added magyfing glass icon to the combos filter --- src/components/Icons/MagnyfingGlass.jsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/components/Icons/MagnyfingGlass.jsx b/src/components/Icons/MagnyfingGlass.jsx index fdaa6969c1..a1b42c1388 100644 --- a/src/components/Icons/MagnyfingGlass.jsx +++ b/src/components/Icons/MagnyfingGlass.jsx @@ -3,16 +3,15 @@ import styled from 'styled-components'; const icon = props => ( // Taken from main page - - - + + + ); export default styled(icon)` -fill: color; height: 17px; -width: 17x; user-select: none; -margin-right: 6px; +fill: color; height: 23px; +width: 23px; opacity: 0.6; `; From 0c03ce84e55c6215850db199ed1658f43e2305e2 Mon Sep 17 00:00:00 2001 From: MaksymKarunos Date: Sat, 5 Sep 2020 01:27:56 -0400 Subject: [PATCH 4/4] fixes --- src/components/Visualizations/HorizontalMenu.jsx | 1 - src/config.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/Visualizations/HorizontalMenu.jsx b/src/components/Visualizations/HorizontalMenu.jsx index 55a75473fd..a549b9a6ce 100644 --- a/src/components/Visualizations/HorizontalMenu.jsx +++ b/src/components/Visualizations/HorizontalMenu.jsx @@ -18,7 +18,6 @@ const StyledHorizontalMenuFilter = styled.div` } `; - const HorizontalMenuFilter = ({ handleChange, value, diff --git a/src/config.js b/src/config.js index 0cddd19427..8d9c3f302c 100644 --- a/src/config.js +++ b/src/config.js @@ -1,3 +1,2 @@ export const GITHUB_REPO = 'odota/web'; export const DISCORD_LINK = 'opendota'; -// dog \ No newline at end of file