Commit Graph

118 Commits

Author SHA1 Message Date
Douglas Hall
0e0ce562e4 Prevent certificate list API call failure from crashing page. 2019-03-26 14:51:47 -04:00
Douglas Hall
a1dc64ae33 Display certificate issue date on certificate cards. 2019-03-26 10:19:47 -04:00
Douglas Hall
79707d4a79 Make certificate card widths consistent. 2019-03-25 11:33:40 -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
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
9a8d4f34a4 fix: LinkedIn is one word 2019-03-15 11:09:29 -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
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
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
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
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
Adam Butterworth
b5f0a4e6ac fix: add ids for inputs and update header and footer components (#65) 2019-03-08 17:07:05 -05:00
Robert Raposa
8b1157f3c6 Rename event to edx.profile.viewed.
Had temporarily named the event edx.bi.profile.viewed while working
out some details. Now that the backend will add user_id for the
username, the event can become more official.

ARCH-491
2019-03-08 14:42:01 -05:00
Adam Butterworth
60268b5ba7 feat: Update header (#60)
* Update SiteHeader

* Remove old header

* Fix message key

* Icons now render in header

* style: move site header into common dir
2019-03-07 15:58:52 -05:00
Adam Butterworth
07a3680d5e feat(layout): add layout and style to 404 page (#63) 2019-03-07 15:23:55 -05:00
Adam Butterworth
438dcdb641 fix: Do not show age message when viewing other's profiles (#64)
remove close button on age message.
do not show age message for other users.
2019-03-07 15:20:23 -05:00
Robert Raposa
dc6366a015 JSON.stringify event data.
ARCH-492
2019-03-06 16:58:28 -05:00
albemarle
db91f69cdf update translations for es (#59) 2019-03-06 16:30:34 -05:00
Adam Butterworth
7bc2e8f02b Photo upload error handling (#57)
* Parse error response for photo upload

* Show profile photo upload errors

* Update test to match new shape of error

* Clearer comments
2019-03-06 12:17:04 -05:00
Adam Butterworth
f431d41948 pass isDefault to ProfileAvatar 2019-03-05 13:31:37 -05:00
Robert Raposa
f9f1c723cd Add Logging Service and event fixes.
- Original NewRelicService lifted from edx-portal.
- Fixed bug with snake case of event data.
- Added error handling for logEvent.
- Added tests for logEvent.

ARCH-430
2019-03-05 12:59:41 -05:00