Skip to content
Snippets Groups Projects
  1. May 25, 2017
  2. May 24, 2017
    • Sorin Davidoi's avatar
      Lazy load toots using IntersectionObserver (#3191) · 8e4d1cba
      Sorin Davidoi authored
      * 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
      8e4d1cba
  3. May 23, 2017
  4. May 22, 2017
  5. May 20, 2017
    • Yamagishi Kazutoshi's avatar
      Improve eslint rules (#3147) · 2e112e24
      Yamagishi Kazutoshi authored
      * 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
      2e112e24
  6. May 19, 2017
  7. May 18, 2017
  8. May 14, 2017
  9. May 12, 2017
  10. May 11, 2017
  11. May 09, 2017
  12. May 07, 2017
  13. May 06, 2017
    • Koala Yeung's avatar
      Eslintrc fix (#2850) · 6f71cfef
      Koala Yeung authored
      * eslintrc: adapt changes in eslint-plugin-jsx-a11y
      
      * Replace 'jsx-a11y/img-has-alt' with 'jsx-a11y/alt-text'.
        Reference: evcohen/eslint-plugin-jsx-a11y@24b6193
      
      * Replace 'jsx-a11y/onclick-has-focus' with 'jsx-a11y/interactive-supports-focus'
        Reference: evcohen/eslint-plugin-jsx-a11y@cbdfeb8
      
      * Replace 'jsx-a11y/onclick-has-role' with 'jsx-a11y/no-noninteractive-element-interactions'
        Reference: evcohen/eslint-plugin-jsx-a11y@18c9b71
      
      * Update eslint-plugin-jsx-a11y to 5.0.0
      
      Follow the change in Code Climate. Make sure the same eslintrc
      can be executed locally and in Code Climate.
      
      * Convert .eslintrc.json to equivlant .eslintrc.yml
      
      * Less quotes and commas, more readability, allow comment.
      6f71cfef
    • Eshin Kunishima's avatar
      Replace ws with uws (#2807) · 67b7d3d3
      Eshin Kunishima authored
      * Replace ws with uws
      
      * fix indent
      
      * Adjust indentation
      
      * remove trailing space
      67b7d3d3
    • Nolan Lawson's avatar
      553e1314
    • Yamagishi Kazutoshi's avatar
    • Nolan Lawson's avatar
    • Koala Yeung's avatar
      Streamline javascript translation by improving translationRunner (#2808) · cf0b7532
      Koala Yeung authored
      * package.json: Add "build:*" targets
      
      * Improve react-intl-translations-manager workflow.
        * Added "build:production" to build production bundle.
        * Added "build:development" to build development bundle.
      
      * Fix json translation files
      
      * Run `yarn manage:translations` to fix translation files.
      * Fix `pl.json` for syntax error.
      
      * translationRunner: auto detect existing languages
      
      * Auto detect existing rfc5646 language tag in *.json filenames
        in `app/javascript/mastodon/locale` folder. No need to manually
        define every new language in the languages array here.
      
      * translationRunner: add more functionality
      
      * Allow script user to specify language code to check.
      * Added available language check.
      * Added --force flag to force creation of unexists language.
      * Added --help flag and help messages.
      
      * gitignore: ignore npm-debug.log
      
      * Fix webpack error if NODE_ENV is not defined
      
      Default to use 'development' in config/webpack/configuration.js
      cf0b7532
  14. May 04, 2017
  15. May 03, 2017
    • Eugen Rochko's avatar
      Replace sprockets/browserify with Webpack (#2617) · f5bf5ebb
      Eugen Rochko authored
      * 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
      f5bf5ebb
  16. Apr 25, 2017
  17. Apr 22, 2017
  18. Apr 21, 2017
    • Yamagishi Kazutoshi's avatar
      Remove deprecated features at React v15.5 (#1905) · 1948f9e7
      Yamagishi Kazutoshi authored
      * Remove deprecated features at React v15.5
      
      - [x] React.PropTypes
      - [x] react-addons-pure-render-mixin
      - [x] react-addons-test-utils
      
      * Uncommented out & Add browserify_rails options
      
      * re-add react-addons-shallow
      
      * Fix syntax error from resolve conflicts
      
      * follow up 59a77923
      1948f9e7
    • Mingye Wang's avatar
      Use new ESLint filename (.json) (#2248) · b00f4a0c
      Mingye Wang authored
      * Use new ESLint filename (.json)
      
      Codeclimate's ESLint 3 is complaining about the old filename. Let me try changing it.
      
      * point eslint to new rc
      
      (squash this)
      b00f4a0c
  19. Apr 20, 2017
  20. Apr 16, 2017
  21. Apr 15, 2017
    • Zac Anger's avatar
      Add eslint-plugin-jsx-a11y (#1651) · f4045ba3
      Zac Anger authored
      * Add eslint-plugin-jsx-a11y.
      
      * Fix npm script.
      
      * Adjust npm scripts so test also runs lint.
      
      * Fix existing lint errors.
      
      * Don't break on a11y issues.
      
      * Add role and tabIndex.
      
      * Add vim and Mac files to .gitignore and .dockerignore.
      
      * Handle htmlFor (partially), a that's actually a button.
      
      * Fix missing tabIndex.
      
      * Add cursor:pointer to load-more
      
      * Revert change to load_more.
      
      * Fixes based on review.
      
      * Update yarn.lock.
      
      * Don't try to install fsevents on Linux (hides warning noise).
      f4045ba3
  22. Apr 11, 2017
Loading