Commit Graph

164 Commits

Author SHA1 Message Date
Adam Butterworth
9db03f705b fix: fix some new line wrapping issues on visibility selector (#145) 2019-04-10 11:53:08 -04:00
Adam Butterworth
b15ba32fe8 fix: design updates (#141)
* fix: add more spacing between sections

* fix: make empty content an inline-block button

* fix: make labels and headings have same line-height

* fix: make visibility selector and submit buttons on same line in large column

* fix: update the old blue to the new navy in the hero image

* fix: make underlines stay on hover for btn-links and not on others
2019-04-10 11:39:47 -04:00
Robert Raposa
fedff33c62 drop fork of html-webpack-new-relic-plugin
The update to NewRelic snippet was merged upstream, so we can now use
the upstream version again.
2019-04-09 16:08:44 -04:00
David Joy
9b6a5837d0 Render certificates after the visibility editing form. (#139) 2019-04-09 15:53:36 -04:00
Adam Butterworth
7f6ed5382f refactor: upgrade and use Paragon (#136)
* fix: upgrade paragon and use new components

* test: update snapshot to reflect minor dom changes

* fix: use transition replace from paragon

* refactor: remove unneeded class definition on EditButton

* fix: add missing margin next to pencil icon in edit button
2019-04-09 13:23:57 -04:00
Robert Raposa
7a7c7c5e3f prepare analytics for move to separate repo (take 2)
- Make analytics and segment files configurable from outside.
- Add checks for previously called identify on page/track.
- Add some additional parameters to tracking events.
- Note: fixes some loading/import issues from 'take 1'

ARCH-517
2019-04-09 12:47:12 -04:00
Robert Raposa
e1a55ea8e2 Revert "prepare analytics for move to separate repo"
This reverts commit 846cea82dd.
2019-04-09 10:40:21 -04:00
Robert Raposa
846cea82dd prepare analytics for move to separate repo
- Make analytics and segment files configurable from outside.
- Add checks for previously called identify on page/track.
- Add some additional parameters to tracking events.

ARCH-517
2019-04-09 08:29:06 -04:00
Douglas Hall
b3d43f3f91 Move LoggingService to npm package 2019-04-08 16:04:48 -04:00
albemarle
08d4983c0e fix(i18n): detect_changed_source_translations doesn't need any dependencies 2019-04-05 16:36:01 -04:00
edX Transifex Bot
c8ef101a2a fix(i18n): update translations 2019-04-05 16:13:12 -04:00
Adam Butterworth
599cbfc649 refactor: use raw html form elements (#123)
* refactor: use raw html for form elements

* test: update snapshot to reflect minor changes in html output

* refactor: replace all reactstrap with paragon or html

* test: update snapshot

* fix: add a noop to the button in async button if needed

This is a flaw in the Button component in Paragon. It calls props.onClick even if it doesn't exist.

* refactor: use classnames for toggling class names

* fix: remove unneeded ids. fix some form markup

* fix: update snapshot to reflect removed labels
2019-04-05 13:07:44 -04:00
David Joy
6ab28a8306 Allow languages and countries to be localized. (#125)
And also sort them by their localized values.
2019-04-05 10:42:36 -04:00
Douglas Hall
4277c742c9 Properly log request method and URL. 2019-04-04 15:52:32 -04:00
Douglas Hall
2483472f1c Attempt to log the entire error object on request errors. 2019-04-04 14:15:33 -04:00
albemarle
9c60190203 fix(i18n): add what we have in Arabic to test RTL (#130) 2019-04-04 11:56:39 -04:00
Adam Butterworth
e340fb2a84 fix: make the username bold (#129) 2019-04-04 10:41:31 -04:00
Douglas Hall
f9481dca11 Add request URL to request error logging. 2019-04-04 09:35:11 -04:00
albemarle
7e5199585d fix(i18n): translation jobs should check for a change (#127) 2019-04-03 16:24:48 -04:00
Douglas Hall
3405e0749a Add additional data to error logging. 2019-04-03 13:39:40 -04:00
Douglas Hall
3e44786332 Turn off RTL support for dev environment. 2019-04-03 13:03:36 -04:00
Douglas Hall
4f8e96e710 Add RTL capabilities. 2019-04-03 09:32:26 -04:00
Adam Butterworth
0d20966373 fix: remove unused components (#121) 2019-04-02 15:38:34 -04:00
Adam Butterworth
2210d4f1a4 feat(test): add snapshot tests for profile page component (#120)
* feat(test): add snapshot tests for profile page component
2019-04-02 15:15:15 -04:00
edX Transifex Bot
7b5d9984a8 fix(i18n): update translations 2019-03-31 16:40:17 -04:00
Douglas Hall
3f30a84aa2 Display error page when unexpected errors occur. 2019-03-28 12:56:20 -04:00
Douglas Hall
99f569ea1a Display not found component for non-existent user accounts. 2019-03-27 12:42:43 -04:00
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
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