Commit Graph

135 Commits

Author SHA1 Message Date
Douglas Hall
ab1fcf3261 Fix loading of header logo svg. 2019-03-25 11:57:40 -04:00
Douglas Hall
79707d4a79 Make certificate card widths consistent. 2019-03-25 11:33:40 -04:00
Douglas Hall
3badd9c89d Fix svg loaders. 2019-03-22 11:33:55 -04:00
Douglas Hall
c565a8773b Disable profile image editing for user's with no age or younger than 13. 2019-03-21 16:43:44 -04:00
Douglas Hall
ef7b1ea009 Display default avatar if user does not have a profile image. 2019-03-21 16:16:07 -04:00
Douglas Hall
1ae08b95e1 Default to unknown certificate type translation string. 2019-03-20 10:53:20 -04:00
Adam Butterworth
0fc8990e08 fix: use lodash.get to provide default message ids to intl.formatMessage (#108) 2019-03-19 15:22:20 -07:00
Douglas Hall
07ca42421c Send page event when new route is rendered. 2019-03-19 16:18:40 -04:00
Douglas Hall
189c3db630 Upgrade frontend-auth to 3.0.3. 2019-03-19 16:00:33 -04:00
David Joy
1683bb7e51 Fix bad message ID - verified -> professional (#106) 2019-03-19 11:38:26 -04:00
David Joy
8dba3f6b40 Internationalize the certificate and education types. (#104) 2019-03-19 09:52:48 -04:00
Robert Raposa
5d9c9b52cf Enhance the logging service.
- Add custom attributes to api response errors.
- Add custom attribute capabilities to loadError.
- Drop the data for html page responses.
- Move code for max message length.
- Add tests.

ARCH-578
2019-03-18 15:54:24 -04:00
David Joy
9c887e2ce4 Hide the view my records button if it isn’t your profile. (#105) 2019-03-18 10:40:50 -04:00
albemarle
469cdfd257 fix(i18n): read the correct files (#101) 2019-03-15 16:01:44 -04:00
edX Transifex Bot
6955123917 fix(i18n): update translations 2019-03-15 14:11:34 -04:00
albemarle
9f7f70102a fix(i18n): instructions that said to quote this path were lying (#99) 2019-03-15 14:04:46 -04:00
albemarle
9a8d4f34a4 fix: LinkedIn is one word 2019-03-15 11:09:29 -04:00
Adam Butterworth
161d1e2c14 fix: update site header to fix bad active state in usermenu 2019-03-15 11:09:04 -04:00
Douglas Hall
e260a35b18 Fix user menu profile link. 2019-03-15 09:59:44 -04:00
David Joy
3119df4e83 Shut off name editing and tweak visibility spacing (#95) 2019-03-14 17:23:22 -04:00
Robert Raposa
baf4989388 Fix and log more unhandled errors.
- Logs errors that fall through to the App.
- Logs unprocessed error in Saga.
- Ensures ProfileApiService throws proper errors.
- Fix LoggingService to pass through non-API errors.
- Fix LoggingService to cap length of message.

ARCH-427
2019-03-14 13:34:10 -04:00
Robert Raposa
10ca93c568 Fix and log more unhandled errors.
- Logs errors that fall through to the App.
- Logs unprocessed error in Saga.
- Ensures ProfileApiService throws proper errors.
- Fix LoggingService to pass through non-API errors.
- Fix LoggingService to cap length of message.

ARCH-427
2019-03-14 13:34:10 -04:00
edX Transifex Bot
d3d10960c9 fix(i18n): update translations 2019-03-14 13:27:12 -04:00
David Joy
72374f102c Update page title to match existing profile. (#86) 2019-03-14 10:53:38 -04:00
Adam Butterworth
583581eb03 fix: remove the upload button background when viewing other profiles (#83)
* fix: remove the upload button background when viewing other profiles

* fix: break out function per feedback
2019-03-13 16:33:38 -04:00
edX Transifex Bot
c8804514ad Update translations 2019-03-13 16:10:32 -04:00
albemarle
f5880f4b27 fix(i18n): create config file for Transifex command line client (#91) 2019-03-13 16:04:15 -04:00
albemarle
f3777ddc35 fix: deal with Transifex id escaping (#89) 2019-03-13 15:00:36 -04:00
Adam Butterworth
8507f431a1 style: i18n comment (#90) 2019-03-13 15:00:28 -04:00
Adam Butterworth
6709032aa8 fix: filter out empty social links from static display (#87) 2019-03-13 14:13:10 -04:00
Douglas Hall
83509c3415 Wire up USER_INFO_COOKIE_NAME setting. 2019-03-13 14:02:24 -04:00
David Joy
0335a8c4a2 Improve card styling. (#85)
Consistent height and watermark placement.  Also, no watermark by default.
2019-03-13 12:24:42 -04:00
David Joy
10b6a03142 Add a “View My Records” button. (#84)
Links to credentials.edx.org/records
2019-03-13 12:07:10 -04:00
albemarle
d213c6ffd8 feature: add AR, FR, and ZH (#82)
Also move copy-webpack-plugin into dev dependencies.
2019-03-13 11:12:21 -04:00
Adam Butterworth
a58f0804a7 fix: ui polish (#79)
* fix: change label of language to primary language spoken

* fix: add labels to top of empty states

* fix: add help text to name field in editable or empty states

* fix: move repeated messages into separate files

* fix: translate missed string
2019-03-12 17:14:22 -04:00
Douglas Hall
01bdc66528 Upgrade the frontend-auth package. 2019-03-12 16:50:04 -04:00
Adam Butterworth
357fa88786 fix: add an app loading state (#80)
* fix: add isLoadingProfile to app state

* fix: add loading spinner
2019-03-12 15:52:19 -04:00
Robert Raposa
e3c3895869 Use form-urlencoded npm package.
Switch from custom function to form-urlencoded to perform form url
encoding.

ARCH-390
2019-03-12 09:41:57 -04:00
Robert Raposa
61d7b4b278 Fix analytics events to be x-www-form-urlencoded.
The LMS /event api expects the request to use a content type of
application/x-www-form-urlencoded.

ARCH-390
2019-03-11 18:11:55 -04:00
albemarle
971a712b04 i18n: add make targets for Transifex (#77) 2019-03-11 17:58:07 -04:00
Adam Butterworth
b3a1c71a14 fix: update header (#76) 2019-03-11 16:50:56 -04:00
Adam Butterworth
15a06948de fix: upgrade header containing mobile fixes (#72) 2019-03-11 16:23:25 -04:00
David Joy
8131cf219d If account_privacy is blank, that means “all_users” (#75) 2019-03-11 16:06:03 -04:00
David Joy
2ee1887b6a Adding a horizontal rule below the joined date. (#74) 2019-03-11 15:52:03 -04:00
Douglas Hall
c74d0816ee fix(certificates): handle absolute and relative certificate download urls 2019-03-11 15:51:56 -04:00
Adam Butterworth
c8d9db2656 fix: use onChange instead of onInput to fix broken upload on mobile (#70) 2019-03-11 15:36:01 -04:00
Adam Butterworth
e54eb5ddad fix: order and vertical alignment of columns (#69) 2019-03-11 11:57:34 -04:00
Adam Butterworth
231d94911a fix: Add edit button to empty state on certs (#68) 2019-03-11 11:17:22 -04:00
Adam Butterworth
0853d6feb1 fix(a11y): Improvements to form descriptions and heading levels (#66)
* Add div role dialog for edit modes

* fix(a11y): add aria-describedby attributes on inputs

* fix(a11y): headings don't skip levels

* fix: update site header that contains a11y improvements
2019-03-11 11:14:11 -04:00
Adam Butterworth
e66d1540cd feat: increase resolution of profile image (#67) 2019-03-11 11:05:51 -04:00