Yamagishi Kazutoshi
c1a8e3d1eb
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
8 years ago
Yamagishi Kazutoshi
eff9416469
Remove unused variables ( #3906 )
8 years ago
Yamagishi Kazutoshi
6fbb3841a6
Add prefix to setting toggle ID ( #3907 )
8 years ago
Sorin Davidoi
bc6e958229
feat: Swipeable media
8 years ago
Sorin Davidoi
a6d8d1036a
feat: Swipeable columns
8 years ago
Eugen Rochko
946a166791
Revert #3851 ( #3878 )
8 years ago
Sorin Davidoi
8f03fdce7f
Upgrade React Router ( #3677 )
...
* chore(yarn): Remove react-router
* chore(yarn): Remove react-router-scroll
* chore(yarn): Remove history
* chore(yarn): Add react-router-dom
* chore: Remove usages of react-router-scroll
* refactor: Upgrade to react-router-web
* refactor: Use fork of react-router-scroll
This reverts commit 2ddea9a6c8d39fc64b7d0b587f3fbda7a45a7fa2.
* fix: Issues mentions in the PR feedback
8 years ago
Yamagishi Kazutoshi
eb832e88f4
Replace TextIconButton for SensitiveButton to IconButton ( #3759 )
...
* Replace TextIconButton for SensitiveButton to IconButton
* line-height
8 years ago
Gô Shoemake
29a22691d2
Fix character/grapheme count stuff ( #3839 )
...
* Bring Toot button in line with counter
Both should use stringz I guess
* Use grapheme_length for character count
8 years ago
alpaca-tc
cf6fe4f8cb
Unobserve status on unmount ( #3851 )
8 years ago
alpaca-tc
8d2b3ada80
Fixes streaming callbacks of HashtagTimeline ( #3849 )
8 years ago
Eugen Rochko
aebebdc5d1
Debounce autosuggestions ( #3836 )
...
* Debounce autosuggestions
* Remove duplicate import
8 years ago
Nolan Lawson
1d9f9352a6
handle resize in a debounce() ( #3834 )
8 years ago
Yamagishi Kazutoshi
df4f4e94b3
Add alt attribute to ImageLoader ( #3765 )
8 years ago
Eugen Rochko
47ace633dc
Simplify getting started links localization. Link "powered by Mastodon" to joinmastodon.org ( #3725 )
8 years ago
Eugen Rochko
37dbfa4cd7
Unread indicator was invisible behind column header, adjusted ( #3720 )
...
* Unread indicator was invisible behind column header, adjusted
* Unread indicator now a CSS pseudo-element
* Adjust flex
8 years ago
Yamagishi Kazutoshi
72133fbed6
Re-add clear notifications button ( #3708 )
...
* Re-add clear notifications button
* remove connect() in column_settings
* one line
* remove unused props
8 years ago
Eugen Rochko
47bf7a8047
Fix #3665 - Refactor timelines reducer ( #3686 )
...
* Move ancestors/descendants out of timelines reducer
* Refactor timelines reducer
All types of timelines now have a flat structure and use the same
reducer functions and actions
* Reintroduce some missing behaviours
* Fix wrong import in reports
* Fix includes typo
* Fix issue related to "next" pagination in timelines and notifications
* Fix bug with timeline's initial state, expandNotifications
8 years ago
Yamagishi Kazutoshi
3690f04e4a
Remove comments for eslint-disable ( #3691 )
8 years ago
Eugen Rochko
b623dd12c1
Use preview image in <ImageLoader /> to provide immediate visual feedback ( #3595 )
...
before the full-size image is loaded
8 years ago
ふぁぼ原
7623766241
Add regex filters on the community timeline and the public timeline. ( #3564 )
...
* Add regex filter on the community timeline and the public timeline
* correcting
* Adjust the height of header buttons
* Remove trailing spaces
* Remove trailing spaces
* Solve some code duplication
* reset the state of the locale files in app/javascript/mastodon/locales
* adjust to upstream
* adjust to upstream
* change keys of locale settings
8 years ago
Yamagishi Kazutoshi
d8ae3efec3
Improve ESLint rules for JSX ( #3608 )
...
* Add react/no-string-refs ESLint rule
* Add react/jsx-boolean-value ESLint rule
* Add react/jsx-closing-bracket-location ESLint rule
* Add react/jsx-indent ESLint rule
* Add react/jsx-curly-spacing ESLint rule
* Add react/jsx-equals-spacing ESLint rule
* Add react/jsx-first-prop-new-line ESLint rule
* Add react/jsx-no-duplicate-props ESLint rule
* Add react/jsx-tag-spacing ESLint rule
8 years ago
Yamagishi Kazutoshi
cd81a1c52a
Add missing key attribute to .search-results__hashtag ( #3607 )
8 years ago
Yamagishi Kazutoshi
7a7bfa5170
Add quotes ESLint rules ( #3602 )
...
* Add quotes ESLint rule
* Add jsx-quotes ESlint rule
* Sort ESLint rules
8 years ago
Yamagishi Kazutoshi
e969c78645
Disable ESLint rule jsx/anchor-has-content ( #3601 )
8 years ago
Naoki Kosaka
e859d6f259
Fix LoadMore in Notifications. ( #3590 )
8 years ago
Naoki Kosaka
a0880edc6e
Fix (PR #3585 ) Add hasMore to propTypes and cover handleScroll. ( #3589 )
8 years ago
unarist
61fcdbbf7e
Add back button to hashtag timeline again ( #3587 )
8 years ago
unarist
c26cea262b
Prevent pinned columns from scroll to top on URL changing ( #3586 )
8 years ago
Naoki Kosaka
1f1d6bf2a0
Fix LoadMore in following and followers. ( #3585 )
8 years ago
Yamagishi Kazutoshi
66ca7157db
Add support key shortcut to Onboarding Modal ( #3517 )
...
* Add support key shortcut to Onboarding Modal
* this.state.pages -> this.pages
8 years ago
Eugen Rochko
8ee2eb5d2e
Allow mounting arbitrary columns ( #3207 )
...
* 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
8 years ago
masarakki
20b647020b
refocus-after-toot ( #3537 )
8 years ago
Yamagishi Kazutoshi
3ea3f24a02
Change toggle state when click label ( #3530 )
8 years ago
Yamagishi Kazutoshi
fda5c699c2
Add ESLint rule (object-curly-spacing) ( #3498 )
8 years ago
unarist
dbccdcc1b1
Focus the submit button on the boost modal ( #3494 )
...
Focus the submit button when boost modal is opened.
8 years ago
Nolan Lawson
c00ead8a72
Remove react-imageloader ( #3423 )
...
* Remove react-imageloader
* add eslint-disable-line
* improve image loading experience
* remove unneeded import
* use PureComponent
* Use componentWillMount instead of constructor
8 years ago
Nolan Lawson
0e12a8dab9
Improve scheduling of requestIdleCallback tasks ( #3477 )
8 years ago
Nolan Lawson
34a93ccf57
Add IntersectionObserverWrapper to cut down on re-renders ( #3406 )
8 years ago
Atsushi Yamamoto
402c19a924
Add preference setting for delete toot modal ( #3368 )
...
* 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
8 years ago
Nolan Lawson
5e41c26203
Use immutable list in UploadButton to avoid wasteful re-render ( #3394 )
8 years ago
Eugen Rochko
c48772fd3f
Introduce react-textarea-autosize instead of using style.height side effects ( #3334 )
8 years ago
Yamagishi Kazutoshi
4b11675bdc
Change anchor to button element ( #3321 )
...
Fix warning for ESLint (jsx-a11y/href-no-hash).
8 years ago
Nolan Lawson
2531c5953b
Replace onWheel listener with onScroll ( #3324 )
...
* Replace onWheel listener with onScroll
* Update column.js
8 years ago
unarist
807c192fcf
Fix load more feature on the Account media gallery ( #3293 )
...
* Add load more button for large screens
* Fix `next` state value on the first loading
* Don't load if `isLoading || !hasMore`
* Start load on near the bottom
8 years ago
Nolan Lawson
135bdd149e
Name the Webpack chunks ( #3291 )
8 years ago
Yamagishi Kazutoshi
1ec7c87001
Remove unnecessary constructors ( #3280 )
8 years ago
Yamagishi Kazutoshi
860ffc0560
Focus the submit button ( #3253 )
...
Focus the submit button when confirmation modal is opened.
Also, changed cancellation link to button.
This makes the meaning clearer.
8 years ago
Yamagishi Kazutoshi
2e112e2406
Improve eslint rules ( #3147 )
...
* 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
8 years ago
Sorin Davidoi
2c405aed55
Performance improvements ( #3168 )
...
* 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
8 years ago