From 884bebeeb813631fa7bccae67d7bda400889fe0a Mon Sep 17 00:00:00 2001 From: gets0ul Date: Sun, 13 Sep 2020 16:33:37 +0700 Subject: [PATCH 1/8] Update the SVG of default user avatar so it does not use ids and masks to avoid the issue of the default avatar being not displayed because it shares the same id with other svg. --- .../components/__snapshots__/Avatar.jsx.snap | 42 ++++--------------- src/assets/images/default-user-avatar.svg | 11 +---- 2 files changed, 9 insertions(+), 44 deletions(-) diff --git a/__tests__/shared/components/__snapshots__/Avatar.jsx.snap b/__tests__/shared/components/__snapshots__/Avatar.jsx.snap index 0e9da75..45d3236 100644 --- a/__tests__/shared/components/__snapshots__/Avatar.jsx.snap +++ b/__tests__/shared/components/__snapshots__/Avatar.jsx.snap @@ -7,45 +7,17 @@ exports[`Snapshots 1`] = ` viewBox="0 0 141 141" width="141" xmlns="http://www.w3.org/2000/svg" - xmlnsXlink="http://www.w3.org/1999/xlink" > ico-user-default - - - - - - - - - - + opacity=".2" + stroke="#A3A3AE" + strokeWidth="3" + /> `; diff --git a/src/assets/images/default-user-avatar.svg b/src/assets/images/default-user-avatar.svg index ed6ce1a..eee2a66 100644 --- a/src/assets/images/default-user-avatar.svg +++ b/src/assets/images/default-user-avatar.svg @@ -3,17 +3,10 @@ ico-user-default Created with Sketch. - - - - + - - - - - + From b3eee20245e14e8a070835509fdeaf91f67b865c Mon Sep 17 00:00:00 2001 From: gets0ul Date: Sun, 13 Sep 2020 19:59:03 +0700 Subject: [PATCH 2/8] fix test snapshot --- __tests__/shared/components/__snapshots__/Avatar.jsx.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/shared/components/__snapshots__/Avatar.jsx.snap b/__tests__/shared/components/__snapshots__/Avatar.jsx.snap index 45d3236..2e81968 100644 --- a/__tests__/shared/components/__snapshots__/Avatar.jsx.snap +++ b/__tests__/shared/components/__snapshots__/Avatar.jsx.snap @@ -2,7 +2,7 @@ exports[`Snapshots 1`] = ` Date: Sun, 13 Sep 2020 23:24:38 -0300 Subject: [PATCH 3/8] fix: for #4745 Issue: https://github.com/topcoder-platform/community-app/issues/4745 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7722f59..983a03c 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "lint:scss": "./node_modules/.bin/stylelint **/*.scss --syntax scss", "test": "npm run lint && npm run jest" }, - "version": "2.0.0", + "version": "1000.1.0", "dependencies": { "prop-types": "^15.6.2", "react": "^16.4.1", From f93dfba77c42ffc676e488183f5635e7933a12e3 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Sun, 13 Sep 2020 23:41:05 -0300 Subject: [PATCH 4/8] ci: added dist tag Issue: https://github.com/topcoder-platform/community-app/issues/4745 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 12c0931..4184c8e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,7 +30,7 @@ jobs: - attach_workspace: at: . - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - - run: npm publish + - run: npm publish --tag test-release workflows: version: 2 From 65525cbe4819bd8cce872e9939cad330202a07b2 Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Mon, 14 Sep 2020 00:27:59 -0300 Subject: [PATCH 5/8] Fix snapshot --- __tests__/shared/components/__snapshots__/Avatar.jsx.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/shared/components/__snapshots__/Avatar.jsx.snap b/__tests__/shared/components/__snapshots__/Avatar.jsx.snap index 2e81968..45d3236 100644 --- a/__tests__/shared/components/__snapshots__/Avatar.jsx.snap +++ b/__tests__/shared/components/__snapshots__/Avatar.jsx.snap @@ -2,7 +2,7 @@ exports[`Snapshots 1`] = ` Date: Tue, 15 Sep 2020 01:25:15 -0300 Subject: [PATCH 6/8] fix: smoke test release Issue: https://github.com/topcoder-platform/community-app/issues/4745 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 983a03c..2f2e83d 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "lint:scss": "./node_modules/.bin/stylelint **/*.scss --syntax scss", "test": "npm run lint && npm run jest" }, - "version": "1000.1.0", + "version": "1000.1.1", "dependencies": { "prop-types": "^15.6.2", "react": "^16.4.1", From 519298e49861936916ac633df527cb00442060df Mon Sep 17 00:00:00 2001 From: Sushil Shinde Date: Tue, 15 Sep 2020 13:06:05 +0530 Subject: [PATCH 7/8] fix: for #4745 - Issue: #4745 - PR: https://github.com/topcoder-platform/topcoder-react-ui-kit/pull/35 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2f2e83d..d0f3bee 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "lint:scss": "./node_modules/.bin/stylelint **/*.scss --syntax scss", "test": "npm run lint && npm run jest" }, - "version": "1000.1.1", + "version": "2.0.1", "dependencies": { "prop-types": "^15.6.2", "react": "^16.4.1", From cd04bd62fef35f591f94a8934b5ff6bedecebe9a Mon Sep 17 00:00:00 2001 From: Sushil Shinde Date: Tue, 15 Sep 2020 13:06:52 +0530 Subject: [PATCH 8/8] fix: removed dist tag --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4184c8e..12c0931 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,7 +30,7 @@ jobs: - attach_workspace: at: . - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - - run: npm publish --tag test-release + - run: npm publish workflows: version: 2