Timmy Huang
9a40b28172
thuang-fix-static-asset-font ( #1791 )
...
This seems to fix the font URL path, at least locally for both `:3000` and `:5005`
<img width="1296" alt="Screen Shot 2020-08-24 at 4 01 07 PM" src="https://user-images.githubusercontent.com/6309723/91106044-8a338780-e626-11ea-885f-e5c268f3ecf0.png ">
<img width="1377" alt="Screen Shot 2020-08-24 at 4 01 28 PM" src="https://user-images.githubusercontent.com/6309723/91106047-8dc70e80-e626-11ea-95b0-62e47cc6303f.png ">
2020-08-24 17:05:46 -07:00
8bbc183647
Explicit Browser Support ( #1682 )
...
* add FastestSmallestTextEncoderDecoder polyfill
* remove nomodule from script import
* add browserslist
* add obsolete-webpack-plugin
* switch out modern-browser for preset-env
* add prompt on non target browser
* propagate prod changes to dev
* add core-js-3 and TextEncoder TextDecoder (#1671 )
* add script to remove react, style html
* propagate changes to prod
* add script-ext-html-webpack-plugin for async
* more styling
* add eslint-plugin-compat
* extend compat plugin
* add existing polyfills
* add github fetch polyfill
* add AbortController polyfill
* change promptOnNonTargetBrowser to false
* propagate
* add browser links
* prettier
* add browser support to readme
* move polyfills to webpack
* remove CDN encoder polyfill
* Add no Explorer support
* fix incorrect package name
* propagate changes
* Update README.md
Co-authored-by: Ambrose J Carr <ambrosejcarr@users.noreply.github.com >
* add new deps
* create shared config
* swap out html-loader for filestream
* sanitize template
Co-authored-by: Timmy Huang <tihuan@users.noreply.github.com >
Co-authored-by: Ambrose J Carr <ambrosejcarr@users.noreply.github.com >
2020-08-03 12:50:09 -07:00
Bruce Martin and Matt Weiden
c1bf491a96
Hooks for sentry integration ( #1460 )
...
* add sentry webpack plugin
* allow override of webpack config
* work around cheerio inability to parse jinga templates
* webpack can not minify jinja templates
* allow script injection to specify other attributes
* allow script injection to specify other attributes
* Adjustments to make plugin systems work
* Add sourcemaps for javascript in prod webpack
* Update .gitignore
* Fix spelling errors
Co-authored-by: Matt Weiden <538456+mweiden@users.noreply.github.com >
2020-05-08 15:59:56 -07:00
Bruce Martin
f42f5151a6
Refactor build and CSP headers for Safari compat ( #1442 )
...
* add unsafe-inline directive to style-src
* debugging - turn on csp reporting
* revert reporting only csp
* do not inline JS and CSS in build
* enable HTTPs only when in production mode
* remove debug printf
* fix clean target
* revert force_https removal
2020-05-04 12:47:35 -07:00
Bruce Martin
55ef1448e8
CSP content hashes ( #1406 )
...
* remove duplicate content-type header
* plumbing to compute CSP content hashes
* add logging of missing CSP hashes
* convert sub-class init protocol to static
* factor function
* lint
2020-04-17 11:42:09 -07:00
Bruce Martin
6193ae4997
Cleanup front-end build and python module contents ( #1350 )
...
* cleanup build and module contents
* lint
* update chalk
* more cleanup
* fix unit test
2020-04-06 19:04:06 -07:00
Bruce Martin
57938b487b
remove static route redirects / bump static to top level ( #1299 )
...
* add another favicon rule
* catch only top-level dataset names
* add config flag to disable redirects
* remove static redirect, point all links to top-level /static
* remove extraneous argument
* remove httpd redirect
2020-03-26 10:45:10 -07:00
Matt Weiden
29947e25c3
Serve Roboto Condensed font from the app directly ( #1077 )
...
* Serve Roboto Condensed font from the app directly
Fixes https://github.com/chanzuckerberg/cellxgene/issues/344
* Remove second google fonts reference
2019-12-31 17:07:16 -08:00
Bruce Martin
78a43402cb
package dep update ( #905 )
2019-08-28 09:11:10 -07:00
Isaac Virshup
0f8d7a55de
Set API path based on access address ( #568 )
...
* Make api paths relative
* Remove request import
* Set publicPath to be relative
2019-02-11 09:01:37 -08:00
Colin Megill
df671192be
Begin integrating blueprint ( #359 )
...
* toast test
* modify webpack build to allow for global CSS; use CSS modules to scope component styling
* remove heatmap
* add label to index resets
* swapping out buttons for blueprint
* adding constants to globals
* swapping out blueprint buttons
* title position, sidebar improvements
* sidebar styles
* adding toasts for validation errors
* zebra section trial
* integrating blueprint, switching buttons over, breaking out scatter
* clean up console
2018-10-22 15:46:37 -04:00
Bruce Martin
6b0aafd27c
package dependency cleanup ( #330 )
...
* update npm packages. babel 7, redux 4, etc
* remove obsolete babel config file
* use correct icons
2018-10-15 17:36:13 -07:00
bkmartinjr
de5a6b1d29
remove polyfills
2018-08-13 17:07:53 -07:00
bkmartinjr
831ef283a0
switch to babel-polyfill
2018-08-13 17:07:53 -07:00
bkmartinjr
34561a3b08
further webpack config cleanup
2018-08-13 17:07:53 -07:00
bkmartinjr
4e80ed6c5d
clean up babel config - remove deprecated options and extraneous package loads
2018-08-13 17:07:53 -07:00
bkmartinjr
2bf8b273d3
continued webpack4 port: update to recent build packages, remove unused packages, production webpack port
2018-08-13 17:07:01 -07:00
bkmartinjr
563b1c34c9
additional webpack4 migration steps: add mode to webpack config; add webpack-cli to package.json
2018-08-13 17:07:01 -07:00
Colin Megill
985cc0de94
update webpack config rules
2018-08-13 17:07:00 -07:00
Charlotte Weaver
dd5fa57259
renaming backend, cellxgene to server, client respectively
2018-06-26 11:41:32 -07:00