Commit Graph

202 Commits

Author SHA1 Message Date
Douglas Hall
85d8e31201 Reduce bundle size by upgrading frontend-component-footer. 2019-05-28 09:33:08 -04:00
edX Transifex Bot
164f83170e fix(i18n): update translations 2019-05-19 16:40:26 -04:00
Chris Pappas
e69bca982a Merge pull request #177 from edx/cpappas/ENT-1888
fix: updating react-footer-component to complie with is-es5
2019-05-16 14:28:10 -04:00
Christopher Pappas
2362dd603a fix: updating react-footer-component to complie with is-es5 2019-05-16 13:55:08 -04:00
Chris Pappas
30cd0e0bd4 Merge pull request #173 from edx/cpappas/ENT-1888
feat: updating footer for new enterprise marketing url logic
2019-05-16 11:59:32 -04:00
Christopher Pappas
3610a167a3 feat: updating enterprise marketing link logic in footer
fix: Removing a diff thing i missed

fix: minor variable tweaks in webpack

fix: minor variable tweaks in webpack
2019-05-16 11:12:36 -04:00
Douglas Hall
0c689d92a2 Upgrade frontend-component-footer 2019-05-15 16:52:56 -04:00
Douglas Hall
605cadef55 Upgrade frontend-logging 2019-05-15 14:59:20 -04:00
Robert Raposa
4e8be3611d fix(i18n): remove i18n source file from repo
Since the Jenkins job builds and pushes this file without committing
it, we'll remove this file from the repo.

ARCH-748
2019-05-14 16:43:35 -04:00
Robert Raposa
02bff769c3 fix(i18n): ARCH-748, update i18n make targets to push to Transifex (#172)
* update extract_translations to also concat
* update push_translations to push to Transifex
* remove call to i18n.extract as part of push_translations

ARCH-748
2019-05-14 13:21:52 -04:00
Adam Butterworth
511c8addab feat: update frontend-auth which eliminates unneeded error logging (#171) 2019-05-08 14:24:33 -06:00
albemarle
89e77ee8c9 fix(i18n): manually update messages file (#170) 2019-05-06 17:10:45 -04:00
albemarle
a86b131242 build: validate i18n (#169) 2019-05-06 10:47:47 -04:00
Adam Butterworth
0f72a5d5b0 fix: upgrade frontend auth (#168)
* fix: delay closing a form on success so a user can read the message

* fix: update test

* fix: upgrade frontend-auth to stop logging login redirects as errors
2019-05-02 15:23:39 -04:00
Adam Butterworth
63880ae05a fix: delay closing a form on success so a user can read the message (#167)
* fix: delay closing a form on success so a user can read the message

* fix: update test
2019-05-02 14:07:53 -04:00
Robert Raposa
64c12679b7 update frontend-auth for real
I thought this was pulled in in the last commit, but I made a mistake.

ARCH-687
2019-04-26 16:26:06 -04:00
Robert Raposa
359330645f update frontend-logging and frontend-auth
- The logging service is now configured and used via an interface,
rather then from the concrete implementation.
- The logging service is passed to frontend-auth.

ARCH-687
2019-04-26 16:04:02 -04:00
Robert Raposa
5064e5f050 add sourcemaps for dependencies
ARCH-587
2019-04-24 17:02:33 -04:00
Douglas Hall
638d7345a5 ARCH-642 Add Order History header menu link. 2019-04-24 14:26:57 -04:00
David Joy
3f411f3795 Miscellaneous updates to the boilerplate code. (#161)
Based on changes/things I noticed when putting together the frontend-app-account repository.
2019-04-23 15:52:32 -04:00
Adam Butterworth
9eeb61cef8 fix: loading of certificate images (#159)
Remove extra loader from webpack for svgs. Was svgr, url, and file. url and file together was creating problems.
2019-04-23 10:02:25 -07:00
Robert Raposa
4c663fe513 upload source maps to newrelic
ARCH-587
2019-04-23 10:43:37 -04:00
Adam Butterworth
3b01e4b8f7 fix: remove use of URL which is unsupported in IE 11 (#158) 2019-04-17 11:53:15 -04:00
David Joy
1156d8e3a4 URL != Url (#157)
Pass the correct properties, sir.
2019-04-16 12:22:11 -04:00
David Joy
d009d5ce6c Organize application according to semantic modules. (#153) 2019-04-16 11:46:20 -04:00
Adam Butterworth
14023dbf32 refactor: upgrade edx-bootstrap to published version 2.0.0 (#156) 2019-04-12 17:32:08 -04:00
Adam Butterworth
ca66f20233 fix: make intl.formatMessage more resilient (#155)
* fix: shim injectIntl hoc to prevent errors with undefined
* refactor: add i18n-loader exports to i18n/index
* fix: add NewRelic logging
2019-04-12 17:28:51 -04:00
Adam Butterworth
8ff7c822f3 fix: get profile photo changes from calls back into redux store (#154)
* fix: get profile photo changes from calls back into redux store
* test: update profile actions test
2019-04-12 14:39:47 -04:00
Adam Butterworth
ae3737ef7c feat: upgrade frontend-logging to show errors and logs in dev console (#150)
* feat: upgrade frontend-logging to show errors and logs in development console

* fix: version bump for frontend-logging
2019-04-12 14:39:13 -04:00
Douglas Hall
ff9ddb54ed Upgrade frontend-auth and conform to new signature of ensurePublicOrAuthenticationAndCookies. 2019-04-11 11:38:48 -04:00
Robert Raposa
343e4cb062 use new frontend-analytics library
ARCH-517
2019-04-11 10:00:08 -04:00
Adam Butterworth
77ec435059 fix: locale loading user setting (#152)
* fix: fix locale loading from cookie

* fix: move parsing of two letter code to function
2019-04-10 16:44:13 -04:00
Adam Butterworth
7daf859622 fix: get two letter language code from cookie (#151) 2019-04-10 16:25:21 -04:00
Adam Butterworth
5e323338f4 feat: lookup language preference in cookie (#148)
* feat: lookup language preference in cookie

* fix: skip unsupported languages in user settings lookups
2019-04-10 16:09:51 -04:00
David Joy
348cd7a637 Redirect to error page on fetch user account failure (#147) 2019-04-10 14:18:42 -04:00
David Joy
1fcd236aa6 Compare the right usernames. (#146)
We can’t use isAuthenticatedUserProfileSelector before we’ve actually loaded the profile - the username will be null.  Instead, we want to compare the username of the profile we’re supposed to load with the username in the authentication part of the store.
2019-04-10 13:16:10 -04:00
David Joy
a51f08b065 Reuse userAccount data for profile if possible. (#142)
* Removing rename of “levelOfEducation” to “education”

It caused the user account and profile data to diverge, and we want to use the same data for both at the moment.

* Reuse userAccount data for profile if possible.

Don’t make a separate request to fetch the user profile if we’ve already gotten it for the current user.
2019-04-10 12:06:50 -04:00
Adam Butterworth
f150842f6d fix: handle focus control better for opening and closing forms. (#144) 2019-04-10 12:04:16 -04:00
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