Commit Graph

205 Commits

Author SHA1 Message Date
edX Transifex Bot
b5607e9b83 fix(i18n): update translations 2019-12-03 13:55:04 -05:00
David Joy
645f378600 fix: updating frontend-platform required small refactorings (#328) 2019-12-02 17:28:32 -05:00
edX Transifex Bot
04d51ffee1 fix(i18n): update translations 2019-12-01 15:40:22 -05:00
Adam Butterworth
db4b082247 feat: use frontend-platform for runways (#318)
Move logging, analytics, auth, base, and i18n to implementations in frontend-platform.
2019-11-25 09:29:14 -05:00
David Joy
f266bba04c fix: initialize redux in prod mode by default (#303)
We were accidentally initializing in dev mode in production.

Also cleaning up some other misc detritus.
2019-10-22 15:11:35 -04:00
David Joy
e4f1a6100a feat: add a favicon to the distribution (#297) 2019-10-11 13:25:15 -04:00
David Joy
b66cbb3eb6 fix: frontend-base 4.0.0 and a few others (#288)
* fix: bump version of frontend-base to 4.0.0

* fix: bumping a few other versions

* fix: bump footer version and lock travis npm version

* fix: use dist not src for header/footer styless
2019-10-02 15:54:25 -04:00
Adam Butterworth
cd2fdae725 feat: use openedx footer by default (#282)
* feat: use openedx footer by default

* fix: delete footer directory and update package-lock
2019-09-30 16:53:31 -04:00
David Joy
3317d2b148 fix: bump frontend-base to 2.2.0 to initialize segment (#272)
frontend-base 2.1.x had a bug where segment wasn’t being initialized.  Now it is.

Also allowing frontend-base to use its default logging service, which is NewRelicLoggingService.
2019-09-25 13:40:33 -04:00
Adam Butterworth
be67c13914 feat: delegate build scripts to edx/frontend-build (#257) 2019-09-25 11:54:49 -04:00
David Joy
4802da816b feat: publish profile module as an npm module (#263)
* feat: publish profile module as an npm module

* fix: add semantic-release for publishing
2019-09-24 13:03:22 -04:00
David Joy
8f37cc1a8d Organize the repo and export profile module properly (#262)
* Moving files to their new homes.

Subsequent commit will wire everything up again.

* Relink files and split stylesheet.

Requires adding resolve-url-loader to fix sass import relativity.

* Remove browserslist warning.

* Remove the need for ProfileMain

* Fix test issues - needed thunk.
2019-09-23 13:50:56 -04:00
David Joy
9b126281f1 fix: updating profile to use latest frontend-base (#259) 2019-09-23 11:56:05 -04:00
edX Transifex Bot
cce6f64d58 fix(i18n): update translations 2019-09-22 16:40:17 -04:00
Adam Butterworth
cd2bee4686 feat: add open edx header (#254)
* feat: add open edx header

ARCH-1151: Add the open edx header. edX pipelines should be configured to override it with the edx header in the deployment pipeline

* fix: upgrade frontend-base for merge messages update

* Update package.json

* Update package.json

* Update package-lock.json
2019-09-18 14:36:54 -04:00
David Joy
5ac0558a92 Use frontend-base! (#220)
* Adding frontend-builder and frontend-core stubs

* gatsby stub added

* Remove gatsby stuff.

* Reorganization of top level app.

Some naming TBD.

* Review feedback.

* Various config improvements

- Adding APP_ERROR handler for top level errors.
- Splitting footer config out of main app config.
- Simplifying config variables and deriving some from others in the files that need them.

* Use App.error()

* Improving exports/imports from frontend-core

* Moving header and footer out of src.

Getting rid of “common”

* Setting authentication directlty from App.authentication in AppProvider.

* Switching over to using frontend-base.

Updating a bunch of dependencies to their latest versions in the process.

* Bumping versions of frontend-base and frontend-auth

* Getting tests working again.

* Addressing review feedback and bumping to a newer version of frontend-base.

* Removing unneeded eslint disable lines.

* Updating usage of frontend-logging to remove deprecated method names.

* Bumping node-sass version to 4.12.0 - hopefully fixes node 12 build

* css-loader now requires cssnano for minification

* fix: couldn’t set preferred language visibility.
2019-09-16 16:49:16 -04:00
Adam Butterworth
6dd2a0c78e fix: add empty options to dropdowns (#246)
ARCH-1165: Add an empty option so that users can delete values they set for education, spoken language, and country of origin
2019-09-11 12:54:17 -04:00
edX Transifex Bot
2dd5dd1f16 fix(i18n): update translations 2019-08-13 14:18:58 -04:00
Robert Raposa
f8b570b8d3 temporary addition of debugging info for auth state
Looking into an issue where the auth state might not match.  This is
a temporary change that should ultimately be reverted once the issue
is fully involved.

This includes an upgrade to @edx/frontend-logging which does not need
to be reverted.

ARCH-982
2019-07-27 13:07:25 -04:00
edX Transifex Bot
7cffcd3e76 fix(i18n): update translations 2019-07-21 16:39:19 -04:00
Douglas Hall
30ce220eb3 Send event when discover new header link clicked 2019-06-26 13:00:23 -04:00
edX Transifex Bot
894ea2c553 fix(i18n): update translations 2019-06-16 16:39:50 -04:00
Douglas Hall
beef64246a Update header links. 2019-06-12 14:22:08 -04:00
Douglas Hall
f0fd8865c8 Fix identityAuthenticatedUser call. 2019-06-12 10:39:25 -04:00
edX Transifex Bot
041ae51413 fix(i18n): update translations 2019-06-09 16:45:01 -04:00
David Joy
a4dc1bcdf8 Update frontend-i18n version and use scripts. (#203) 2019-06-07 11:13:58 -04:00
Douglas Hall
32027572ca Render ErrorPage component via app-level error boundary. 2019-06-06 14:10:24 -04:00
Douglas Hall
8d968e14ad Handle Google Translate DOM manipulation error scenario. 2019-06-05 15:43:08 -04:00
Douglas Hall
899857e40e Move monkey patch of Node manipulation higher in the call stack. 2019-06-05 12:01:23 -04:00
Douglas Hall
5389446996 Fix JS error possibly caused by browser plugins. 2019-06-04 14:52:32 -04:00
Adam Butterworth
14dbceb9b1 feat: use postcss to handle rtl (#194)
* feat: use postcss to handle rtl

* fix: move autoprefixer into webpack config file

* fix: update i18n package
2019-06-03 13:19:07 -06:00
edX Transifex Bot
6a018e12a7 fix(i18n): update translations 2019-06-02 16:45:02 -04:00
Douglas Hall
0e27cb95ce Remove render block on fetchUserAccount. 2019-05-31 16:43:32 -04:00
Douglas Hall
439b5a74ff Remove @edx/frontend-i18n alias. 2019-05-31 12:11:52 -04:00
Douglas Hall
73ac32ac9f Move to frontend-i18n library. 2019-05-31 09:21:27 -04:00
Douglas Hall
19124bed69 Remove country and language list sorting. 2019-05-30 10:45:06 -04:00
Adam Butterworth
c955fdfd12 fix: remove use of margin auto for layout where it breaks in ie11 (#182) 2019-05-29 09:51:42 -06:00
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
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
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
albemarle
89e77ee8c9 fix(i18n): manually update messages file (#170) 2019-05-06 17:10:45 -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
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
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
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