Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a56cb7c
commit 148005b
Showing
11 changed files
with
171 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 0 additions & 108 deletions
108
...containers/HomePage/components/FileExplorerTableBodyEmptyHelpPhoneNotRecognizedRender.jsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 109 additions & 0 deletions
109
app/containers/HomePage/components/HelpPhoneNotRecognized.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
import React, { PureComponent } from 'react'; | ||
import { withStyles } from '@material-ui/core/styles'; | ||
import Paper from '@material-ui/core/Paper'; | ||
import ExpansionPanel from '@material-ui/core/ExpansionPanel'; | ||
import ExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary'; | ||
import ExpansionPanelDetails from '@material-ui/core/ExpansionPanelDetails'; | ||
import Typography from '@material-ui/core/Typography'; | ||
import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; | ||
import { styles } from '../styles/HelpPhoneNotRecognized'; | ||
import { openExternalUrl } from '../../../utils/url'; | ||
import { APP_GITHUB_ISSUES_URL } from '../../../constants/meta'; | ||
import { analyticsService } from '../../../services/analytics'; | ||
import { EVENT_TYPE } from '../../../enums/events'; | ||
|
||
class HelpPhoneNotRecognized extends PureComponent { | ||
_handleGithubThreadTap = (events) => { | ||
openExternalUrl(`${APP_GITHUB_ISSUES_URL}8`, events); | ||
|
||
analyticsService.sendEvent( | ||
EVENT_TYPE.MTP_HELP_PHONE_NOT_CONNECTED_GITHUB_THREAD_TAP, | ||
{} | ||
); | ||
}; | ||
|
||
render() { | ||
const { classes: styles } = this.props; | ||
|
||
return ( | ||
<div className={styles.root}> | ||
<Paper elevation={0}> | ||
<ExpansionPanel className={styles.expansionRoot}> | ||
<ExpansionPanelSummary | ||
expandIcon={<ExpandMoreIcon />} | ||
aria-controls="panel1a-content" | ||
id="panel1a-header" | ||
> | ||
<Typography className={styles.heading}> | ||
Expansion Panel 1 | ||
</Typography> | ||
</ExpansionPanelSummary> | ||
<ExpansionPanelDetails> | ||
<Typography> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. | ||
Suspendisse malesuada lacus ex, sit amet blandit leo lobortis | ||
eget. | ||
</Typography> | ||
</ExpansionPanelDetails> | ||
</ExpansionPanel> | ||
<ExpansionPanel className={styles.expansionRoot}> | ||
<ExpansionPanelSummary | ||
expandIcon={<ExpandMoreIcon />} | ||
aria-controls="panel2a-content" | ||
id="panel2a-header" | ||
> | ||
<Typography className={styles.heading}> | ||
Expansion Panel 2 | ||
</Typography> | ||
</ExpansionPanelSummary> | ||
<ExpansionPanelDetails> | ||
<Typography> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. | ||
Suspendisse malesuada lacus ex, sit amet blandit leo lobortis | ||
eget. | ||
</Typography> | ||
</ExpansionPanelDetails> | ||
</ExpansionPanel> | ||
<ExpansionPanel className={styles.expansionRoot}> | ||
<ExpansionPanelSummary | ||
expandIcon={<ExpandMoreIcon />} | ||
aria-controls="panel2a-content" | ||
id="panel2a-header" | ||
> | ||
<Typography className={styles.heading}> | ||
Expansion Panel 2 | ||
</Typography> | ||
</ExpansionPanelSummary> | ||
<ExpansionPanelDetails> | ||
<Typography> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. | ||
Suspendisse malesuada lacus ex, sit amet blandit leo lobortis | ||
eget. | ||
</Typography> | ||
</ExpansionPanelDetails> | ||
</ExpansionPanel> | ||
<ExpansionPanel className={styles.expansionRoot}> | ||
<ExpansionPanelSummary | ||
expandIcon={<ExpandMoreIcon />} | ||
aria-controls="panel2a-content" | ||
id="panel2a-header" | ||
> | ||
<Typography className={styles.heading}> | ||
Expansion Panel 2 | ||
</Typography> | ||
</ExpansionPanelSummary> | ||
<ExpansionPanelDetails> | ||
<Typography> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. | ||
Suspendisse malesuada lacus ex, sit amet blandit leo lobortis | ||
eget. | ||
</Typography> | ||
</ExpansionPanelDetails> | ||
</ExpansionPanel> | ||
</Paper> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default withStyles(styles)(HelpPhoneNotRecognized); |
3 changes: 0 additions & 3 deletions
3
app/containers/HomePage/styles/FileExplorerTableBodyEmptyHelpPhoneNotRecognizedRender.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export const styles = (_) => ({ | ||
root: { | ||
minHeight: 400, | ||
overflowY: 'auto', | ||
maxHeight: 400, | ||
}, | ||
expansionRoot: { | ||
background: '#383838', | ||
}, | ||
}); |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters