From 702b9ce5c6ba59e1ac35bf3999a2b02f2db08b10 Mon Sep 17 00:00:00 2001 From: Fabian Date: Fri, 2 Feb 2018 11:16:56 +0100 Subject: [PATCH 1/4] pseudo commit to test code cov --- app/src/renderer/components/staking/PageDelegates.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/renderer/components/staking/PageDelegates.vue b/app/src/renderer/components/staking/PageDelegates.vue index c74145716b..20df8d2926 100644 --- a/app/src/renderer/components/staking/PageDelegates.vue +++ b/app/src/renderer/components/staking/PageDelegates.vue @@ -58,7 +58,7 @@ export default { ...mapGetters(['delegates', 'filters', 'shoppingCart', 'config', 'user']), address () { return this.user.address }, filteredDelegates () { - let query = this.filters.delegates.search.query + let query = this.filters.delegates.search.query.trim() let list = orderBy(this.delegates, [this.sort.property], [this.sort.order]) if (this.filters.delegates.search.visible) { return list.filter(i => includes(JSON.stringify(i).toLowerCase(), query.toLowerCase())) From b92819e3474b9ed3b1dc583a5d115a9124f497c6 Mon Sep 17 00:00:00 2001 From: Fabian Date: Fri, 2 Feb 2018 11:22:04 +0100 Subject: [PATCH 2/4] moved codecov upload to testing step to see logs of upload in circleci --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2dd60d4e78..729904fd83 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,5 +31,4 @@ jobs: - run: yarn lint - run: yarn run test - post: - - bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN \ No newline at end of file + - run: bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN \ No newline at end of file From 419cdef12cb6fac9075262c2a12cbd61d2559756 Mon Sep 17 00:00:00 2001 From: Fabian Date: Fri, 2 Feb 2018 13:49:23 +0100 Subject: [PATCH 3/4] stripped codecov comment a little --- codecov.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yaml b/codecov.yaml index 35b384e8bd..90517d3ef9 100644 --- a/codecov.yaml +++ b/codecov.yaml @@ -12,7 +12,7 @@ coverage: default: off comment: - layout: "header, reach, diff, flags, files, footer" + layout: "diff, files" behavior: default require_changes: no require_base: no From 41e9155314c622574c6430b1e75f3ce7aaddff04 Mon Sep 17 00:00:00 2001 From: Fabian Date: Fri, 2 Feb 2018 17:47:51 +0100 Subject: [PATCH 4/4] Remove pseudo change --- app/src/renderer/components/staking/PageDelegates.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/renderer/components/staking/PageDelegates.vue b/app/src/renderer/components/staking/PageDelegates.vue index 20df8d2926..c74145716b 100644 --- a/app/src/renderer/components/staking/PageDelegates.vue +++ b/app/src/renderer/components/staking/PageDelegates.vue @@ -58,7 +58,7 @@ export default { ...mapGetters(['delegates', 'filters', 'shoppingCart', 'config', 'user']), address () { return this.user.address }, filteredDelegates () { - let query = this.filters.delegates.search.query.trim() + let query = this.filters.delegates.search.query let list = orderBy(this.delegates, [this.sort.property], [this.sort.order]) if (this.filters.delegates.search.visible) { return list.filter(i => includes(JSON.stringify(i).toLowerCase(), query.toLowerCase()))