Skip to content

Commit

Permalink
Merge pull request #468 from Cryptonomic/as-pending
Browse files Browse the repository at this point in the history
Display pending operations
  • Loading branch information
anonymoussprocket authored Feb 22, 2021
2 parents e48f047 + a8e6eab commit 5de134c
Show file tree
Hide file tree
Showing 10 changed files with 182 additions and 101 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arronax",
"version": "10.0.0",
"version": "11.0.0",
"description": "Blockchain analytics and business intelligence tool for the Tezos chain.",
"author": "Cryptonomic",
"license": "GPL-3.0",
Expand Down Expand Up @@ -29,7 +29,7 @@
"@types/throttle-debounce": "^2.1.0",
"autosuggest-highlight": "^3.1.1",
"base64url": "^3.0.1",
"conseiljs": "5.0.2-beta.2",
"conseiljs": "5.0.7-2",
"d3": "^5.16.0",
"i18next": "^19.5.1",
"i18next-browser-languagedetector": "^5.0.0",
Expand All @@ -47,7 +47,7 @@
"react-moment": "^0.9.7",
"react-redux": "^7.1.3",
"react-router-dom": "^5.2.0",
"react-scripts": "^3.4.3",
"react-scripts": "3.4.4",
"react-swipeable-views": "^0.13.9",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"platform": "Platform",
"network": "Network",
"display_name": "Display Name",
"url": "Url",
"conseilUrl": "Conseil Url",
"tezosNode": "Tezos Node",
"api_key": "Api Key"
},
"customPaginator": {
Expand Down
10 changes: 5 additions & 5 deletions src/containers/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Arronax extends React.Component<Props, States> {
this.state = {
isSettingCollapsed: false,
selectedTool: ToolType.FILTER,
isOpenConfigMdoal: false,
isOpenConfigModal: false,
page: 0
};

Expand Down Expand Up @@ -241,9 +241,9 @@ class Arronax extends React.Component<Props, States> {
initMessage();
};

closeConfigModal = () => this.setState({ isOpenConfigMdoal: false });
closeConfigModal = () => this.setState({ isOpenConfigModal: false });

openConfigModal = () => this.setState({ isOpenConfigMdoal: true });
openConfigModal = () => this.setState({ isOpenConfigModal: true });

onAddConfig = (config: Config, isUse: boolean) => {
const { addConfig } = this.props;
Expand Down Expand Up @@ -297,7 +297,7 @@ class Arronax extends React.Component<Props, States> {
rowsPerPage,
modal: { open },
} = this.props;
const { isSettingCollapsed, selectedTool, isOpenConfigMdoal, page } = this.state;
const { isSettingCollapsed, selectedTool, isOpenConfigModal, page } = this.state;
const isRealLoading = isLoading || !isFullLoaded;

const fullTabsList = entities.map((entity) => entity.name);
Expand Down Expand Up @@ -383,7 +383,7 @@ class Arronax extends React.Component<Props, States> {
<DismissButton onClick={this.handleErrorClose}>{t('general.verbs.dismiss')}</DismissButton>
</DialogActions>
</Dialog>
<ConfigModal t={t} open={isOpenConfigMdoal} onClose={this.closeConfigModal} addConfig={this.onAddConfig} />
<ConfigModal t={t} open={isOpenConfigModal} onClose={this.closeConfigModal} addConfig={this.onAddConfig} />
{isFullLoaded && open && <DynamicModal onClickPrimaryKey={this.onClickPrimaryKey} onCloseEntityModal={this.onCloseEntityModal} />}
</MainContainer>
);
Expand Down
2 changes: 1 addition & 1 deletion src/containers/App/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface OwnProps {
export interface States {
isSettingCollapsed: boolean;
selectedTool: string;
isOpenConfigMdoal: boolean;
isOpenConfigModal: boolean;
page: number;
}

Expand Down
4 changes: 2 additions & 2 deletions src/containers/Homepage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class Home extends React.Component<Props, States> {

this.state = {
showLogo: false,
isOpenConfigMdoal: false
isOpenConfigModal: false
};
}

Expand Down Expand Up @@ -246,7 +246,7 @@ class Home extends React.Component<Props, States> {
history.replace(`/${platform}/${network}/${selectedEntity}`);
};

openConfigModal = () => this.setState({ isOpenConfigMdoal: true });
openConfigModal = () => this.setState({ isOpenConfigModal: true });

onSearchById = async (val: string | number) => {
const { searchById } = this.props;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/Homepage/types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface OwnProps {

export interface States {
showLogo: boolean,
isOpenConfigMdoal: boolean
isOpenConfigModal: boolean
}

export type Props = OwnProps & RouteComponentProps;
Expand Down
Loading

0 comments on commit 5de134c

Please sign in to comment.