Compare commits
2 Commits
jwesson/in
...
open-relea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20c9595129 | ||
|
|
7e0b8f978d |
8
package-lock.json
generated
8
package-lock.json
generated
@@ -12,7 +12,7 @@
|
|||||||
"@edx/brand": "npm:@edx/brand-openedx@1.2.0",
|
"@edx/brand": "npm:@edx/brand-openedx@1.2.0",
|
||||||
"@edx/frontend-component-footer": "12.3.0",
|
"@edx/frontend-component-footer": "12.3.0",
|
||||||
"@edx/frontend-component-header": "4.7.1",
|
"@edx/frontend-component-header": "4.7.1",
|
||||||
"@edx/frontend-platform": "5.4.0",
|
"@edx/frontend-platform": "5.5.4",
|
||||||
"@edx/paragon": "^20.44.0",
|
"@edx/paragon": "^20.44.0",
|
||||||
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
||||||
"@fortawesome/free-brands-svg-icons": "5.15.4",
|
"@fortawesome/free-brands-svg-icons": "5.15.4",
|
||||||
@@ -2855,9 +2855,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@edx/frontend-platform": {
|
"node_modules/@edx/frontend-platform": {
|
||||||
"version": "5.4.0",
|
"version": "5.5.4",
|
||||||
"resolved": "https://registry.npmjs.org/@edx/frontend-platform/-/frontend-platform-5.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/@edx/frontend-platform/-/frontend-platform-5.5.4.tgz",
|
||||||
"integrity": "sha512-cz9yQfHJk1PMQdhxeyIXXiBNqaG9dQZpcBgodmVlLnL/PeN1CuRVjjW98WlKYSrxoZAH5wdgUOr0hKRW3OyBAA==",
|
"integrity": "sha512-Yum+oST7XfDwDnDhBnzeR/mjp6O+G0g+5AZtIJ1BdTKQH1z9FObfim/pfoiI9STiYlguVpeWMkzWuca/QMLO/Q==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cospired/i18n-iso-languages": "4.1.0",
|
"@cospired/i18n-iso-languages": "4.1.0",
|
||||||
"@formatjs/intl-pluralrules": "4.3.3",
|
"@formatjs/intl-pluralrules": "4.3.3",
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
"@edx/brand": "npm:@edx/brand-openedx@1.2.0",
|
"@edx/brand": "npm:@edx/brand-openedx@1.2.0",
|
||||||
"@edx/frontend-component-footer": "12.3.0",
|
"@edx/frontend-component-footer": "12.3.0",
|
||||||
"@edx/frontend-component-header": "4.7.1",
|
"@edx/frontend-component-header": "4.7.1",
|
||||||
"@edx/frontend-platform": "5.4.0",
|
"@edx/frontend-platform": "5.5.4",
|
||||||
"@edx/paragon": "^20.44.0",
|
"@edx/paragon": "^20.44.0",
|
||||||
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
||||||
"@fortawesome/free-brands-svg-icons": "5.15.4",
|
"@fortawesome/free-brands-svg-icons": "5.15.4",
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ class ProfilePage extends React.Component {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<span data-hj-suppress>
|
<span data-hj-suppress>
|
||||||
<h1 className="h2 mb-0 font-weight-bold">{this.props.params.username}</h1>
|
<h1 className="h2 mb-0 font-weight-bold text-truncate">{this.props.params.username}</h1>
|
||||||
<DateJoined date={dateJoined} />
|
<DateJoined date={dateJoined} />
|
||||||
{this.isYOBDisabled() && <UsernameDescription />}
|
{this.isYOBDisabled() && <UsernameDescription />}
|
||||||
<hr className="d-none d-md-block" />
|
<hr className="d-none d-md-block" />
|
||||||
@@ -212,7 +212,7 @@ class ProfilePage extends React.Component {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="col pl-0">
|
<div className="col">
|
||||||
<div className="d-md-none">
|
<div className="d-md-none">
|
||||||
{this.renderHeadingLockup()}
|
{this.renderHeadingLockup()}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ exports[`<ProfilePage /> Renders correctly in various states test country edit w
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="col pl-0"
|
className="col"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="d-md-none"
|
className="d-md-none"
|
||||||
@@ -113,7 +113,7 @@ exports[`<ProfilePage /> Renders correctly in various states test country edit w
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -191,7 +191,7 @@ exports[`<ProfilePage /> Renders correctly in various states test country edit w
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -1696,7 +1696,7 @@ exports[`<ProfilePage /> Renders correctly in various states test country edit w
|
|||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<select
|
<select
|
||||||
className="d-inline-block w-auto form-control"
|
className="d-inline-block form-control"
|
||||||
id="visibilityCountry"
|
id="visibilityCountry"
|
||||||
name="visibilityCountry"
|
name="visibilityCountry"
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -2487,7 +2487,7 @@ exports[`<ProfilePage /> Renders correctly in various states test education edit
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="col pl-0"
|
className="col"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="d-md-none"
|
className="d-md-none"
|
||||||
@@ -2496,7 +2496,7 @@ exports[`<ProfilePage /> Renders correctly in various states test education edit
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -2574,7 +2574,7 @@ exports[`<ProfilePage /> Renders correctly in various states test education edit
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -3053,7 +3053,7 @@ exports[`<ProfilePage /> Renders correctly in various states test education edit
|
|||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<select
|
<select
|
||||||
className="d-inline-block w-auto form-control"
|
className="d-inline-block form-control"
|
||||||
id="visibilityLevelOfEducation"
|
id="visibilityLevelOfEducation"
|
||||||
name="visibilityLevelOfEducation"
|
name="visibilityLevelOfEducation"
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -3664,7 +3664,7 @@ exports[`<ProfilePage /> Renders correctly in various states test preferreded la
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="col pl-0"
|
className="col"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="d-md-none"
|
className="d-md-none"
|
||||||
@@ -3673,7 +3673,7 @@ exports[`<ProfilePage /> Renders correctly in various states test preferreded la
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -3751,7 +3751,7 @@ exports[`<ProfilePage /> Renders correctly in various states test preferreded la
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -5015,7 +5015,7 @@ exports[`<ProfilePage /> Renders correctly in various states test preferreded la
|
|||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<select
|
<select
|
||||||
className="d-inline-block w-auto form-control"
|
className="d-inline-block form-control"
|
||||||
id="visibilityLanguageProficiencies"
|
id="visibilityLanguageProficiencies"
|
||||||
name="visibilityLanguageProficiencies"
|
name="visibilityLanguageProficiencies"
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -5693,7 +5693,7 @@ exports[`<ProfilePage /> Renders correctly in various states viewing other profi
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="col pl-0"
|
className="col"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="d-md-none"
|
className="d-md-none"
|
||||||
@@ -5702,7 +5702,7 @@ exports[`<ProfilePage /> Renders correctly in various states viewing other profi
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
verified
|
verified
|
||||||
</h1>
|
</h1>
|
||||||
@@ -5763,7 +5763,7 @@ exports[`<ProfilePage /> Renders correctly in various states viewing other profi
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
verified
|
verified
|
||||||
</h1>
|
</h1>
|
||||||
@@ -5948,7 +5948,7 @@ exports[`<ProfilePage /> Renders correctly in various states viewing own profile
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="col pl-0"
|
className="col"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="d-md-none"
|
className="d-md-none"
|
||||||
@@ -5957,7 +5957,7 @@ exports[`<ProfilePage /> Renders correctly in various states viewing own profile
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -6035,7 +6035,7 @@ exports[`<ProfilePage /> Renders correctly in various states viewing own profile
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -6998,7 +6998,7 @@ exports[`<ProfilePage /> Renders correctly in various states while saving an edi
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="col pl-0"
|
className="col"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="d-md-none"
|
className="d-md-none"
|
||||||
@@ -7007,7 +7007,7 @@ exports[`<ProfilePage /> Renders correctly in various states while saving an edi
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -7085,7 +7085,7 @@ exports[`<ProfilePage /> Renders correctly in various states while saving an edi
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -7773,7 +7773,7 @@ exports[`<ProfilePage /> Renders correctly in various states while saving an edi
|
|||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<select
|
<select
|
||||||
className="d-inline-block w-auto form-control"
|
className="d-inline-block form-control"
|
||||||
id="visibilityBio"
|
id="visibilityBio"
|
||||||
name="visibilityBio"
|
name="visibilityBio"
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -8115,7 +8115,7 @@ exports[`<ProfilePage /> Renders correctly in various states while saving an edi
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="col pl-0"
|
className="col"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="d-md-none"
|
className="d-md-none"
|
||||||
@@ -8124,7 +8124,7 @@ exports[`<ProfilePage /> Renders correctly in various states while saving an edi
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -8202,7 +8202,7 @@ exports[`<ProfilePage /> Renders correctly in various states while saving an edi
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -8898,7 +8898,7 @@ exports[`<ProfilePage /> Renders correctly in various states while saving an edi
|
|||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<select
|
<select
|
||||||
className="d-inline-block w-auto form-control"
|
className="d-inline-block form-control"
|
||||||
id="visibilityBio"
|
id="visibilityBio"
|
||||||
name="visibilityBio"
|
name="visibilityBio"
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
@@ -9240,7 +9240,7 @@ exports[`<ProfilePage /> Renders correctly in various states without credentials
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="col pl-0"
|
className="col"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="d-md-none"
|
className="d-md-none"
|
||||||
@@ -9249,7 +9249,7 @@ exports[`<ProfilePage /> Renders correctly in various states without credentials
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
@@ -9282,7 +9282,7 @@ exports[`<ProfilePage /> Renders correctly in various states without credentials
|
|||||||
data-hj-suppress={true}
|
data-hj-suppress={true}
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
className="h2 mb-0 font-weight-bold"
|
className="h2 mb-0 font-weight-bold text-truncate"
|
||||||
>
|
>
|
||||||
staff
|
staff
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ exports[`<SocialLinks /> calls social links with edit mode bio 1`] = `
|
|||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
<select
|
<select
|
||||||
className="d-inline-block w-auto form-control"
|
className="d-inline-block form-control"
|
||||||
id="visibilitySocialLinks"
|
id="visibilitySocialLinks"
|
||||||
name="visibilitySocialLinks"
|
name="visibilitySocialLinks"
|
||||||
onChange={[Function]}
|
onChange={[Function]}
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ const VisibilitySelect = ({ intl, className, ...props }) => {
|
|||||||
<span className="d-inline-block ml-1 mr-2" style={{ width: '1.5rem' }}>
|
<span className="d-inline-block ml-1 mr-2" style={{ width: '1.5rem' }}>
|
||||||
<FontAwesomeIcon icon={icon} />
|
<FontAwesomeIcon icon={icon} />
|
||||||
</span>
|
</span>
|
||||||
<select className="d-inline-block w-auto form-control" {...props}>
|
<select className="d-inline-block form-control" {...props}>
|
||||||
<option key="private" value="private">
|
<option key="private" value="private">
|
||||||
{intl.formatMessage(messages['profile.visibility.who.just.me'])}
|
{intl.formatMessage(messages['profile.visibility.who.just.me'])}
|
||||||
</option>
|
</option>
|
||||||
|
|||||||
Reference in New Issue
Block a user