about summary refs log tree commit diff
path: root/app/javascript
AgeCommit message (Collapse)Author
2017-06-04Fix column buttons overflow in Japanese (#3552)Yamagishi Kazutoshi
2017-06-04Add Japanese translations (pin) (#3551)Yamagishi Kazutoshi
* Add Japanese translations (pin) * "ピン留め" is more general
2017-06-04Fix all icons in the column header being hilighted (#3554)unarist
2017-06-04en.json: change about/more link text to "About this instance" (#3538)Mingye Wang
This change follows #3519, which does the same for the Chinese variants. Or should it be simply "About"?
2017-06-04Allow mounting arbitrary columns (#3207)Eugen Rochko
* Allow mounting arbitrary columns * Refactor column headers, allow pinning/unpinning and moving columns around * Collapse animation * Re-introduce scroll to top * Save column settings properly, do not display pin options in single-column view, do not display collapse icon if there is nothing to collapse * Fix one instance of public timeline being closed closing the stream Fix back buttons inconsistently sending you back to / even if history exists * Getting started displays links to columns that are not mounted
2017-06-04refocus-after-toot (#3537)masarakki
2017-06-03Fix isIntersecting in Chrome (#3525)Nolan Lawson
2017-06-03zh-cn&tw.json: "extended info" -> "about this site" (#3519)Mingye Wang
* zh-cn.json: "additional info" -> "more info" This commit changes the "extended info" (about/more) text to something that translates to "more info", as "additional info" in zh can sound like appending things to the (ugh) navbar, I guess. Or should I just change it to "about this site" (关于本站)? * zh-cn.json: navbar.info -> "about this site" * zh-臺灣.json: navbar.info -> "about this site"
2017-06-03Change toggle state when click label (#3530)Yamagishi Kazutoshi
2017-06-01Resolve custom application stylesheet with Webpack (#3373)Akihiko Odaki (@fn_aki@pawoo.net)
This implementation is a bit smaller and still has the following benefits: * No need of app/javascript/packs/custom.js For custom stylesheet, it typically has only "require('../styles/custom.scss')" and is redundant. * No need to extract vendor stylesheet to another asset Extracting vendor stylesheet could be forgotten by developers who do not use custom stylesheet.
2017-06-01Add ESLint rule (object-curly-spacing) (#3498)Yamagishi Kazutoshi
2017-06-01Focus the submit button on the boost modal (#3494)unarist
Focus the submit button when boost modal is opened.
2017-05-31Update zh-TW.json (#3480)caasi Huang
* Update zh-TW.json * Update `search_results.total`
2017-05-31Remove react-imageloader (#3423)Nolan Lawson
* Remove react-imageloader * add eslint-disable-line * improve image loading experience * remove unneeded import * use PureComponent * Use componentWillMount instead of constructor
2017-05-31Fix load more on account timelines (regression from #3311) (#3475)unarist
This prevents `next` state from being overridden on the loading *new* statuses.
2017-05-31Improve scheduling of requestIdleCallback tasks (#3477)Nolan Lawson
2017-05-31Catalan language updates (#3454)spla
* Add Catalan language * Add Catalan language * Update ca.json * Update ca.json * Update ca.json * Update ca.json * Update ca.json * Update ca.json * Update settings_helper.rb * Update mastodon.js * Update index.js * Update application.rb * Update ca.yml * removed extra spaces at line 225 * Catalan translation update added activerecord.ca.yml * Update activerecord.ca.yml Done * Updated activerecord.ca.yml * Catalan language updated * Catalan language updated * Catalan language updated * Catalan language updated * Catalan language updated
2017-05-31Change PureComponent to ImmutablePureComponent (#3460)Yamagishi Kazutoshi
* Change PureComponent to ImmutablePureComponent Change PureComponent to ImmutablePureComponent in AttachmentList. * rm React.
2017-05-30Add zh-TW.json (#3459)Yamagishi Kazutoshi
2017-05-30Change libraries path to relative (#3433)Yamagishi Kazutoshi
2017-05-30Extract polyfill loading into single module (#3421)Nolan Lawson
2017-05-29Add IntersectionObserverWrapper to cut down on re-renders (#3406)Nolan Lawson
2017-05-29Add preference setting for delete toot modal (#3368)Atsushi Yamamoto
* Set delete_modal preference to true by default * Does not show confirmation modal if delete_modal is false * Add ja translation for preference setting page
2017-05-29Prevent wasted render in load_more.js (#3402)Nolan Lawson
2017-05-29l10n: Fix Japanese translation (#3410)lindwurm
* "メデイア" -> "メディア" Signed-off-by: lindwurm <lindwurm.q@gmail.com>
2017-05-28Use immutable list in UploadButton to avoid wasteful re-render (#3394)Nolan Lawson
2017-05-28Fix video having black border on top due to regression from #2608 (#3392)Eugen Rochko
The combination of object-fit, relative position 50% from top and translating it back upwards 50% is what allows us to crop the video properly, so it needs to be +50%-50%
2017-05-28Ukrainian translation: fix typo (#3393)ster
2017-05-28Fix IntersectionObserver isIntersecting in Edge (#3365)Nolan Lawson
2017-05-28Simplify isIntersecting in status_list.js (#3371)Nolan Lawson
2017-05-28Persian translation fixes and updates (#3380)Masoud Abkenar
* Persian translation fix * Persian translation of new strings
2017-05-27Fix #2922 - Load stylesheet from "custom.css" entrypoint when present (#3332)Eugen Rochko
* Fix #2922 - Load stylesheet from "custom.css" entrypoint when present This is pretty much the same way it worked as before, albeit with having to create app/javascript/packs/custom.js with require('../styles/custom.scss') (or whatever you want really), which will be a blank slate for you to import whatever you want * Remove old assets directory * Extract font-awesome into common.css and always load it
2017-05-27Update Dutch strings for 1.4 (#3363)jeroenpraat
* Update nl strings for 1.4 * Update nl strings for 1.4 * Update nl strings for 1.4 * nl strings (+1) More new OTP strings will be translated another time
2017-05-27i18n update for Occitan language (#3362)Quent-in
* Update simple_form.oc.yml * Added check spam folder * Update oc.json abonats => seguidors * Update oc.yml * Update oc.json Added translations + corrections * Update confirmation_instructions.oc.html.erb * Update confirmation_instructions.oc.text.erb * i18n mailer * Update reset_password_instructions.oc.html.erb
2017-05-27Add missing background center on public profile headers (#3340)Eugen Rochko
2017-05-27Replace onboarding elephant with friendlier graphic, shorter animation (#3337)Eugen Rochko
on status fade-in, fix buttons not having pointer cursor
2017-05-26Updated Polish translation (#3335)m4sk1n
* i18n: updated Polish translation Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net> * i18n: completed Polish translation Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net> * i18n: corrected Polish translation Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net> * i18n: Updated Polish translation Signed-off-by: Marcin Mikołajczak <me@m4sk.in> * Update simple_form.pl.yml * Update simple_form.pl.yml * updated Polish translation Signed-off-by: Marcin Mikołajczak <me@m4sk.in> * Update pl.yml
2017-05-26Introduce react-textarea-autosize instead of using style.height side effects ↵Eugen Rochko
(#3334)
2017-05-26Remove status context construction in the React side (#3331)unarist
because it may causes flicker on the conversation when it contains blocked/muted user's status. We use `/api/v1/statuses/{id}/context` to obtain status ids in the conversation which filters blocked/muted user, but also uses internal cache constructed from `in_reply_to_id` by `normalizeStatus()` in `reducers/timelines.js` on each status loading which doesn't filter. So statuses appears in conversation if those are cached, even those statuses are from blocked/muted user. Then context cache will be updated with the result of the context API and those statuses will be removed. I have left the `normalizeStatus()` function itself which is called many functions in the file as a placeholder for now, but maybe it should be removed completely.
2017-05-26Change anchor to button element (#3321)Yamagishi Kazutoshi
Fix warning for ESLint (jsx-a11y/href-no-hash).
2017-05-26Replace onWheel listener with onScroll (#3324)Nolan Lawson
* Replace onWheel listener with onScroll * Update column.js
2017-05-26Fix "Cannot read property" on missing status (#3322)unarist
I've found this issue when I clicked replies to muted user on the timeline. Properties I've removed in here were added with lazy loading using IntersectionObserver (8e4d1cba), but those statuses are not need to be tracked anyway because it will be rendered as only empty div.
2017-05-26Improve shouldComponentUpdate for status and status_action_bar (#3323)Nolan Lawson
2017-05-26implement shouldComponentUpdate for relative_timestamp (#3320)Nolan Lawson
2017-05-25Fix style regression of buttons not inheriting document font by default (#3310)Eugen Rochko
2017-05-25Fix "contains" CSS for Chromium <57 (#3317)Nolan Lawson
Fixes #3277. I've tested in QupZilla on Mac and can confirm it fixes the issue, and that Chrome 58 is not affected (because it has Grid).
2017-05-25Attach ReactPerf to window for easier debugging (#3318)Nolan Lawson
2017-05-25Add `flex: 0 0 auto` to some components to avoid bugs on iOS9 (#3313)unarist
2017-05-25Fix Firefox issue with performance marks (#3315)Nolan Lawson
2017-05-25More use of next link header on account (media) timelines (#3311)unarist
This will reduce requests on who have only few statuses. - Use next link header to detect more items from first request - Omit next link header if result items are fewer than requested count (It had omit it only if result was empty before)