Ondřej Hruška
811d895f7b
Merged upstream PR #4526
7 years ago
MitarashiDango
5ee45fa571
fix columns_area.js ( #4528 )
7 years ago
Akihiko Odaki
9d1f8b9d6a
Scroll columns area to right when children property is changed ( #4517 )
...
The feature to pin column could hide the rightmost column, which is
specified with children property of ColumnsArea.
The user is likely to see the column when the property changed, so scroll
the area in such cases.
7 years ago
kibigo!
8b58153583
Fixed onClick column links
7 years ago
Sorin Davidoi
e44f03bc71
Improve accessibility (part 7) ( #4457 )
...
* fix(media_modal): Keyboard navigation
* fix(column_back_button): Use native button
* fix(media_gallery): Keyboard navigation
* fix(status_content): Make CW content focusable
7 years ago
Sorin Davidoi
4f04981dde
feat(tabs_bar): Avoid optimization for non-touch devices ( #4444 )
...
* fix(tabs_bar): Check if transition is necessary
* feat(tabs_bar): Only apply optimization for touch devices
7 years ago
みたらしだんご
a46ba4a8f5
fix tabs_bar.js ( #4436 )
7 years ago
Sorin Davidoi
634b71ed1d
Accessability fixes ( #4432 )
...
* fix(modal_root): Read type from props, not from component
* fix(status_list): Do not user event.path
7 years ago
Sorin Davidoi
3d378ed0b4
fix(tabs_bar): Allow animation to end before navigating ( #4429 )
...
* fix(tabs_bar): Allow animation to end before navigating
* fix(tabs_bar): Do not use event.path
7 years ago
Sorin Davidoi
b7d47c2aef
Improve accessibility (part 4) ( #4408 )
...
* 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
7 years ago
Sorin Davidoi
6884dd79ba
Improve accessibility (part 3) ( #4405 )
...
* fix(compose): Add aria-label for the navigation links
* fix(search): Add input label
* fix(navigation_bar): Link description
* fix(autosuggest_textarea): Add input label
* fix(compose_form): Add input label
* fix(upload_button): Add input label
* fix(account/header): Add link content
* fix(column_header): Use h1 tag
* fix(column_header): Labels move buttons moving column
* fix(settings_text): Add label to input
* fix(column_header): Remove role from h1
* fix(modal_root): Use role=dialog
* fix(modal_root): Focus restauration
* fix(modal_root): Apply inert to sibligs
* fix(column_header): Add role=button
* chore(eslint): Disable jsx-a11y/label-has-for
7 years ago
Sorin Davidoi
f9075577e4
fix(actions_modal): Warning about missing prop ( #4406 )
7 years ago
Sorin Davidoi
50d38d7605
fix(dropdown_menu): Open as modal on mobile ( #4295 )
...
* fix(dropdown_menu): Open as modal on mobile
* fix(dropdown_menu): Open modal on touch
* fix(dropdown_menu): Show status
* fix(dropdown_menu): Max dimensions and reduce padding
* chore(dropdown_menu): Test new functionality
* refactor: Use DropdownMenuContainer instead of DropdownMenu
* feat(privacy_dropdown): Open as modal on touch devices
* feat(modal_root): Do not load actions-modal async
7 years ago
Sorin Davidoi
a248be4fce
fix(columns_area): Manually set tabs style when swiping ( #4320 )
7 years ago
Sorin Davidoi
b8adb4d7fa
fix(column): Crash when heading is undefined ( #4378 )
7 years ago
Sorin Davidoi
6a6a62f13f
Improve accessibility (part 2) ( #4377 )
...
* fix(column_header): Invalid ARIA role
* fix(column): Remove hidden nodes from the DOM
* refactor(column_link): Remove unused property hideOnMobile
* fix(column_header): Use aria-pressed
* fix(column_header): Make collapsed content not focusable, add focusable property
* fix(column_loading): Make header non-focusable
* fix(column_settings): Use role to group the toggles
7 years ago
Sorin Davidoi
2f8bfb3d38
Improve accessibility ( #4369 )
...
* fix(compose): Use nav and remove redundant aria-label
* fix(tabs_tab): Use nav and add aria-label
* fix(app): Add aria-label for settings toggle button
* chore: Run yarn manage:translations
7 years ago
Sorin Davidoi
23e854cb91
fix(components/bundle): Exit early in load function ( #4349 )
7 years ago
Sorin Davidoi
3757546f1b
fix(columns_area): Show correct title for preview columns ( #4310 )
7 years ago
Yamagishi Kazutoshi
3267e4a785
Add unfollow modal (optional) ( #4246 )
...
* Add unfollow modal
* unfollowing someone
* remove unnecessary prop
7 years ago
unarist
695439775e
Fix column swiping ( #4211 )
...
This fixes broken behavior and enable animation only on swiping.
7 years ago
Eugen Rochko
3fbf1bf35a
Fix #3773 - Pin favourites column ( #4201 )
7 years ago
Sorin Davidoi
a9067167bb
Improve swiping ( #4188 )
...
* feat(components/columns_area): Toggle animation settings
* fix(components/media_modal): Center non-visible views
* fix(components/media_modal): Check for null
* refactor(columns_area): Better logic
7 years ago
Sorin Davidoi
a9a0c854e1
fix(components/media_modal): Style issues ( #4187 )
7 years ago
unarist
5abb3d8150
Rerender modal on property changes ( #4175 )
...
Render function for BundleContainer must not be methods.
React doesn't know dependency of the method, so they won't rerender on property updates.
In this case, when you close modal and open another modal immediately,
old modal will be open instead of new one.
7 years ago
kibigo!
297921fce5
Moved glitch files to their own location ;)
7 years ago
Naoki Kosaka
b21ab498f8
Fix media modal prev button behavior. ( #4158 )
7 years ago
Sorin Davidoi
cc68d1945b
refactor: Rewrite immutablejs import statements using destructuring ( #4147 )
7 years ago
Lynx Kotoura
1c6cbdd4e4
Fix duplication of tag in columns_area.js ( #4131 )
...
Deleted ">" just a typo.
7 years ago
Sorin Davidoi
4122a837fa
fix(components/media_modal): Aspect ratio ( #4128 )
...
* fix(components/media_modal): Aspect ratio
* fix: Remove useless style
7 years ago
Sorin Davidoi
fc4c74660b
Swipeable views ( #4105 )
...
* feat: Replace react-swipeable with react-swipeable-views
* fix: iOS 9
7 years ago
unarist
caf938562e
Avoid async import if the component is previously loaded ( #4127 )
7 years ago
Yamagishi Kazutoshi
76318f8830
Don't use preview when image size is unknown ( #4113 )
7 years ago
Ondřej Hruška
dc2b8bdecd
Added a toggle for full-width media previews
7 years ago
Nolan Lawson
63b77f2320
Avoid using getBoundingClientRect to calculate height ( #4001 )
7 years ago
Sorin Davidoi
348d6f5e75
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
Surinna Curtis
ff9f2088f7
Move layout override into app settings modal
...
Squashed commit of the following:
commit 3842f879865818a3299f8283f8ed1b43c5566500
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 19:57:39 2017 -0500
Fix some style issues
commit 08628a0234392ecac90e869a1272f429de0b6db2
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 19:35:22 2017 -0500
Improved styling and layout of select app settings
commit 1787a7c20f2bf7101c6d6830450564178314a737
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 17:13:53 2017 -0500
remove the layout selector ui from the drawer
commit 7d93b180b1e615e2c36210ad6f119fe80a2778d8
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 17:01:51 2017 -0500
Add layout setting to app settings modal
8 years ago
Sorin Davidoi
60da49f856
fix(components/columns_area): Increase delta for swipe detection ( #4037 )
8 years ago
kibigo!
ec2daae71c
Media display improvements
...
- built in fullwidth styling
- letterbox settings toggle
- media no longer counts towards height when making toot-collapsing
measurements
8 years ago
kibigo!
595c6de32c
Added App Setttings Modal
8 years ago
Eugen Rochko
12e7c81dd8
Turn report screen into a modal ( #3965 )
8 years ago
Yamagishi Kazutoshi
8f2c91568c
Maintain aspect ratio for preview image ( #3966 )
8 years ago
kibigo!
8ea779e59a
Patching rebase errors
8 years ago
Shel Raphen
7eda83a36a
Glitchsocification
8 years ago
Sorin Davidoi
d23293c762
feat(components/onboarding_modal): Swipe between pages ( #3934 )
8 years ago
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
Sorin Davidoi
bc6e958229
feat: Swipeable media
8 years ago
Sorin Davidoi
a6d8d1036a
feat: Swipeable columns
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