Skip to content

Commit c12e0b8

Browse files
authored
Merge pull request #4572 from appirio-tech/dev
Connect Logo Update
2 parents ce6e6de + 6eeef9e commit c12e0b8

10 files changed

+20
-40
lines changed

.circleci/config.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,12 @@ build_steps: &build_steps
6767
- setup_remote_docker
6868
- run: *install_dependency
6969
- run: *install_deploysuite
70-
- run: npm install
70+
- run:
71+
name: "Installing npm dependency"
72+
command: |
73+
npm config set unsafe-perm true
74+
git config --global url."https://git@".insteadOf git://
75+
npm install
7176
- run:
7277
name: "configuring environment"
7378
command: |
@@ -195,7 +200,7 @@ workflows:
195200
- build-dev
196201
filters: &filters-dev
197202
branches:
198-
only: ['dev', 'feature/milestone-customer-approval']
203+
only: ['dev', 'feature/milestone-customer-approval', 'reskin']
199204

200205
- deployTest01:
201206
context : org-global

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
"remarkable": "^1.7.4",
152152
"sanitize-html": "^1.27.4",
153153
"svg-react-loader": "^0.4.5",
154-
"tc-auth-lib": "topcoder-platform/tc-auth-lib#1.0.4",
154+
"@topcoder-platform/tc-auth-lib": "topcoder-platform/tc-auth-lib#1.0.4",
155155
"tc-ui": "git+https://github.com/appirio-tech/tc-ui.git#feature/connectv2",
156156
"tlds": "^1.191.0",
157157
"topcoder-react-utils": "0.0.39",

src/actions/loadUser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
ROLE_PROGRAM_MANAGER,
1818
ROLE_PRESALES, ROLE_PROJECT_MANAGER, ROLE_SOLUTION_ARCHITECT
1919
} from '../config/constants'
20-
import { getFreshToken, configureConnector, decodeToken } from 'tc-auth-lib'
20+
import { getFreshToken, configureConnector, decodeToken } from '@topcoder-platform/tc-auth-lib'
2121
import { getUserProfile, getCredential } from '../api/users'
2222
import { fetchGroups } from '../api/groups'
2323
import { getOrgConfig } from '../api/orgConfig'

src/api/requestInterceptor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import axios from 'axios'
22
import store from '../config/store'
3-
import { getFreshToken, isTokenExpired } from 'tc-auth-lib'
3+
import { getFreshToken, isTokenExpired } from '@topcoder-platform/tc-auth-lib'
44

55
export const getToken = () => {
66
return new Promise((resolve, reject) => {
+3-15
Loading

src/components/AuthenticatedComponent.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import { withRouter } from 'react-router-dom'
3-
import { getFreshToken } from 'tc-auth-lib'
3+
import { getFreshToken } from '@topcoder-platform/tc-auth-lib'
44
import { ACCOUNTS_APP_LOGIN_URL } from '../config/constants'
55

66
export function requiresAuthentication(Component) {

src/components/NotificationsDropdown/NotificationsMobilePage.scss

+2-7
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,11 @@
2525
overflow: hidden;
2626

2727
svg {
28-
margin-left: -4px;
29-
margin-top: -1px;
28+
margin-top: -8px;
3029
width: 60px;
3130

3231
path {
33-
fill: $tc-gray-10;
34-
35-
&:last-child {
36-
display: none;
37-
}
32+
fill: $tc-white;
3833
}
3934
}
4035
}

src/components/TopBar/SectionToolBar.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
width: 53px;
105105

106106
path {
107-
fill: $tc-gray-10;
107+
fill: $tc-white;
108108
}
109109
}
110110
}

src/components/TopBar/TopBarContainer.scss

+2-10
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,12 @@
6767
height: auto;
6868
width: 53px;
6969
@media screen and (max-width: $screen-md - 1px) {
70-
/* adjust so visible logo starts from the beginning of .logo */
71-
margin-left: -4px;
72-
margin-top: -1px;
73-
/* real visible logo is 53px when svg has width 60px */
70+
margin-top: -8px;
7471
width: 60px;
75-
76-
/* hide "connect" text under the logo */
77-
path:last-child {
78-
display: none;
79-
}
8072
}
8173

8274
path {
83-
fill: $tc-gray-10;
75+
fill: $tc-white;
8476
}
8577
}
8678
}

src/routes.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import LoadingIndicator from './components/LoadingIndicator/LoadingIndicator'
1919
import OrganizationPage from './components/SpecialPage/OrganizationPage'
2020
import {ACCOUNTS_APP_LOGIN_URL, PROJECT_FEED_TYPE_PRIMARY, PROJECT_FEED_TYPE_MESSAGES } from './config/constants'
2121
import { getTopic } from './api/messages'
22-
import { getFreshToken } from 'tc-auth-lib'
22+
import { getFreshToken } from '@topcoder-platform/tc-auth-lib'
2323
import { scrollToHash } from './components/ScrollToAnchors.jsx'
2424

2525
import { TCEmitter } from './helpers'

0 commit comments

Comments
 (0)