about summary refs log tree commit diff
path: root/spec/javascript/components
AgeCommit message (Collapse)Author
2017-07-11refactor: Rewrite immutablejs import statements using destructuring (#4147)Sorin Davidoi
2017-07-03Faster emojify() by avoiding str.replace() entirely (#4049)Nolan Lawson
2017-06-30Faster emojify() algorithm, avoid regex replace (#4019)Nolan Lawson
* Faster emojify() algorithm, avoid regex replace * add semicolon
2017-06-23Remove unused variables (#3906)Yamagishi Kazutoshi
2017-06-06Add quotes ESLint rules (#3602)Yamagishi Kazutoshi
* Add quotes ESLint rule * Add jsx-quotes ESlint rule * Sort ESLint rules
2017-06-01Improve tests for JavaScript (#3496)Yamagishi Kazutoshi
- Upgrade dependencies - chai (3.5.0 -> 4.0.1) - chai-enzyme (0.6.1 -> 0.7.1) - sinon (2.2.0 -> 2.3.2) - Change extensions from .jsx to .js - Don't assign `React` to `global` - Check code format using ESLint
2017-05-20Performance improvements (#3168)Sorin Davidoi
* refactor(components/status_list): Avoid quering scrollTop if not necessary * refactor(components/dropdown_menu): Do not render items if not expanded * refactor: Cherry-pick react-motion imports * refactor(compose/privacy_dropdown): Do not render options if not open * refactor(components/column_collapsable): Do not render children if collapsed
2017-05-19Replace inline styles with stylesheet (#3115)Yamagishi Kazutoshi
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
2017-04-12Add unit tests for https://github.com/tootsuite/mastodon/pull/1574 (#1584)Henry Smith
2017-04-11When avatar/header are GIF, generate static versions (#1428)Eugen
* When avatar/header are GIF, generate static versions. Account API returns "avatar"/"avatar_static", "header"/"header_static" Static version is the same as original for other cases Web UI de-animates avatars in toots, lists of users Fix #441, fix #596, prerequisite for #1064 * Fix JS test * Add rake task to generate static avatars/headers from GIF ones, add test
2016-11-16Remove broken testEugen Rochko
2016-10-20add/update specs for Button, DisplayName, DropdownMenuKai Schaper
2016-10-18Adding application/jrd+json webfinger resourceEugen Rochko
2016-10-12actually use constKai Schaper
2016-10-12add chai-enzyme; add/improve Avatar component specsKai Schaper
2016-10-10use ES6 arrow functionsKai Schaper
2016-10-10add sinon; add basic Button component testKai Schaper
2016-10-10add jsdom; add basic Avatar component testKai Schaper
2016-10-10set up Mocha/Chai/Enzyme for React component unit testingKai Schaper