Add PR template, run prettier

This commit is contained in:
Reckless_Satoshi 2022-09-23 03:28:46 -07:00
parent 66d3971825
commit 33941ce359
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
4 changed files with 19 additions and 8 deletions

4
.github/pull_request_template.md vendored Normal file
View File

@ -0,0 +1,4 @@
## What does this PR do?
## Checklist before merging
- [ ] If its a frontend feature, I have ran prettier (`cd frontend; npm run format`).

View File

@ -75,9 +75,16 @@ const StatsDialog = ({
<ListItem> <ListItem>
<ListItemIcon> <ListItemIcon>
<RoboSatsNoTextIcon sx={{width:'1.4em',height:'1.4em',right:'0.2em', position:'relative'}}/> <RoboSatsNoTextIcon
sx={{ width: '1.4em', height: '1.4em', right: '0.2em', position: 'relative' }}
/>
</ListItemIcon> </ListItemIcon>
<ListItemText primary={`${t("Client")} ${clientVersion} - ${t("Coordinator")} ${coordinatorVersion}`} secondary={t('RoboSats version')} /> <ListItemText
primary={`${t('Client')} ${clientVersion} - ${t(
'Coordinator',
)} ${coordinatorVersion}`}
secondary={t('RoboSats version')}
/>
</ListItem> </ListItem>
<Divider /> <Divider />
@ -96,7 +103,7 @@ const StatsDialog = ({
<ListItemIcon> <ListItemIcon>
<DnsIcon /> <DnsIcon />
</ListItemIcon> </ListItemIcon>
<ListItemText secondary={`${t("LN Node")}: ${nodeAlias}`}> <ListItemText secondary={`${t('LN Node')}: ${nodeAlias}`}>
<Link <Link
target='_blank' target='_blank'
href={`https://1ml.com/testnet/node/${nodeId}`} href={`https://1ml.com/testnet/node/${nodeId}`}

View File

@ -53,7 +53,7 @@ const RobotAvatar: React.FC<DepthChartProps> = ({
borderRadius: '50%', borderRadius: '50%',
transform: 'scaleX(-1)', transform: 'scaleX(-1)',
border: '0.3px solid #555', border: '0.3px solid #555',
filter: 'dropShadow(0.5px 0.5px 0.5px #000000)' filter: 'dropShadow(0.5px 0.5px 0.5px #000000)',
}} }}
/> />
</div> </div>

View File

@ -235,10 +235,10 @@
"On your own sovereign node": "On your own sovereign node", "On your own sovereign node": "On your own sovereign node",
"Simply refresh your Tor Browser tab (or press Ctrl+Shift+R)": "Simply refresh your Tor Browser tab (or press Ctrl+Shift+R)", "Simply refresh your Tor Browser tab (or press Ctrl+Shift+R)": "Simply refresh your Tor Browser tab (or press Ctrl+Shift+R)",
"On remotely served client via web": "On remotely served client via web", "On remotely served client via web": "On remotely served client via web",
"Client":"Client", "Client": "Client",
"Coordinator":"Coordinator", "Coordinator": "Coordinator",
"RoboSats version":"RoboSats version", "RoboSats version": "RoboSats version",
"LN Node":"LN Node", "LN Node": "LN Node",
"ORDER PAGE - OrderPage.js": "Order details page", "ORDER PAGE - OrderPage.js": "Order details page",
"Order Box": "Order Box", "Order Box": "Order Box",