Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Simsala] automatic release created for v1.0.0-beta.106 #2868

Merged
merged 45 commits into from
Aug 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
5af0f48
added infinite scroll to validators table
faboweb Aug 6, 2019
e586bb4
added it to transactions
faboweb Aug 6, 2019
210cafc
changelog
faboweb Aug 6, 2019
59b3b7d
snaps
faboweb Aug 6, 2019
c809915
tests
faboweb Aug 6, 2019
8a53bc9
increased load more offset
faboweb Aug 6, 2019
142a92a
removed not needed computed value
faboweb Aug 6, 2019
ec4e57b
Merge remote-tracking branch 'origin/develop' into fabo/infinite-scroll
faboweb Aug 6, 2019
e5b9b8d
coverage
faboweb Aug 6, 2019
b7bfeed
Remove unused filters getter
Aug 7, 2019
5ee8723
Remove unnecessary notifications getter
Aug 7, 2019
6a76f95
Remove unused lastPage getter
Aug 7, 2019
85b29b2
Remove unnecessary keystore getter
Aug 7, 2019
e5340e2
Remove unnecessary transactions getter
Aug 7, 2019
081f2ef
Remove unused ledger getter
Aug 7, 2019
66205fa
Remove wallet getter, not needed
Aug 7, 2019
9f15751
Remove not needed extension getter
Aug 7, 2019
4d7668c
Remove duplicate in old test directory
Aug 7, 2019
422146a
Remove unnecessary distribution getter
Aug 7, 2019
bb56b9a
Delete unused component
Aug 7, 2019
58be913
Remove unnecessary delegation getter
Aug 7, 2019
1543932
Remove unnecessary pool getter
Aug 7, 2019
6a70ce1
Remove unnecessary proposals getter
Aug 7, 2019
572c4e0
Remove unnecessary staking parameters getter
Aug 7, 2019
e9894f0
Remove unnecessary governanceParameters getters
Aug 7, 2019
9d08ec4
Remove unnecessary delegates getter
Aug 7, 2019
3f78e61
Remove unnecessary session getter
Aug 7, 2019
497113d
Remove unused file
Aug 7, 2019
d22e606
Lint
Aug 7, 2019
fb46647
changelog
Aug 7, 2019
6b4d8c6
Delegates to state
Aug 7, 2019
00c7ae4
Convert getters to state access
Aug 7, 2019
a0e417d
More delegates conversion
Aug 7, 2019
b49e016
Woopsy fix
Aug 7, 2019
2069c98
Getters test update
Aug 7, 2019
c0ba0a2
Remove deposits
Aug 7, 2019
877ec3c
Convert votes from getter to in component state
Aug 7, 2019
d4e46b2
fixed missing directive
faboweb Aug 7, 2019
283c9ba
Merge branch 'develop' into fabo/infinite-scroll
colw Aug 7, 2019
0cc4876
Merge pull request #2867 from luniehq/colw/more-mapstate
faboweb Aug 7, 2019
db94411
Merge branch 'develop' into fabo/infinite-scroll
Aug 7, 2019
90ce1af
Merge pull request #2861 from luniehq/fabo/infinite-scroll
faboweb Aug 7, 2019
4ada643
colw/Reduce lag when switching staking tabs. (#2870)
colw Aug 12, 2019
6c51a46
Fix showOnMobile bnug on network page (#2871)
colw Aug 12, 2019
12fe38e
release-1.0.0-beta.106
Aug 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ yarn-error.log*
*.sw?

android
ios
ios
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

<!-- SIMSALA --> <!-- DON'T DELETE, used for automatic changelog updates -->

## [1.0.0-beta.106] - 2019-08-13

### Added

- Added infinite scroll to validator list @faboweb

### Changed

- [#2870](https://github.com/cosmos/lunie/pull/2870) Keep staking tabs in memory even when switching between them @colw

### Fixed

- [#2871](https://github.com/cosmos/lunie/pull/2871) Sort panel does not error on Network page @colw

### Code Improvements

- [#2867](https://github.com/cosmos/lunie/pull/2867) Remove some getters and convert to mapState @colw

## [1.0.0-beta.105] - 2019-08-07

### Code Improvements
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lunie",
"version": "1.0.0-beta.105",
"version": "1.0.0-beta.106",
"description": "Lunie is the staking and governance platform for proof-of-stake blockchains.",
"author": "Lunie International Software Systems Inc. <hello@lunie.io>",
"scripts": {
Expand Down Expand Up @@ -57,6 +57,7 @@
"vue": "2.6.10",
"vue-clipboard2": "0.3.0",
"vue-directive-tooltip": "1.4.5",
"vue-infinite-scroll": "2.0.2",
"vue-router": "^3.0.3",
"vuelidate": "0.7.4",
"vuex": "3.1.1",
Expand Down
12 changes: 3 additions & 9 deletions src/ActionModal/components/ActionModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ import TmFormMsg from "src/components/common/TmFormMsg"
import TmDataMsg from "common/TmDataMsg"
import TableInvoice from "./TableInvoice"
import Steps from "./Steps"
import { mapGetters } from "vuex"
import { mapState, mapGetters } from "vuex"
import { atoms, viewDenom } from "src/scripts/num"
import { between, requiredIf } from "vuelidate/lib/validators"
import { track } from "scripts/google-analytics"
Expand Down Expand Up @@ -361,14 +361,8 @@ export default {
SIGN_METHODS
}),
computed: {
...mapGetters([
`connected`,
`session`,
`bondDenom`,
`liquidAtoms`,
`modalContext`,
`extension`
]),
...mapState([`extension`, `session`]),
...mapGetters([`connected`, `bondDenom`, `liquidAtoms`, `modalContext`]),
requiresSignIn() {
return !this.session.signedIn
},
Expand Down
5 changes: 3 additions & 2 deletions src/ActionModal/components/DelegationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
</template>

<script>
import { mapGetters } from "vuex"
import { mapState, mapGetters } from "vuex"
import { between, decimal } from "vuelidate/lib/validators"
import { uatoms, atoms, viewDenom, SMALLEST } from "src/scripts/num"
import TmField from "src/components/common/TmField"
Expand Down Expand Up @@ -125,7 +125,8 @@ export default {
selectedIndex: 0
}),
computed: {
...mapGetters([`session`, `modalContext`]),
...mapState([`session`]),
...mapGetters([`modalContext`]),
balance() {
if (!this.session.signedIn) return 0

Expand Down
4 changes: 2 additions & 2 deletions src/ActionModal/components/ModalDeposit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</template>

<script>
import { mapGetters } from "vuex"
import { mapState } from "vuex"
import { uatoms, atoms, viewDenom, SMALLEST } from "src/scripts/num"
import { between, decimal } from "vuelidate/lib/validators"
import TmField from "src/components/common/TmField"
Expand Down Expand Up @@ -85,7 +85,7 @@ export default {
amount: 0
}),
computed: {
...mapGetters([`wallet`]),
...mapState([`wallet`]),
balance() {
const denom = this.wallet.balances.find(b => b.denom === this.denom)
return (denom && denom.amount) || 0
Expand Down
4 changes: 2 additions & 2 deletions src/ActionModal/components/ModalPropose.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
</template>

<script>
import { mapGetters } from "vuex"
import { mapState } from "vuex"
import {
minLength,
maxLength,
Expand Down Expand Up @@ -153,7 +153,7 @@ export default {
amount: 0
}),
computed: {
...mapGetters([`wallet`]),
...mapState([`wallet`]),
balance() {
// TODO: refactor to get the selected coin when multicoin deposit is enabled
if (!this.wallet.loading && !!this.wallet.balances.length) {
Expand Down
4 changes: 2 additions & 2 deletions src/ActionModal/components/SendModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
import b32 from "scripts/b32"
import { required, between, decimal, maxLength } from "vuelidate/lib/validators"
import { uatoms, atoms, viewDenom, SMALLEST } from "src/scripts/num"
import { mapGetters } from "vuex"
import { mapState } from "vuex"
import TmFormGroup from "src/components/common/TmFormGroup"
import TmField from "src/components/common/TmField"
import TmFormMsg from "src/components/common/TmFormMsg"
Expand Down Expand Up @@ -159,7 +159,7 @@ export default {
editMemo: false
}),
computed: {
...mapGetters([`wallet`]),
...mapState([`wallet`]),
balance() {
const denom = this.wallet.balances.find(b => b.denom === this.denom)
return (denom && denom.amount) || 0
Expand Down
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</template>

<script>
import { mapGetters } from "vuex"
import { mapState } from "vuex"
import AppHeader from "common/AppHeader"
import CookieBar from "common/CookieBar"
import MaintenanceBar from "common/MaintenanceBar"
Expand All @@ -33,7 +33,7 @@ export default {
DisconnectedBar
},
computed: {
...mapGetters([`notifications`, `session`])
...mapState([`notifications`, `session`])
},
store
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</template>

<script>
import { mapGetters } from "vuex"
import { mapState } from "vuex"
import noScroll from "no-scroll"
import AppMenu from "common/AppMenu"
export default {
Expand All @@ -36,7 +36,7 @@ export default {
desktop: false
}),
computed: {
...mapGetters([`session`])
...mapState([`session`])
},
mounted() {
this.watchWindowSize()
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/AppMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<script>
import noScroll from "no-scroll"
import ConnectedNetwork from "common/TmConnectedNetwork"
import { mapGetters } from "vuex"
import { mapState } from "vuex"
export default {
name: `app-menu`,
components: {
Expand All @@ -98,7 +98,7 @@ export default {
ps: {}
}),
computed: {
...mapGetters([`session`])
...mapState([`session`])
},
methods: {
close() {
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/CookieBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
</template>

<script>
import { mapGetters } from "vuex"
import { mapState } from "vuex"
export default {
name: `cookie-bar`,
computed: {
...mapGetters([`session`])
...mapState([`session`])
},
methods: {
accept() {
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/MaintenanceBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
</template>

<script>
import { mapGetters } from "vuex"
import { mapState } from "vuex"
export default {
name: `maintenance-bar`,
data: () => ({
show: true
}),
computed: {
...mapGetters([`session`])
...mapState([`session`])
},
methods: {
close() {
Expand Down
7 changes: 2 additions & 5 deletions src/components/common/TmBalance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import num from "scripts/num"
import Bech32 from "common/Bech32"
import TmBtn from "common/TmBtn"
import ModalWithdrawRewards from "src/ActionModal/components/ModalWithdrawRewards"
import { mapGetters } from "vuex"
import { mapState, mapGetters } from "vuex"
export default {
name: `tm-balance`,
components: {
Expand All @@ -57,16 +57,13 @@ export default {
}
},
computed: {
...mapState([`wallet`, `distribution`, `delegation`, `session`]),
...mapGetters([
`connected`,
`session`,
`wallet`,
`delegation`,
`liquidAtoms`,
`lastHeader`,
`totalAtoms`,
`bondDenom`,
`distribution`,
`validatorsWithRewards`,
`totalRewards`
]),
Expand Down
5 changes: 3 additions & 2 deletions src/components/common/TmModalError.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</template>

<script>
import { mapGetters } from "vuex"
import { mapState, mapGetters } from "vuex"
import TmBtn from "common/TmBtn"
export default {
name: `tm-modal-error`,
Expand All @@ -49,7 +49,8 @@ export default {
issueUrl: `https://github.com/cosmos/voyager/issues`
}),
computed: {
...mapGetters([`session`, `lastHeader`])
...mapState([`session`]),
...mapGetters([`lastHeader`])
}
}
</script>
Expand Down
5 changes: 3 additions & 2 deletions src/components/common/TmPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import TmPageHeader from "./TmPageHeader.vue"
import TmDataLoading from "common/TmDataLoading"
import TmDataEmpty from "common/TmDataEmpty"
import CardSignInRequired from "common/CardSignInRequired"
import { mapGetters } from "vuex"
import { mapState, mapGetters } from "vuex"
import TmDataError from "common/TmDataError"
import TmDataConnecting from "common/TmDataConnecting"
import TmBalance from "common/TmBalance"
Expand Down Expand Up @@ -105,7 +105,8 @@ export default {
}
},
computed: {
...mapGetters([`session`, `connected`])
...mapState([`session`]),
...mapGetters([`connected`])
},
watch: {
$route() {
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/TmSessionExisting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</template>

<script>
import { mapGetters } from "vuex"
import { mapState } from "vuex"
import LiSession from "common/TmLiSession"
import SessionFrame from "common/SessionFrame"
export default {
Expand All @@ -57,7 +57,7 @@ export default {
LiSession
},
computed: {
...mapGetters([`session`, `keystore`, `extension`]),
...mapState([`session`, `keystore`, `extension`]),
accountExists() {
return this.keystore && this.keystore.accounts.length > 0
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/TmSessionExtension.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<script>
import AccountList from "common/AccountList"
import SessionFrame from "common/SessionFrame"
import { mapGetters } from "vuex"
import { mapState } from "vuex"
export default {
name: `session-extension`,
components: {
Expand All @@ -44,7 +44,7 @@ export default {
address: null
}),
computed: {
...mapGetters([`extension`]),
...mapState([`extension`]),
accounts() {
return this.extension.accounts
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/TmSessionHardware.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<script>
import TmBtn from "common/TmBtn"
import { mapGetters } from "vuex"
import { mapState } from "vuex"
import HardwareState from "common/TmHardwareState"
import SessionFrame from "common/SessionFrame"
export default {
Expand All @@ -52,7 +52,7 @@ export default {
address: null
}),
computed: {
...mapGetters([`session`]),
...mapState([`session`]),
submitCaption() {
return {
connect: "Sign In",
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/TmSessionSignIn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</template>

<script>
import { mapGetters } from "vuex"
import { mapState } from "vuex"
import { required, minLength } from "vuelidate/lib/validators"
import TmBtn from "common/TmBtn"
import TmFormGroup from "common/TmFormGroup"
Expand All @@ -76,7 +76,7 @@ export default {
error: ``
}),
computed: {
...mapGetters([`keystore`]),
...mapState([`keystore`]),
accounts() {
let accounts = this.keystore.accounts
return accounts.map(({ name, address }) => ({
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/TmSessionSignUp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
</template>

<script>
import { mapGetters } from "vuex"
import { mapState } from "vuex"
import { required, minLength, sameAs } from "vuelidate/lib/validators"
import TmBtn from "common/TmBtn"
import TmFormGroup from "common/TmFormGroup"
Expand Down Expand Up @@ -205,7 +205,7 @@ export default {
}
}),
computed: {
...mapGetters([`session`])
...mapState([`session`])
},
mounted() {
this.$store.dispatch(`createSeed`).then(seedPhrase => {
Expand Down
Loading