[zanata/zanata-platform] 7d372c: chore: split frontend URL config to multiple URLs ...
GitHub
noreply at github.com
Fri Jun 9 02:36:33 UTC 2017
Branch: refs/heads/master
Home: https://github.com/zanata/zanata-platform
Commit: 7d372c88ef49ca12463da3046392297700f8c227
https://github.com/zanata/zanata-platform/commit/7d372c88ef49ca12463da3046392297700f8c227
Author: David Mason <drdmason at gmail.com>
Date: 2017-06-09 (Fri, 09 Jun 2017)
Changed paths:
M server/gwt-editor/src/main/webapp/webtrans/Application.xhtml
M server/zanata-frontend/src/frontend/app/actions/common-actions.js
M server/zanata-frontend/src/frontend/app/actions/explore-actions.js
M server/zanata-frontend/src/frontend/app/actions/glossary-actions.js
M server/zanata-frontend/src/frontend/app/actions/languages-actions.js
M server/zanata-frontend/src/frontend/app/actions/profile-actions.js
M server/zanata-frontend/src/frontend/app/components/Nav/index.jsx
A server/zanata-frontend/src/frontend/app/config.js
M server/zanata-frontend/src/frontend/app/containers/App.js
M server/zanata-frontend/src/frontend/app/containers/Explore/GroupTeaser.jsx
M server/zanata-frontend/src/frontend/app/containers/Explore/LanguageTeamTeaser.jsx
M server/zanata-frontend/src/frontend/app/containers/Explore/ProjectTeaser.jsx
M server/zanata-frontend/src/frontend/app/containers/Root.js
M server/zanata-frontend/src/frontend/app/containers/UserProfile/index.jsx
M server/zanata-frontend/src/frontend/app/history.js
M server/zanata-frontend/src/frontend/app/index.js
M server/zanata-frontend/src/frontend/app/legacy.js
M server/zanata-frontend/src/frontend/app/utils/UrlHelper.js
M server/zanata-frontend/src/frontend/index.html
M server/zanata-war/src/main/webapp/WEB-INF/template/template.xhtml
M server/zanata-war/src/main/webapp/a/index.xhtml
Log Message:
-----------
chore: split frontend URL config to multiple URLs (#359)
* chore(frontend watch): change from global config to config component
This replaces access to window.config with an config component that
can be mocked. This will allow much easier changes to how we pass
config into the app.
This also splits the base URL config into 3 separate URLs to allow
finer control, such as allowing search and navigation in the watch
mode (`make watch`) by passing in the relevant URLs.
* chore(frontend watch): use updated config fields in legacy pages
* chore(frontend watch): use updated config fields in gwt template
* chore(frontend watch): read admin status from correct part of config
More information about the zanata-commits
mailing list