Skip to content

Commit

Permalink
add: versioning ui (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuash committed Dec 20, 2021
1 parent 1edb45a commit 05b314e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Changes
- Add logs in tx details ([\#515](https://github.com/forbole/big-dipper-2.0-cosmos/issues/515))
- Add tombstoned status ([\#600](https://github.com/forbole/big-dipper-2.0-cosmos/issues/600))
- Add manual versioning in ui ([\#605](https://github.com/forbole/big-dipper-2.0-cosmos/issues/605))
- Optimized tx list for chains with heavy traffic ([\#602](https://github.com/forbole/big-dipper-2.0-cosmos/issues/602))

# base-v1.8.4 - 2021-12-08
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useRouter } from 'next/router';
import classnames from 'classnames';
import useTranslation from 'next-translate/useTranslation';
import SettingIcon from '@assets/icon-setting.svg';
import { generalConfig } from '@configs';
import {
MenuItem,
Typography,
Expand Down Expand Up @@ -54,7 +55,16 @@ const Settings: React.FC<{
className={classes.dialog}
>
<DialogTitle disableTypography className={classes.header}>
<Typography variant="h2">{t('settings')}</Typography>
<div className={classes.title}>
<Typography variant="h2">
{t('settings')}
</Typography>
<Typography variant="body2" className={classes.version}>
(
{generalConfig.version}
)
</Typography>
</div>
<IconButton
aria-label="close"
onClick={handleCancel}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ export const useStyles = () => {
padding: 0,
},
},
title: {
display: 'flex',
alignItems: 'center',
},
dialog: {
'& .MuiDialog-paper': {
width: '500px',
Expand All @@ -46,6 +50,10 @@ export const useStyles = () => {
marginBottom: theme.spacing(1),
},
},
version: {
color: theme.palette.custom.fonts.fontFour,
marginLeft: theme.spacing(1),
},
});
},
)();
Expand Down
3 changes: 2 additions & 1 deletion src/configs/general_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
},
"github": {
"reportIssue": "https://github.com/forbole/big-dipper-2.0-cosmos/issues"
}
},
"version": "base-v1.8.4"
}

0 comments on commit 05b314e

Please sign in to comment.