Skip to content

Commit

Permalink
Merge pull request symbol#1725 from symbol/dev
Browse files Browse the repository at this point in the history
v1.0.7 release
  • Loading branch information
rg911 authored Sep 29, 2021
2 parents cc12908 + 5222521 commit d4766f4
Show file tree
Hide file tree
Showing 59 changed files with 612 additions and 405 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,34 @@ All notable changes to this project will be documented in this file.
The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).


## [1.0.7][v1.0.7] - 30-Sep-2021

### Milestone: Stabilize and bug fix

#### Added

- Added accessible terms and privacy policy links[#814](https://github.com/symbol/desktop-wallet/issues/814)

#### Changed
- Disable Ledger profile menu item in browser version [#1590](https://github.com/symbol/desktop-wallet/issues/1590)
- Enhanced signer selector UI/UX [#1688](https://github.com/symbol/desktop-wallet/issues/1688)

#### Fixed
- Fixed aggregate bonded announced by third party address issue [#1719](https://github.com/symbol/desktop-wallet/issues/1719)
- Fixed aggregate bonded - Failure_Core_Future_Deadline issue [#1490](https://github.com/symbol/desktop-wallet/issues/1490)
- Fixed multisig account owned mosaic actions visibility [#1679](https://github.com/symbol/desktop-wallet/issues/1679)
- Fixed Ledger harvesting VRF and Remote keys not being saved [#1692](https://github.com/symbol/desktop-wallet/issues/1692)
- Fixed pagination in transaction history [#1652](https://github.com/symbol/desktop-wallet/issues/1652)
- Fixed multilevel multisig behavior when account is a cosigner of multiple trees [#1687](https://github.com/symbol/desktop-wallet/issues/1687)
- Fixed partial transactions aren't shown correctly [#1697](https://github.com/symbol/desktop-wallet/issues/1697)
- Fixed mosaic/namespace metadata listing on signer change [#1668](https://github.com/symbol/desktop-wallet/issues/1668)[#1669](https://github.com/symbol/desktop-wallet/issues/1669)[#1670](https://github.com/symbol/desktop-wallet/issues/1670)
- Fixed infinite REST calls when a transaction is sent to an expired namespace alias [1695](https://github.com/symbol/desktop-wallet/issues/1695)
- Reload mosaics only when signer is changed in transaction form [#1684](https://github.com/symbol/desktop-wallet/issues/1684)
- Fixed form resetting when a transaction is confirmed [#1683](https://github.com/symbol/desktop-wallet/issues/1683)
- Fixed axios dependency alert issue
- Improved Japanese language translation
- Updated README.md

## [1.0.6][v1.0.6] - 06-Sep-2021

### Milestone: Stabilize and bug fix
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Symbol Desktop Wallet

[![Build Status](https://travis-ci.com/nemgrouplimited/symbol-desktop-wallet.svg?branch=main)](https://travis-ci.com/nemgrouplimited/symbol-desktop-wallet)
[![Build Status](https://travis-ci.com/symbol/desktop-wallet.svg?branch=main)](https://travis-ci.com/symbol/desktop-wallet)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Cross-platform client for Symbol to manage accounts, mosaics, namespaces, and issue transactions.
Expand All @@ -9,7 +9,7 @@ Cross-platform client for Symbol to manage accounts, mosaics, namespaces, and is

Symbol Desktop Wallet is available for Mac, Windows, and as a web application.

1. Download Symbol Desktop Wallet from the [releases section](https://github.com/nemgrouplimited/symbol-desktop-wallet/releases).
1. Download Symbol Desktop Wallet from the [releases section](https://github.com/symbol/desktop-wallet/releases).

2. Launch the executable file and follow the installation instructions.

Expand All @@ -24,7 +24,7 @@ Symbol CLI require **Node.js 10 or 12 LTS** to execute.
1. Clone the project.

```
git clone https://github.com/nemgrouplimited/symbol-desktop-wallet.git
git clone https://github.com/symbol/desktop-wallet.git
```

2. Install the dependencies.
Expand All @@ -46,7 +46,7 @@ npm run dev
Use the following available resources to get help:

- [Symbol Documentation][docs]
- Join the community [slack group (#sig-client)][slack]
- Join the community [discord group][discord], [slack group (#sig-client)][slack]
- If you found a bug, [open a new issue][issues]

## Contributing
Expand All @@ -60,7 +60,8 @@ Copyright 2018-present NEM

Licensed under the [Apache License 2.0](LICENSE)

[self]: https://github.com/nemgrouplimited/symbol-desktop-wallet
[self]: https://github.com/symbol/desktop-wallet
[docs]: https://nemtech.github.io
[issues]: https://github.com/nemgrouplimited/symbol-desktop-wallet/issues
[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU
[issues]: https://github.com/symbol/desktop-wallet/issues
[discord]: https://discord.gg/xymcity
[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ beforeEach(() => {
wrapper = getComponent(
TransactionListFilters,
{ account: AccountStore, transaction: TransactionStore },
{ currentAccount: null, signers: [] },
{ currentAccount: null, currentAccountSigner: {}, signers: [] },
{},
{},
);
Expand Down
25 changes: 5 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "symbol-desktop-wallet",
"description": "Symbol Wallet",
"homepage": "https://github.com/nemgrouplimited/symbol-desktop-wallet",
"version": "1.0.6",
"version": "1.0.7",
"repository": {
"type": "git",
"url": "https://github.com/nemgrouplimited/symbol-desktop-wallet.git"
Expand Down Expand Up @@ -48,7 +48,6 @@
"@ledgerhq/hw-transport-webusb": "^5.41.0",
"animate.css": "^3.7.2",
"await-lock": "^2.0.1",
"axios": "0.21.1",
"bip32-path": "^0.4.2",
"call-bind": "^1.0.2",
"decamelize": "^5.0.0",
Expand Down
10 changes: 9 additions & 1 deletion src/app/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
<div id="app" class="mac">
<span v-if="web" class="web-warning-panel">{{ $t('web_wallet_warning') }}</span>
<div class="version-panel">
{{ $t('version') }}: <b>{{ packageVersion }}</b>
<span>
<a href="#/terms">{{ $t('terms_and_conditions') }}</a>
</span>
<span>
<a href="#/privacy">{{ $t('privacy_policy') }}</a>
</span>
<span>
{{ $t('version') }}: <b>{{ packageVersion }}</b>
</span>
</div>
<router-view />
<DisabledUiOverlay />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class AccountMultisigGraphTs extends Vue {
public knownAccounts: AccountModel[];

get multisigGraphTree(): any[] {
if (this.multisigAccountGraphInfo) {
if (this.multisigAccountGraphInfo?.size) {
return this.getMultisigDisplayGraph(this.multisigAccountGraphInfo);
}
return [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<div class="upper-section-container">
<div class="table-title-container section-title">
<div class="user-operation">
<div v-if="signers.length > 1" style="min-width: 2rem;">
<SignerFilter :signers="signers" @signer-change="onSignerSelectorChange" />
<div v-if="currentAccountSigner.parentSigners" style="min-width: 2rem;">
<SignerListFilter :root-signer="currentAccountSigner" @signer-change="onSignerSelectorChange" />
</div>
<span class="table-filter-item-container" @click="doRefresh">
<Icon :class="{ 'animation-rotate': isRefreshing }" type="ios-sync" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// @ts-ignore
import ButtonAdd from '@/components/ButtonAdd/ButtonAdd';
// @ts-ignore
import SignerFilter from '@/components/SignerFilter/SignerFilter.vue';
import SignerListFilter from '@/components/SignerListFilter/SignerListFilter.vue';
// @ts-ignore
import { TableAssetType } from '@/components/TableDisplay/TableAssetType';
// @ts-ignore
Expand Down Expand Up @@ -60,7 +60,7 @@ export type AccountRestrictionTableField = {
FormExtendNamespaceDurationTransaction,
FormMosaicSupplyChangeTransaction,
ModalMetadataDisplay,
SignerFilter,
SignerListFilter,
ButtonAdd,
ModalMetadataUpdate,
},
Expand Down
22 changes: 22 additions & 0 deletions src/components/SignerBaseFilter/SignerBaseFilter.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<template>
<div class="transaction-filter">
<Select v-model="selectedSigner" size="large" prefix="ios-home" @input="onSignerChange">
<Icon slot="prefix" type="ios-people" size="0" />
<Option :key="rootSigner.address.plain()" :value="rootSigner.address.plain()">
{{ rootSigner.label }}
</Option>
<OptionGroup v-if="multisigSigners.length" label="Multisig accounts">
<Option v-for="item in multisigSigners" :key="item.signer.address.plain()" :value="item.signer.address.plain()">
<span :style="`display: inline-block; width: 0.1rem; margin-left: ${item.level * 0.1}rem;`">
<em v-if="item.parent" class="ivu-icon ivu-icon-ios-arrow-down"></em>
</span>
{{ $t('label_postfix_multisig') + item.signer.label }}
</Option>
</OptionGroup>
</Select>
</div>
</template>
<script lang="ts">
import { SignerBaseFilterTs } from './SignerBaseFilterTs';
export default class SignerBaseFilter extends SignerBaseFilterTs {}
</script>
59 changes: 59 additions & 0 deletions src/components/SignerBaseFilter/SignerBaseFilterTs.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
import { Component, Prop, Vue, Watch } from 'vue-property-decorator';
import { Signer } from '@/store/Account';
import { mapGetters } from 'vuex';

export class SignerItem {
constructor(public parent: boolean, public signer: Signer, public level: number) {}
}
@Component({
computed: {
...mapGetters({
currentSigner: 'account/currentSigner',
}),
},
})
export class SignerBaseFilterTs extends Vue {
@Prop({ default: null })
public rootSigner?: Signer;

/**
* Selected signer from the store
* @protected
* @type {string}
*/
public currentSigner: Signer;

public selectedSigner: string = '';

public created() {
this.selectedSigner = this.currentSigner.address.plain();
}

get multisigSigners(): SignerItem[] {
return this.getParentSignerItems(this.rootSigner, 0);
}

public getParentSignerItems(signer: Signer, level: number): SignerItem[] {
if (!signer?.parentSigners) {
return [];
}
const signerItems: SignerItem[] = [];
for (const parentSigner of signer.parentSigners) {
signerItems.push(new SignerItem(parentSigner.parentSigners?.length > 0, parentSigner, level));
signerItems.push(...this.getParentSignerItems(parentSigner, level + 1));
}
return signerItems;
}

/**
* onAddressChange
*/
public onSignerChange() {
this.$emit('signer-change', this.selectedSigner);
}

@Watch('currentSigner', { immediate: true })
public onCurrentSignerChange() {
this.selectedSigner = this.currentSigner.address.plain();
}
}
46 changes: 0 additions & 46 deletions src/components/SignerFilter/SignerFilterTs.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
<template>
<div class="transaction-filter">
<Select v-model="selectedSigner" size="large" prefix="ios-home" @input="onSignerChange">
<Icon slot="prefix" type="ios-people" size="0" />
<OptionGroup label="Multisig accounts">
<Option v-for="item in signers" :key="item.address.plain()" :value="item.address.plain()">
{{ item.multisig ? $t('label_postfix_multisig') : '' }}
{{ item.label }}
</Option>
</OptionGroup>
</Select>
</div>
<SignerBaseFilter :root-signer="rootSigner" @signer-change="onListSignerChange" />
</template>
<script lang="ts">
// @ts-ignore
import { SignerFilterTs } from './SignerFilterTs';
export default class SignerFilter extends SignerFilterTs {}
import { SignerListFilterTs } from './SignerListFilterTs';
export default class SignerListFilter extends SignerListFilterTs {}
</script>
<style lang="less" scoped>
@import '../../views/resources/css/variables.less';
Expand Down Expand Up @@ -45,5 +34,6 @@ export default class SignerFilter extends SignerFilterTs {}
width: auto !important;
left: unset !important;
right: 0.4rem !important;
min-width: 2.6rem !important;
}
</style>
Loading

0 comments on commit d4766f4

Please sign in to comment.