Skip to content

PR for private-settings tickets #4139

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

Merged
merged 10 commits into from
Mar 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ workflows:
filters:
branches:
only:
- hot-fix-image-issue
- develop
# This is alternate dev env for parallel testing
- "build-test":
context : org-global
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@

.file-upload {
align-self: center;
color: $tc-white;
margin: 0;

div:first-child {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ label {
margin-bottom: 130px;
position: absolute;
display: inline-block;
bottom: 0;
bottom: auto;

@include upto-sm {
margin-bottom: 10px;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/Settings/Profile/Work/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ label {
margin-bottom: 125px;
position: absolute;
display: inline-block;
bottom: 0;
bottom: auto;

@include upto-sm {
margin-bottom: 10px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@
}

.complete {
color: $tc-white;
height: 40px;
font-size: 15px;
font-weight: 500;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/tc-communities/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function Header(props) {
title: 'Payments',
}, {
icon: <IconNavSettings />,
link: `${BASE_URL}/settings/profile`,
link: `${meta ? _.replace(BASE_URL, 'www', meta.subdomains[0]) : BASE_URL}/settings/profile`,
title: 'Settings',
}, {
icon: <IconNavExit />,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
width: 250px;
text-align: center;
vertical-align: top;
color: #00a2e0 !important;

a,
&,
Expand Down
5 changes: 5 additions & 0 deletions src/shared/routes/Communities/Blockchain/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import Submission from 'routes/Submission';
import SubmissionManagement from 'routes/SubmissionManagement';
import Profile from 'routes/Profile';
import ProfileStats from 'routes/ProfileStats';
import Settings from 'routes/Settings';
import TermsDetail from 'routes/TermsDetail';
import { Route, Switch } from 'react-router-dom';
import { ThemeProvider } from 'react-css-super-themr';
Expand Down Expand Up @@ -130,6 +131,10 @@ export default function Blockchain({ base, member, meta }) {
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
/>
<Route
component={() => <Settings base={`${base}/settings`} />}
path={`${base}/settings`}
/>
<Route
component={() => <Learn baseUrl={base} />}
exact
Expand Down
5 changes: 5 additions & 0 deletions src/shared/routes/Communities/CS/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import SubmissionManagement from 'routes/SubmissionManagement';
import TermsDetail from 'routes/TermsDetail';
import Profile from 'routes/Profile';
import ProfileStats from 'routes/ProfileStats';
import Settings from 'routes/Settings';
import theme from 'components/tc-communities/communities/cs/theme';
import { ThemeProvider } from 'react-css-super-themr';
import { Route, Switch } from 'react-router-dom';
Expand Down Expand Up @@ -92,6 +93,10 @@ export default function CS({ base, meta }) {
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
/>
<Route
component={() => <Settings base={`${base}/settings`} />}
path={`${base}/settings`}
/>
<Route
component={FAQ}
exact
Expand Down
6 changes: 5 additions & 1 deletion src/shared/routes/Communities/Cognitive/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Submission from 'routes/Submission';
import SubmissionManagement from 'routes/SubmissionManagement';
import Profile from 'routes/Profile';
import ProfileStats from 'routes/ProfileStats';

import Settings from 'routes/Settings';
import socialImage from 'assets/images/communities/cognitive/social.jpg';

import TermsDetail from 'routes/TermsDetail';
Expand Down Expand Up @@ -108,6 +108,10 @@ export default function Cognitive({ base, member, meta }) {
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
/>
<Route
component={() => <Settings base={`${base}/settings`} />}
path={`${base}/settings`}
/>
<Route
component={() => <Resources baseUrl={base} member={member} />}
exact
Expand Down
5 changes: 5 additions & 0 deletions src/shared/routes/Communities/Veterans/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import SubmissionManagement from 'routes/SubmissionManagement';
import TermsDetail from 'routes/TermsDetail';
import Profile from 'routes/Profile';
import ProfileStats from 'routes/ProfileStats';
import Settings from 'routes/Settings';
import { ThemeProvider } from 'react-css-super-themr';
import { Route, Switch } from 'react-router-dom';
import { BUCKETS, registerBucket } from 'utils/challenge-listing/buckets';
Expand Down Expand Up @@ -114,6 +115,10 @@ export default function Veterans({ base, member, meta }) {
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
/>
<Route
component={() => <Settings base={`${base}/settings`} />}
path={`${base}/settings`}
/>
<Route
component={() => <Leaderboard meta={meta} />}
exact
Expand Down
5 changes: 5 additions & 0 deletions src/shared/routes/Communities/Wipro/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import SubmissionManagement from 'routes/SubmissionManagement';
import TermsDetail from 'routes/TermsDetail';
import Profile from 'routes/Profile';
import ProfileStats from 'routes/ProfileStats';
import Settings from 'routes/Settings';
import theme from 'components/tc-communities/communities/wipro/theme';
import { ThemeProvider } from 'react-css-super-themr';
import { Route, Switch } from 'react-router-dom';
Expand Down Expand Up @@ -81,6 +82,10 @@ export default function Wipro({ base, meta }) {
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
/>
<Route
component={() => <Settings base={`${base}/settings`} />}
path={`${base}/settings`}
/>
<Route
component={TermsDetail}
exact
Expand Down