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
Ondřej Hruška
d41cec90cf
Added toot visibility icons and removed Boost btn changing icon
7 years ago
Ondřej Hruška
7859e6ad45
Fix back button to never go to a different website using history len check
7 years ago
Surinna Curtis
3464bb30f8
replies to local-only toots default to local-only, and fix some regex bugs
7 years ago
Ondřej Hruška
d87d70e89a
Fixed js type error in advanced_options_dropdown.js
7 years ago
Damien Erambert
18d3fa953b
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
STJrInuyasha
6bf6d35637
Parse links in status content on update as well as mount ( #4042 )
...
* Update links in status content on update as well as mount
Fixes occasional bugs with mentions and hashtags not being set to open in a new column like they should, and instead opening in a new page
* use classList instead of raw className
7 years ago
unarist
9c03fd9cae
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
Quent-in
26949607d2
l10n Occitan locale ( #4089 )
...
* Small adjustments
About the report part.
* Update time format
7 years ago
m4sk1n
6d106d3943
i18n: minor changes in Polish translation ( #4087 )
...
* i18n: minor changes in Polish translation
* Update pl.json
7 years ago
kibigo!
bba75c15f1
Statuses redux!
...
- Better unified reblogs, statuses, and notifications
- Polished up collapsed toots greatly
- Apologies to bea if this makes everything more difficult
7 years ago
unarist
b52a5e6bd6
Show LoadMore button on Notifications even if all items are filtered ( #4077 )
7 years ago
Surinna Curtis
193f354d3e
a real default for advanced options long description
7 years ago
Surinna Curtis
6b67b91eb1
satisfy eslint
7 years ago
Surinna Curtis
6b77424660
some adjustments to open/active for advanced options dropdown
7 years ago
Surinna Curtis
301c185878
highlight … button if any options enabled
7 years ago
Surinna Curtis
f6ce1a9592
toggles for advanced options
7 years ago
Surinna Curtis
0c71c0ccc8
reset advanced options when appropriate
7 years ago
Surinna Curtis
49e82c1e0f
add an eye when submitting a toot with do_not_federate enabled
7 years ago
Surinna Curtis
556cede00f
Local-only option and dropdown all working
7 years ago
Surinna Curtis
dd49c10cdb
Further improvements to dropdown html
7 years ago
Surinna Curtis
85d5249479
The beginnings of an advanced options dropdown
7 years ago
Minori Hiraoka
976c18aa5f
Fix Korean translation ( #4065 )
...
* Added Korean Translation (based on japanese)
* Update korean translation
* Update korean translation: fix syntax error
* Updated korean translation
* Update korean translation
* Update ko.json
Translate non-translated parts
* Update ko.yml
Translated missed parts - and fixed some typos
* Create simple_form.ko.yml
* Update simple_form.ko.yml
Translation error fix - password change form
* Update simple_form.ko.yml
* Update ko.json
Missing translation
7 years ago
Gyuhwan Park
4cddef1cea
i18n: Add korean translation ( #4064 )
...
* Added Korean Translation (based on japanese)
* Update korean translation
* Update korean translation: fix syntax error
* Updated korean translation
* Update korean translation
* Update ko.json
Translate non-translated parts
* Update ko.yml
Translated missed parts - and fixed some typos
* Create simple_form.ko.yml
* Updated korean translation
* i18n: fix test fails
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
Nolan Lawson
e282580101
Faster emojify() by avoiding str.replace() entirely ( #4049 )
7 years ago
Damien Erambert
133b892e0d
Update French locales ( #4034 )
...
* add missing locales for French translation
* accent "Media" in the front-end locales
* images => médias
* Change 'rapport' to 'signalement' in French locales to be more coherent
* fix typo
* remove duplicate EN locale
* translate missing locales
* update missing locale
* fix typo
* unify with "utilisateur⋅ice⋅s"
* address PR comments
7 years ago
Sorin Davidoi
60da49f856
fix(components/columns_area): Increase delta for swipe detection ( #4037 )
7 years ago
kibigo!
c58877862d
createBio function added
7 years ago
Nolan Lawson
a978b88997
Faster emojify() algorithm, avoid regex replace ( #4019 )
...
* Faster emojify() algorithm, avoid regex replace
* add semicolon
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!
b525caf40a
Fixing an aspect of #32 which had previously escaped my attention
7 years ago
kibigo!
651c3d643c
Images behind CWs in detailed statuses too
7 years ago
Yamagishi Kazutoshi
a27879c0cf
Replace state to /web when root path ( #4009 )
7 years ago
kibigo!
cc4cba8afd
Improvements to image icon appearance on SHOW MORE
7 years ago
kibigo!
99889ea57d
Tiny Status improvements
...
- Media toots are no longer auto-collapsed if the media is behind a CW
- Display names no longer appear clickable when a toot is collapsed
- Fixed #36 by adding reduplicating the media icon inside the SHOW
MORE/LESS
7 years ago
kibigo!
19690d3e33
Fixes #32 bug with revealing sensitive media
7 years ago
kibigo!
2d8ebdcc72
Initial store for local settings is now Immutable all the way down
7 years ago
kibigo!
595c6de32c
Added App Setttings Modal
7 years ago
kibigo!
36805a39db
Moved reblog wrapper outside of <Status>
7 years ago
beatrix-bitrot
ddafde942c
Merge remote-tracking branch 'upstream/master'
7 years ago
m4sk1n
6ad72728f6
i18n: Turn report screen into a modal (pl) ( #3974 )
7 years ago
Sorin Davidoi
64d9c016bd
fix(components/status): Up & down jump due to content being added to the DOM ( #3972 )
7 years ago
Eugen Rochko
12e7c81dd8
Turn report screen into a modal ( #3965 )
7 years ago
kibigo!
e6300de142
Profile metadata improvements
7 years ago
Sorin Davidoi
be92babd00
Responsive images in media gallery ( #3963 )
...
* feat(components/media_gallery): Responsive images
* fix(components/media_gallery): Link to image URL
7 years ago
Yamagishi Kazutoshi
8f2c91568c
Maintain aspect ratio for preview image ( #3966 )
7 years ago
kibigo!
59503a88ae
Disable account linking on collapsed toots too
7 years ago
kibigo!
5df7bc3a8b
Disable links on collapsed toots
7 years ago
kibigo!
c806fef865
Notifications collapsed by default
7 years ago
Surinna Curtis
7b53d4bbca
Bio length on client side mostly doesn't count metadata
7 years ago
Alda Marteau-Hardi
f53ed108b0
Translate pin/unpin and fix some inconsistencies in gender neutral strings ( #3952 )
7 years ago
kibigo!
a520b118e4
Expand toot by clicking on body [fixed!]
7 years ago
kibigo!
38a1299975
Stick images inside of CWs
7 years ago
kibigo!
e60f27d649
Clicking on a collapsed toot just uncollapses it.
7 years ago
kibigo!
6a50e73089
Auto-uncollapse when expanding CW
7 years ago
kibigo!
d6e3918d92
Disables CW [Show More/Less] links in collapsed toots
7 years ago
kibigo!
4bc237fcfe
Adds media icons to toots
7 years ago
kibigo!
efacfec3ed
Media previews for collapsed toots
7 years ago
kibigo!
8ea779e59a
Patching rebase errors
7 years ago
Sorin Davidoi
4ce1540094
fix(features/compose): Handle external changes to the textarea ( #3632 )
7 years ago
Shel Raphen
7eda83a36a
Glitchsocification
7 years ago
PFM
099a3b4eac
Fix "undefined" in className ( #3939 )
7 years ago
kibigo!
ca0d30c04b
OKAY THIS WORKS THIS WORKS
7 years ago
kibigo!
da05cde721
Better settings handling with localSettings (new!)
7 years ago
kibigo!
ddba5d3b8c
Use Redux store to keep track of layout
7 years ago
unarist
21c2bc119c
Clean column collapsible ( #3931 )
...
* Remove unused column_collapsable.js
* Remove old styles
* Extract `> div` style to independent class
7 years ago
Sorin Davidoi
d23293c762
feat(components/onboarding_modal): Swipe between pages ( #3934 )
7 years ago
Surinna Curtis
ceb545c080
Pass in correct "singleColumn" prop value when auto-columns is not used.
7 years ago
Surinna Curtis
a70468aa56
Support overriding media queries for deciding between single-column/multi-column layouts with a class
7 years ago
Yamagishi Kazutoshi
79dacea962
Fix #3924 (regression from #3906 ) ( #3925 )
7 years ago
beatrix-bitrot
8b23bf7cbd
clean up old avatar class
7 years ago
Matthew Walsh
f1a60d4b81
Unified avatar styling
...
Avatars now have consistent styling across all pages; border radius can be adjusted with a SASS variable ($ui-avatar-border-size)
7 years ago
kibigo!
414dfb3955
ESLint improvements for Profile Metadata
7 years ago
Gô Shoemake
67adbcc60c
Reblog support for collapsed toots
7 years ago
unarist
4e6b5e7879
Use debounce for dispatch scrollTopNotification and expandNotifications ( #3700 )
7 years ago
beatrix-bitrot
453b9c6e7e
missing punctuation
7 years ago
kibigo!
4fe45dda9a
Updates height upon collapsing
7 years ago
kibigo!
4bd7482a7a
Minor collapsing button improvements~
7 years ago
kibigo!
93c52301ad
Collapsable toots [1/??] ☕ ️
7 years ago
kibigo!
0d3ec19e89
✨ Profile Metadata HACK 😈
7 years ago
Charlotte Fields
b27842dc70
cybre cleanup
7 years ago
Chronister
65528fc54e
All cybrespace changes through 5/28
7 years ago
Daniel Hunsaker
c0979381a4
Fix a typo and give CW'd statuses the right cursor ( #3918 )
7 years ago
Yamagishi Kazutoshi
c1a8e3d1eb
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
7 years ago
Eugen Rochko
281f07244b
Merge branch 'swipe-gestures' of git://github.com/sorin-davidoi/mastodon into sorin-davidoi-swipe-gestures
7 years ago
Yamagishi Kazutoshi
eff9416469
Remove unused variables ( #3906 )
7 years ago
Yamagishi Kazutoshi
6fbb3841a6
Add prefix to setting toggle ID ( #3907 )
7 years ago
Sorin Davidoi
bc6e958229
feat: Swipeable media
7 years ago
Sorin Davidoi
a6d8d1036a
feat: Swipeable columns
7 years ago
unarist
cc382c5006
Don't attach IntersectionObserver for wrapped statuses ( #3883 )
...
(This patch has been merged as bugfix and reverted, but still valuable as
improvement)
Previously, we've attached IntersectionObserver twice for boosted statuses:
wrapper Status and wrapped Status. but wrapped Status don't need to manage
intersection and visibility by itself, because it's a part of wrapper Status.
7 years ago
Eugen Rochko
946a166791
Revert #3851 ( #3878 )
7 years ago
Eugen Rochko
31cd649041
Revert "Don't attach IntersectionObserver for wrapped statuses" ( #3877 )
...
* Revert "Bump version to 1.4.4"
This reverts commit 1585b0c6cc
.
* Revert "Fix conversations (fixes #3869 ) (#3870 )"
This reverts commit 15b43f555d
.
* Revert "Fix streaming server. Redis connection subscribe for each channel. (#3828 )"
This reverts commit d8ec832806
.
* Revert "Filter direct statuses in Status.as_home_timeline (#3842 )"
This reverts commit bab5a18232
.
* Revert "Fix RemoteFollow behavior (#3868 )"
This reverts commit a20cf3b64e
.
* Revert "Update fabricator for MediaAttachment to attach a file according to type (#3862 )"
This reverts commit 356df7ae6b
.
* Revert "Upgrade React Router (#3677 )"
This reverts commit 8f03fdce7f
.
* Revert "Do not call setState from unmounted component (#3853 )"
This reverts commit 1fc6cb4997
.
* Revert "Replace TextIconButton for SensitiveButton to IconButton (#3759 )"
This reverts commit eb832e88f4
.
* Revert "Fix RTL detection on Ruby side (#3867 )"
This reverts commit b16b69350e
.
* Revert "i18n: Fixed typo in Polish translation (#3864 )"
This reverts commit da6fa029f6
.
* Revert "Don't attach IntersectionObserver for wrapped statuses (#3863 )"
This reverts commit 94ad0706f5
.
7 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
7 years ago
alpaca-tc
1fc6cb4997
Do not call setState from unmounted component ( #3853 )
...
Stop an executing task if the component already unmounted.
7 years ago
Yamagishi Kazutoshi
eb832e88f4
Replace TextIconButton for SensitiveButton to IconButton ( #3759 )
...
* Replace TextIconButton for SensitiveButton to IconButton
* line-height
7 years ago
unarist
94ad0706f5
Don't attach IntersectionObserver for wrapped statuses ( #3863 )
...
This fixes a bug that sometimes boosted statuses being hidden on scrolling.
Previously, we've attached IntersectionObserver twice for boosted statuses:
wrapper Status and wrapped Status. This will call intersection handler twice,
so this may results race condition...probably.
7 years ago
unarist
bf8c2c4348
Clicking on the CW text should expand the status ( #3855 )
7 years ago
unarist
aa58cca040
Set cursor:pointer only when necessary ( #3857 )
7 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
7 years ago