Commit Graph

101 Commits

Author SHA1 Message Date
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
Robert Raposa
b24f6db050 Temporary rename to edx.bi.profile.viewed. 2019-03-05 12:59:41 -05:00
Adam Butterworth
bddc369299 Delete css comment 2019-03-05 10:01:28 -05:00
Adam Butterworth
6524e2a044 Move verified next to default 2019-03-05 10:01:28 -05:00
Adam Butterworth
5885a5a392 Add other certificate illustrations 2019-03-05 10:01:28 -05:00
Adam Butterworth
35385ae99e Add MicroMasters illustration in background of all certificates 2019-03-05 10:01:28 -05:00
David Joy
129e32f7b5 Client/server data adapter and simpler data model. (#53)
* Client/server data adapter and simpler data passthroughs.

* Parse error response and pipe to UI

* Add top-of-form error display for social links

* Remove save failed state from save button

* Remove object deconstruction in catch

* Fixing a few small bugs.

* When opening and closing forms, remove drafts.

* Tweak where we send account_privacy back to

* Passing course cert visibility through.

* Fixin’ up the tests.

* Documenting weird social links behavior.

* More comments.
2019-03-04 16:45:22 -05:00
Adam Butterworth
af8fb0e859 Update display of avatar upload menu (#50)
* Update display of avatar upload menu

* Add i18n

* Incorporate feedback

* Add mobile style fix

* Fix loading style

* Use ===
2019-03-01 17:14:32 -05:00
Adam Butterworth
a1706dcf7f Remove editing capability for accounts that requireParentalConsent (#51)
Remove editing capability for accounts that requireParentalConsent
2019-03-01 16:29:21 -05:00
Douglas Hall
0793b04931 fix(certificates): use real certificate data 2019-03-01 16:02:53 -05:00
Robert Raposa
9abb2df5b2 Refactor analytics code into folder. 2019-03-01 14:59:06 -05:00
Robert Raposa
57d78402d2 Add logEvent call and new event. 2019-03-01 14:19:08 -05:00
Adam Butterworth
a3fd3ec5f8 Adding i18n 2019-03-01 14:17:53 -05:00
Adam Butterworth
a03a063179 Add languageProficiencies 2019-03-01 14:17:53 -05:00
Adam Butterworth
2064141e63 Combine Visibility Display and Select. i18n for both 2019-03-01 13:10:11 -05:00
Adam Butterworth
8063c0453d Clean up message ids 2019-03-01 13:10:11 -05:00
Adam Butterworth
e7da0132c5 Flip buttons and put visibility on new line 2019-03-01 13:10:11 -05:00
Adam Butterworth
f5c440c93b Add account settings url to age message. 2019-02-28 17:09:58 -05:00