Lynx Kotoura
5703923989
Fix duplication of tag in columns_area.js ( #4131 )
...
Deleted ">" just a typo.
7 years ago
Sorin Davidoi
f19f18f47e
fix(components/media_modal): Aspect ratio ( #4128 )
...
* fix(components/media_modal): Aspect ratio
* fix: Remove useless style
7 years ago
Sorin Davidoi
420c4d8dc8
Swipeable views ( #4105 )
...
* feat: Replace react-swipeable with react-swipeable-views
* fix: iOS 9
7 years ago
unarist
05833fc24a
Avoid async import if the component is previously loaded ( #4127 )
7 years ago
unarist
f66270fb73
Fix initial loading of pinned Notifications column ( #4126 )
7 years ago
Sorin Davidoi
4264c62111
refactor: Make all reducers sync ( #4125 )
7 years ago
Sorin Davidoi
c202889d8d
fix: Rerender Bundle on route change ( #4120 )
7 years ago
unarist
f1827d5070
Fix first loading of notifications when the column is pinned ( #4114 )
7 years ago
Yamagishi Kazutoshi
a45154d725
Don't use preview when image size is unknown ( #4113 )
7 years ago
Nolan Lawson
01ee91b725
Avoid using getBoundingClientRect to calculate height ( #4001 )
7 years ago
Sorin Davidoi
40b32ffb12
Lazy load components ( #3879 )
...
* feat: Lazy-load routes
* feat: Lazy-load modals
* feat: Lazy-load columns
* refactor: Simplify Bundle API
* feat: Optimize bundles
* feat: Prevent flashing the waiting state
* feat: Preload commonly used bundles
* feat: Lazy load Compose reducers
* feat: Lazy load Notifications reducer
* refactor: Move all dynamic imports into one file
* fix: Minor bugs
* fix: Manually hydrate the lazy-loaded reducers
* refactor: Move all dynamic imports to async-components
* fix: Loading modal style
* refactor: Avoid converting the raw state for each lazy hydration
* refactor: Remove unused component
* refactor: Maintain modal name
* fix: Add as=script to preload link
* chore: Fix lint error
* fix(components/bundle): Check if timestamp is set when computing elapsed
* fix: Load compose reducers for the onboarding modal
7 years ago
Damien Erambert
387de88e2f
Add a setting allowing the use of system's default font in Web UI ( #4033 )
...
* add a system_font_ui setting on the server
* Plug the system_font_ui on the front-end
* add EN/FR locales for the new setting
* put Roboto after all other fonts
* remove trailing whitespace so CodeClimate is happy
* fix user_spec.rb
* correctly write user_spect this time
* slightly better way of adding the classes
* add comments to the system-font stack for clarification
* use .system-font for the class instead
* don't use multiple lines for comments
* remove trailing whitespace
* use the classnames module for consistency
* use `mastodon-font-sans-serif` instead of Roboto directly
7 years ago
unarist
1e71b683bc
Unobserve status on unmount ( #4013 )
...
This fixes a warning on status unmounting (e.g. deletion).
This also resets IntersectionObserverWrapper on disconnect to avoid `unobserve()` calls
which has bug in Edge.
7 years ago
unarist
90865f242a
Show LoadMore button on Notifications even if all items are filtered ( #4077 )
7 years ago
Sorin Davidoi
214090aa4d
fix(components/columns_area): Increase delta for swipe detection ( #4037 )
7 years ago
Eugen Rochko
0d316bcfd2
Turn report screen into a modal ( #3965 )
7 years ago
Yamagishi Kazutoshi
8a9408b7c3
Maintain aspect ratio for preview image ( #3966 )
7 years ago
Sorin Davidoi
2b1ab274fe
fix(features/compose): Handle external changes to the textarea ( #3632 )
7 years ago
Sorin Davidoi
8180d8bc35
feat(components/onboarding_modal): Swipe between pages ( #3934 )
7 years ago
Yamagishi Kazutoshi
6779ba5f18
Fix #3924 (regression from #3906 ) ( #3925 )
7 years ago
unarist
45058b5fde
Use debounce for dispatch scrollTopNotification and expandNotifications ( #3700 )
7 years ago
Yamagishi Kazutoshi
e2027fbe42
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
7 years ago
Eugen Rochko
88458a1638
Merge branch 'swipe-gestures' of git://github.com/sorin-davidoi/mastodon into sorin-davidoi-swipe-gestures
7 years ago
Yamagishi Kazutoshi
539dbaa049
Remove unused variables ( #3906 )
7 years ago
Yamagishi Kazutoshi
bc21ffd237
Add prefix to setting toggle ID ( #3907 )
7 years ago
Sorin Davidoi
501a3cf944
feat: Swipeable media
7 years ago
Sorin Davidoi
598bb06687
feat: Swipeable columns
7 years ago
Eugen Rochko
65b46159ec
Revert #3851 ( #3878 )
8 years ago
Sorin Davidoi
9bc32eb267
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
47dceaded6
Replace TextIconButton for SensitiveButton to IconButton ( #3759 )
...
* Replace TextIconButton for SensitiveButton to IconButton
* line-height
8 years ago
Gô Shoemake
2d31077bdf
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
36049c0096
Unobserve status on unmount ( #3851 )
8 years ago
alpaca-tc
fa14f245f8
Fixes streaming callbacks of HashtagTimeline ( #3849 )
8 years ago
Eugen Rochko
4845069692
Debounce autosuggestions ( #3836 )
...
* Debounce autosuggestions
* Remove duplicate import
8 years ago
Nolan Lawson
f973d620ca
handle resize in a debounce() ( #3834 )
8 years ago
Yamagishi Kazutoshi
dd7fb41dbb
Add alt attribute to ImageLoader ( #3765 )
8 years ago
Eugen Rochko
9ba171309b
Simplify getting started links localization. Link "powered by Mastodon" to joinmastodon.org ( #3725 )
8 years ago
Eugen Rochko
2deea77f2e
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
5f19b8e900
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
1348d63517
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
eb34081815
Remove comments for eslint-disable ( #3691 )
8 years ago
Eugen Rochko
185bcf6fe1
Use preview image in <ImageLoader /> to provide immediate visual feedback ( #3595 )
...
before the full-size image is loaded
8 years ago
ふぁぼ原
f6fddd95d4
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
d063663125
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
379120da91
Add missing key attribute to .search-results__hashtag ( #3607 )
8 years ago
Yamagishi Kazutoshi
615c580665
Add quotes ESLint rules ( #3602 )
...
* Add quotes ESLint rule
* Add jsx-quotes ESlint rule
* Sort ESLint rules
8 years ago
Yamagishi Kazutoshi
253c0ad358
Disable ESLint rule jsx/anchor-has-content ( #3601 )
8 years ago
Naoki Kosaka
779aab71d6
Fix LoadMore in Notifications. ( #3590 )
8 years ago
Naoki Kosaka
b68f13ae37
Fix (PR #3585 ) Add hasMore to propTypes and cover handleScroll. ( #3589 )
8 years ago
unarist
80c8cd6cad
Add back button to hashtag timeline again ( #3587 )
8 years ago