mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	PR comments
This commit is contained in:
		
							parent
							
								
									c142975565
								
							
						
					
					
						commit
						6e190834ff
					
				| @ -6,7 +6,7 @@ export const useStyles = makeStyles()(theme => ({ | |||||||
|         flexDirection: 'column', |         flexDirection: 'column', | ||||||
|         alignItems: 'flex-start', |         alignItems: 'flex-start', | ||||||
|         padding: theme.spacing(6), |         padding: theme.spacing(6), | ||||||
|         width: '728px', |         maxWidth: '728px', | ||||||
|         height: 'auto', |         height: 'auto', | ||||||
|         overflowY: 'scroll', |         overflowY: 'scroll', | ||||||
|         backgroundColor: theme.palette.tertiary.light, |         backgroundColor: theme.palette.tertiary.light, | ||||||
|  | |||||||
| @ -27,8 +27,6 @@ export const FeatureResultInfoPopoverCell = ({ | |||||||
|     const { classes: styles } = useStyles(); |     const { classes: styles } = useStyles(); | ||||||
|     const ref = useRef(null); |     const ref = useRef(null); | ||||||
|      |      | ||||||
|     console.log(feature); |  | ||||||
| 
 |  | ||||||
|     const togglePopover = () => { |     const togglePopover = () => { | ||||||
|         setOpen(!open); |         setOpen(!open); | ||||||
|     }; |     }; | ||||||
|  | |||||||
| @ -18,7 +18,7 @@ export const useStyles = makeStyles()(theme => ({ | |||||||
|     }, |     }, | ||||||
|     accordion: { |     accordion: { | ||||||
|         border: `1px solid ${theme.palette.grey[400]}`, |         border: `1px solid ${theme.palette.grey[400]}`, | ||||||
|         borderRadius: '8px', |         borderRadius: theme.spacing(1), | ||||||
|         backgroundColor: '#fff', |         backgroundColor: '#fff', | ||||||
|         boxShadow: 'none', |         boxShadow: 'none', | ||||||
|         margin: 0, |         margin: 0, | ||||||
| @ -28,9 +28,6 @@ export const useStyles = makeStyles()(theme => ({ | |||||||
|             opacity: '0 !important', |             opacity: '0 !important', | ||||||
|         }, |         }, | ||||||
|     }, |     }, | ||||||
|     accordionEdit: { |  | ||||||
|         backgroundColor: '#F6F6FA', |  | ||||||
|     }, |  | ||||||
|     headerMetaInfo: { |     headerMetaInfo: { | ||||||
|         display: 'flex', |         display: 'flex', | ||||||
|         alignItems: 'stretch', |         alignItems: 'stretch', | ||||||
| @ -39,7 +36,6 @@ export const useStyles = makeStyles()(theme => ({ | |||||||
|     headerContainer: { |     headerContainer: { | ||||||
|         display: 'flex', |         display: 'flex', | ||||||
|         alignItems: 'center', |         alignItems: 'center', | ||||||
|         width: '100%', |  | ||||||
|         [theme.breakpoints.down(710)]: { |         [theme.breakpoints.down(710)]: { | ||||||
|             flexDirection: 'column', |             flexDirection: 'column', | ||||||
|             alignItems: 'center', |             alignItems: 'center', | ||||||
| @ -77,19 +73,6 @@ export const useStyles = makeStyles()(theme => ({ | |||||||
|             paddingRight: '0.5rem', |             paddingRight: '0.5rem', | ||||||
|         }, |         }, | ||||||
|     }, |     }, | ||||||
|     editingBadge: { |  | ||||||
|         borderRadius: theme.shape.borderRadiusExtraLarge, |  | ||||||
|         padding: '0.25rem 0.5rem', |  | ||||||
|         backgroundColor: '#635DC5', |  | ||||||
|         color: '#fff', |  | ||||||
|         marginLeft: 'auto', |  | ||||||
|         fontSize: '0.9rem', |  | ||||||
|         [theme.breakpoints.down(650)]: { |  | ||||||
|             position: 'absolute', |  | ||||||
|             right: 0, |  | ||||||
|             top: '-10px', |  | ||||||
|         }, |  | ||||||
|     }, |  | ||||||
|     headerText: { |     headerText: { | ||||||
|         maxWidth: '400px', |         maxWidth: '400px', | ||||||
|         fontSize: theme.fontSizes.smallBody, |         fontSize: theme.fontSizes.smallBody, | ||||||
| @ -97,40 +80,12 @@ export const useStyles = makeStyles()(theme => ({ | |||||||
|             display: 'none', |             display: 'none', | ||||||
|         }, |         }, | ||||||
|     }, |     }, | ||||||
|     selectContainer: { |  | ||||||
|         display: 'flex', |  | ||||||
|         alignItems: 'center', |  | ||||||
|         [theme.breakpoints.down(770)]: { |  | ||||||
|             flexDirection: 'column', |  | ||||||
|         }, |  | ||||||
|     }, |  | ||||||
|     bottomSelect: { |  | ||||||
|         [theme.breakpoints.down(770)]: { |  | ||||||
|             marginTop: '1rem', |  | ||||||
|         }, |  | ||||||
|         display: 'inline-flex', |  | ||||||
|     }, |  | ||||||
|     headerSelect: { |  | ||||||
|         marginRight: '1rem', |  | ||||||
|         width: '200px', |  | ||||||
|         [theme.breakpoints.between(1101, 1365)]: { |  | ||||||
|             width: '170px', |  | ||||||
|             marginRight: '8px', |  | ||||||
|         }, |  | ||||||
|     }, |  | ||||||
|     chip: { |     chip: { | ||||||
|         margin: '0 0.5rem 0.5rem 0', |         margin: '0 0.5rem 0.5rem 0', | ||||||
|     }, |     }, | ||||||
|     chipValue: { |     chipValue: { | ||||||
|         whiteSpace: 'pre', |         whiteSpace: 'pre', | ||||||
|     }, |     }, | ||||||
|     headerActions: { |  | ||||||
|         marginLeft: 'auto', |  | ||||||
|         whiteSpace: 'nowrap', |  | ||||||
|         [theme.breakpoints.down(710)]: { |  | ||||||
|             display: 'none', |  | ||||||
|         }, |  | ||||||
|     }, |  | ||||||
|     accordionDetails: { |     accordionDetails: { | ||||||
|         borderTop: `1px dashed ${theme.palette.grey[300]}`, |         borderTop: `1px dashed ${theme.palette.grey[300]}`, | ||||||
|         display: 'flex', |         display: 'flex', | ||||||
| @ -148,11 +103,4 @@ export const useStyles = makeStyles()(theme => ({ | |||||||
|             textDecoration: 'underline', |             textDecoration: 'underline', | ||||||
|         }, |         }, | ||||||
|     }, |     }, | ||||||
|     settingsIcon: { |  | ||||||
|         height: '32.5px', |  | ||||||
|         width: '32.5px', |  | ||||||
|         marginRight: '0.5rem', |  | ||||||
|         fill: theme.palette.inactiveIcon, |  | ||||||
|     }, |  | ||||||
|     form: { padding: 0, margin: 0, width: '100%' }, |  | ||||||
| })); | })); | ||||||
|  | |||||||
| @ -1,7 +1,7 @@ | |||||||
| import { styled, Tooltip, Typography, useTheme } from '@mui/material'; | import { styled, Tooltip, Typography, useTheme } from '@mui/material'; | ||||||
| import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; | import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; | ||||||
| import { PlaygroundConstraintAccordionViewHeaderSingleValue } from '../PlaygroundContraintAccordionViewHeaderSingleValue/PlaygroundConstraintAccordionViewHeaderSingleValue'; | import { PlaygroundConstraintAccordionViewHeaderSingleValue } from './PlaygroundContraintAccordionViewHeaderSingleValue/PlaygroundConstraintAccordionViewHeaderSingleValue'; | ||||||
| import { PLaygroundConstraintAccordionViewHeaderMultipleValues } from '../PlaygroundContraintAccordionViewHeaderMultipleValues/PLaygroundConstraintAccordionViewHeaderMultipleValues'; | import { PLaygroundConstraintAccordionViewHeaderMultipleValues } from './PlaygroundContraintAccordionViewHeaderMultipleValues/PLaygroundConstraintAccordionViewHeaderMultipleValues'; | ||||||
| import React from 'react'; | import React from 'react'; | ||||||
| import { useStyles } from '../../PlaygroundConstraintAccordion.styles'; | import { useStyles } from '../../PlaygroundConstraintAccordion.styles'; | ||||||
| import { CancelOutlined } from '@mui/icons-material'; | import { CancelOutlined } from '@mui/icons-material'; | ||||||
|  | |||||||
| @ -2,7 +2,7 @@ import { ConditionallyRender } from 'component/common/ConditionallyRender/Condit | |||||||
| import { styled, Typography } from '@mui/material'; | import { styled, Typography } from '@mui/material'; | ||||||
| import React, { useEffect, useMemo, useState } from 'react'; | import React, { useEffect, useMemo, useState } from 'react'; | ||||||
| import classnames from 'classnames'; | import classnames from 'classnames'; | ||||||
| import { useStyles } from '../../PlaygroundConstraintAccordion.styles'; | import { useStyles } from '../../../PlaygroundConstraintAccordion.styles'; | ||||||
| import { PlaygroundConstraintSchema } from 'hooks/api/actions/usePlayground/playground.model'; | import { PlaygroundConstraintSchema } from 'hooks/api/actions/usePlayground/playground.model'; | ||||||
| 
 | 
 | ||||||
| const StyledValuesSpan = styled('span')(({ theme }) => ({ | const StyledValuesSpan = styled('span')(({ theme }) => ({ | ||||||
| @ -1,7 +1,7 @@ | |||||||
| import React, { useEffect } from 'react'; | import React, { useEffect } from 'react'; | ||||||
| import { Chip, styled, Typography } from '@mui/material'; | import { Chip, styled, Typography } from '@mui/material'; | ||||||
| import { formatConstraintValue } from 'utils/formatConstraintValue'; | import { formatConstraintValue } from 'utils/formatConstraintValue'; | ||||||
| import { useStyles } from '../../PlaygroundConstraintAccordion.styles'; | import { useStyles } from '../../../PlaygroundConstraintAccordion.styles'; | ||||||
| import { useLocationSettings } from 'hooks/useLocationSettings'; | import { useLocationSettings } from 'hooks/useLocationSettings'; | ||||||
| import { PlaygroundConstraintSchema } from 'hooks/api/actions/usePlayground/playground.model'; | import { PlaygroundConstraintSchema } from 'hooks/api/actions/usePlayground/playground.model'; | ||||||
| import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; | import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user