about summary refs log tree commit diff
path: root/app/javascript/packs/application.js
AgeCommit message (Collapse)Author
2022-10-03Fix missing await (#19273)Yamagishi Kazutoshi
2022-10-03Disable push notification when not logged in (#19272)Yamagishi Kazutoshi
2020-10-13Change how CDN_HOST is passed down to make assets build reproducible (#14381)ThibG
* Change how CDN_HOST is passed down to make assets build reproducible * Change webpacker/webpack configuration to dynamically load publicPath based on meta header * Fix embedded layout missing the cdn-host meta header
2018-07-14Upgrade webpack to version v4.x (#6655)Yamagishi Kazutoshi
2017-07-18Require any modules after loading polyfill in entry points (#4231)Akihiko Odaki
app/javascript/mastodon/main.js delayed the execution of modules, but other entry points didn't. That leads to failure in executing modules, which requires those polyfills. Strictly enforce the rule to require any modules after loading polyfill in entry points.
2017-06-11Remove comments for eslint-disable (#3691)Yamagishi Kazutoshi
2017-05-30Extract polyfill loading into single module (#3421)Nolan Lawson
2017-05-25Name the Webpack chunks (#3291)Nolan Lawson
2017-05-24Lazy load toots using IntersectionObserver (#3191)Sorin Davidoi
* refactor(components/status_list): Lazy load using IntersectionObserver * refactor(components/status_list): Avoid setState bottleneck * refactor(components/status_list): Update state correctly * fix(components/status): Render if isIntersecting is undefined * refactor(components/status): Recycle timeout * refactor(components/status): Reduce animation duration * refactor(components/status): Use requestIdleCallback * chore: Split polyfill bundles * refactor(components/status_list): Increase rootMargin to 300% * fix(components/status): Check if onRef is not defined * chore: Add note about polyfill bundle splitting * fix(components/status): Reduce animation duration to 0.3 seconds
2017-05-20Improve eslint rules (#3147)Yamagishi Kazutoshi
* Add semi to ESLint rules * Add padded-blocks to ESLint rules * Add comma-dangle to ESLint rules * add config/webpack and storyboard * add streaming/ * yarn test:lint -- --fix
2017-05-17Catch import promise in application.js (#3041)Stephen Burgess
* fix(polyfil): Catch error from promise https://pouchdb.com/2015/05/18/we-have-a-problem-with-promises.html * fix(catch): Error Make import promise catch a noop with commented out console.log for a debugging hint. * fix(eslint): Disable eslint console rule * fix(application): Use console error
2017-05-11Add dynamic polyfills for older browsers (#2985)Nolan Lawson
Fixes #2941
2017-05-09Use RegExp for require.context to filter custom stylesheets (#2950)Akihiko Odaki
ExtractTextWebpackPlugin extracts the content of loaded files, which means it loads files loaded by require.context but not required after that. However the former implementation is not aware of that. require.context can have a RegExp to filter files to load. This change gives a RegExp which matches with SCSSes with 'custom' prefix to require.context to take advantage of the feature.
2017-05-09Remove jquery-ujs (#2939)Yamagishi Kazutoshi
* Remove jquery-ujs * fix for eslint
2017-05-03Replace sprockets/browserify with Webpack (#2617)Eugen Rochko
* Replace browserify with webpack * Add react-intl-translations-manager * Do not minify in development, add offline-plugin for ServiceWorker background cache updates * Adjust tests and dependencies * Fix production deployments * Fix tests * More optimizations * Improve travis cache for npm stuff * Re-run travis * Add back support for custom.scss as before * Remove offline-plugin and babili * Fix issue with Immutable.List().unshift(...values) not working as expected * Make travis load schema instead of running all migrations in sequence * Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in <UI /> * Add react definitions to places that use JSX * Add Procfile.dev for running rails, webpack and streaming API at the same time