Ondřej Hruška
dc2b8bdecd
Added a toggle for full-width media previews
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
7 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
7 years ago
kibigo!
595c6de32c
Added App Setttings Modal
7 years ago
beatrix-bitrot
ddafde942c
Merge remote-tracking branch 'upstream/master'
7 years ago
Eugen Rochko
12e7c81dd8
Turn report screen into a modal ( #3965 )
7 years ago
Yamagishi Kazutoshi
8f2c91568c
Maintain aspect ratio for preview image ( #3966 )
7 years ago
kibigo!
8ea779e59a
Patching rebase errors
8 years ago
Shel Raphen
7eda83a36a
Glitchsocification
8 years ago
kibigo!
da05cde721
Better settings handling with localSettings (new!)
8 years ago
kibigo!
ddba5d3b8c
Use Redux store to keep track of layout
8 years ago
Sorin Davidoi
d23293c762
feat(components/onboarding_modal): Swipe between pages ( #3934 )
8 years ago
Surinna Curtis
ceb545c080
Pass in correct "singleColumn" prop value when auto-columns is not used.
8 years ago
Surinna Curtis
a70468aa56
Support overriding media queries for deciding between single-column/multi-column layouts with a class
8 years ago
Yamagishi Kazutoshi
c1a8e3d1eb
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
8 years ago
Eugen Rochko
281f07244b
Merge branch 'swipe-gestures' of git://github.com/sorin-davidoi/mastodon into sorin-davidoi-swipe-gestures
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
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
alpaca-tc
cf6fe4f8cb
Unobserve status on unmount ( #3851 )
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
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
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
Eugen Rochko
b623dd12c1
Use preview image in <ImageLoader /> to provide immediate visual feedback ( #3595 )
...
before the full-size image is loaded
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
7a7bfa5170
Add quotes ESLint rules ( #3602 )
...
* Add quotes ESLint rule
* Add jsx-quotes ESlint rule
* Sort ESLint rules
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
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
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
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
Sorin Davidoi
1548695c83
Avoid useless renders ( #3141 )
...
* feat(eslint): Set react/jsx-no-bind: error
* refactor(notifications/setting_toggle): Do not use bind
* refactor(components/dropdown_menu): Do not use bind
* refactor(components/autosuggest_textarea): Do not use bind
* refactor(compose/privacy_dropdown): Do not use bind
* refactor(compose/upload_form): Do not use bind
* refactor(components/status): Do not use bind
* refactor(components/onboarding_modal): Do not use bind
* refactor: PR feedback
* chore(notifications/setting_toggle): Lint
* refactor: PR feedback
8 years ago
Yamagishi Kazutoshi
dc559d6b7a
Downgrade eslint-plugin-jsx-a11y to v4.0.0 ( #3131 )
...
In Code Climate, eslint-plugin-jsx-a11y v4.0.0 is used.
Therefore, it seems that a warning is displayed.
ref https://github.com/codeclimate/codeclimate-eslint/pull/273
8 years ago
Yamagishi Kazutoshi
b8b7b506a2
Replace inline styles with stylesheet ( #3115 )
8 years ago
Sorin Davidoi
07e875972a
refactor: Import from react-router/lib ( #3117 )
8 years ago
geta6
bbaac89eb0
Enable to handle app immediately after closing modal ( #3082 )
8 years ago
Yamagishi Kazutoshi
2991a7cfe6
Use ES Class Fields & Static Properties ( #3008 )
...
Use ES Class Fields & Static Properties (currently stage 2) for improve class outlook.
Added babel-plugin-transform-class-properties as a Babel plugin.
8 years ago
Nolan Lawson
553e13144f
remove legacy decorators, use lodash.debounce ( #2830 )
8 years ago
R Tucker
61c33652ad
ui: check spoiler_text against regex filter ( #1635 ) ( #2665 )
...
* ui: check spoiler_text against regex filter (#1635 )
When filtering by regex, also check the spoiler_text if
present.
* ui: concatenate spoiler and content in reducer
Simplifies aa5b03c, clarifies intent of the field
8 years ago