Skip to content
Snippets Groups Projects
  1. May 03, 2018
  2. Apr 16, 2018
    • ThibG's avatar
      Fix scrolling behavior (#7151) · 7e0aed39
      ThibG authored
      * Update React.JS
      
      * Use React's new lifecycles for scrollable lists
      
      * Clean up dead code
      
      * Make CodeClimate happy
      7e0aed39
  3. Mar 24, 2018
  4. Mar 05, 2018
    • Akihiko Odaki's avatar
      Replace onScrollToBottom with onLoadMore (#6615) · b0664a5e
      Akihiko Odaki authored
      onScrollToBottom was a function to run instead of onScrollToTop and
      onScroll when scrolling to the bottom. The behavior to prevent
      onScrollToTop was inconvenient because the viewport can be at the bottom
      and at the top at the same time if the viewport is larger than the
      container.
      
      onScrollToBottom was also called when the button to load more is clicked
      on contray to the name suggests, which led notifications and
      status_list_container components to mark the scrolled location is not at
      the top mistakenly.
      
      onLoadMore is a replacement for onScrollToBottom. It will be called
      independently from onScrollToTop and onScroll.
      b0664a5e
  5. Oct 31, 2017
  6. Oct 05, 2017
    • Eugen Rochko's avatar
      Implement hotkeys for web UI (#5164) · 7db0f8dc
      Eugen Rochko authored
      * Fix #2102 - Implement hotkeys
      
      Hotkeys on status list:
      
      - r to reply
      - m to mention author
      - f to favourite
      - b to boost
      - enter to open status
      - p to open author's profile
      - up or k to move up in the list
      - down or j to move down in the list
      - 1-9 to focus a status in one of the columns
      - n to focus the compose textarea
      - alt+n to start a brand new toot
      - backspace to navigate back
      
      * Add navigational hotkeys
      
      The key g followed by:
      
      - s: start
      - h: home
      - n: notifications
      - l: local timeline
      - t: federated timeline
      - f: favourites
      - u: own profile
      - p: pinned toots
      - b: blocked users
      - m: muted users
      
      * Add hotkey for focusing search, make escape un-focus compose/search
      
      * Fix focusing notifications column, fix hotkeys in compose textarea
      7db0f8dc
  7. Oct 02, 2017
  8. Sep 15, 2017
    • unarist's avatar
      Fix invisible load more button (#4962) · 6c81f9d6
      unarist authored
      * Fix behavior while the button is invisible
      e.g. pointer cursor, couldn't open contextmenu
      * Avoid rendering the button to remove blank space if no more items are available or no items are rendered
      6c81f9d6
  9. Sep 13, 2017
  10. Sep 09, 2017
  11. Sep 06, 2017
  12. Aug 28, 2017
  13. Aug 02, 2017
  14. Jul 28, 2017
    • Sorin Davidoi's avatar
      Accessability fixes (#4432) · 634b71ed
      Sorin Davidoi authored
      * fix(modal_root): Read type from props, not from component
      
      * fix(status_list): Do not user event.path
      634b71ed
    • Sorin Davidoi's avatar
      Improve accessibility (part 5) (#4417) · 534da4f2
      Sorin Davidoi authored
      * fix(status): Add tabIndex=0
      
      * fix(status_list): Make keyboard navigable
      534da4f2
    • Sorin Davidoi's avatar
      Improve accessibility (part 4) (#4408) · b7d47c2a
      Sorin Davidoi authored
      * fix(dropdown_menu): Keyboard navigation
      
      * fix(icon_button): Add aria-pressed attribute
      
      * fix(privacy_dropdown): Make accessible
      
      * fix(emoji_picker_dropdown): Make accessible
      
      * fix(icon_button): Support tabIndex
      
      * fix(actions_modal): Remove icon from tab order
      
      * fix(dropdown_menu): Add role=group
      
      * fix(setting_toggle): Toggle via space key
      
      * fix(dropdown_menu): Remove redundant handling of Space key
      
      * fix(emoji_picker_dropdown): Remove redundant Space key handling
      
      * fix(privacy_dropdown): Remove redundant Space key handling
      
      * fix(status): Switch to article and add aria-posinset, aria-setsize
      
      * fix(status_list): Use role=feed and pass more ARIA props to Status
      
      * chore(eslint): jsx-a11y/role-supports-aria-props
      b7d47c2a
  15. Jul 26, 2017
  16. Jul 25, 2017
  17. Jul 19, 2017
  18. Jul 14, 2017
    • Sorin Davidoi's avatar
      Small style fixes (#4206) · 72bd73f6
      Sorin Davidoi authored
      * fix(components/media_modal): Center horizontally in Firefox
      
      * fix(components/status_list): Do not remove load more button
      72bd73f6
  19. Jun 23, 2017
  20. Jun 18, 2017
  21. Jun 12, 2017
  22. Jun 05, 2017
  23. May 29, 2017
  24. May 28, 2017
  25. 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
  26. May 23, 2017
  27. 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
    • Sorin Davidoi's avatar
      Performance improvements (#3168) · 2c405aed
      Sorin Davidoi authored
      * 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
      2c405aed
  28. May 12, 2017
  29. 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
  30. Apr 24, 2017
  31. Apr 23, 2017
    • Stephen Burgess's avatar
      Replace inline styles with CSS classes (BEM) (#2338) · cca41ea5
      Stephen Burgess authored
      * fix(classnames): Status icon style classnames
      
      Take out inline css and put into classnames for the following components: account, avatar, icon button, status action bar, notification.
      
      * fix(status): Move styles from inline to classes for statuses
      
      Move styles to classnames in components.scss for the following components:
      
      display name
      media gallery
      status
      status content
      video player
      
      * fix(classnames): Add classnames to rest of components
      
      Take out inline styles and apply them to classnames in the sass for the following components:
      
      button
      column back button
      slim column back button
      collapsable column
      dropdown menu
      loading indicator
      status list
      
      * fix(classnames): Remove all non-dynamic inline styles
      
      Components affected:
      
      autosuggested
      permalink
      action bar
      header
      character counter
      compose form
      emoji dropdown
      privacy dropdown
      reply indicator
      upload form
      account auth
      followers
      getting started
      column settings
      mutes
      settings
      reblogs
      status checkbox
      report
      action bar
      status
      card
      boost modal
      media modal
      video modal
      
      * fix(permalink): Do not lose classname
      
      * fix(tests): Add space back in display name
      
      * fix(status__wrapper): Remove duplicate css name
      
      Remove incorrect style attribute. Remove style attribute all together. Cursor defaults to "auto" when not specified as 'default'.
      
      * fix(nl): do not lose translations
      cca41ea5
  32. 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
Loading