Claire
5e4b04de88
Fix handling of recursive toots in WebUI ( #17041 )
2 years ago
Claire
986397b3a2
Improve modal flow and back button handling ( #16499 )
* Refactor shouldUpdateScroll passing
So far, shouldUpdateScroll has been manually passed down from the very top of
the React component hierarchy even though it is a static function common to
all ScrollContainer instances, so replaced that with a custom class extending
ScrollContainer.
* Generalize “press back to close modal” to any modal and to public pages
* Fix boost confirmation modal closing media modal
2 years ago
Claire
07b46cb332
Add dropdown for boost privacy in boost confirmation modal ( #15704 )
* Various dropdown code quality fixes
* Prepare support for privacy selection in boost modal
* Add dropdown for boost privacy in boost confirmation modal
3 years ago
Eugen Rochko
9620ee90be
Fix unnecessary re-rendering of various components when typing in web UI ( #15286 )
3 years ago
Eugen Rochko
1e89e2ed98
Change media modals look in web UI ( #15217 )
- Change overlay background to match color of viewed image
- Add interactive reply/boost/favourite buttons to footer of modal
- Change ugly "View context" link to button among the action bar
3 years ago
Eugen Rochko
d88a79b456
Add pop-out player for audio/video in web UI ( #14870 )
Fix #11160
3 years ago
欧醚
57c905a689
minor change
3 years ago
欧醚
32cb3aa8d9
闭社树树根帐号可配置 对所有嘟文提供树形结构
3 years ago
ThibG
c955f98d36
Fix expanded video player issues ( #13541 )
Fixes #13536
- Expanding a paused video doesn't autoplay anymore
- Default volume level for the expanded video inherited from the original video
Position/playing state/volume are carried over from the original video player
to the modal, but they're not reported back to the modal as it would require
deeper changes.
4 years ago
欧醚
29c865dbc8
fix bugs
4 years ago
欧醚
aeb8046cb5
fix bugs;闭社树按时间倒序
4 years ago
欧醚
d00d6415fe
Fix reuse of detailed status components
see 12a9813a0c
4 years ago
ThibG
12a9813a0c
Fix reuse of detailed status components ( #12792 )
Fixes #12770
4 years ago
欧醚
0414dccfe9
闭社树每次只加载两层
4 years ago
Jeong Arm
76adde4fe2
Fix media open hotkey ( #12546 )
4 years ago
ThibG
a690b3e470
Add hotkey for opening media files ( #12498 )
* [WiP] Add hotkey to open media
* Give focus to play/pause button when opening video modal
4 years ago
Eugen Rochko
853a67ed16
Add relationship-based options to status dropdowns ( #12377 )
Move bookmark action in inline statuses from action bar to dropdown
4 years ago
ThibG
dfea7368c9
Add bookmarks ( #7107 )
* Add backend support for bookmarks
Bookmarks behave like favourites, except they aren't shared with other
users and do not have an associated counter.
* Add spec for bookmark endpoints
* Add front-end support for bookmarks
* Introduce OAuth scopes for bookmarks
* Add bookmarks to archive takeout
* Fix migration
* Coding style fixes
* Fix rebase issue
* Update bookmarked_statuses to latest UI changes
* Update bookmark actions to properly reflect status changes in state
* Add bookmarks item to single-column layout
* Make active bookmarks red
4 years ago
欧醚
9b76f5bb43
优化了闭社树的显示
4 years ago
欧醚
6dd757a495
change x and y of text on tree
4 years ago
欧醚
4f2275c1e5
click the node on tree to go to the status
4 years ago
欧醚
0a8bcfade5
fix bug for tree animate. Use statusId as keyPro
4 years ago
欧醚
fb82f7b6ac
now you can click nodes on 闭社树
4 years ago
欧醚
2bb6238dc8
change size of tree graph
4 years ago
欧醚
a8e4c3f5a2
now can draw 闭社树
4 years ago
欧醚
b0aadae668
show tree in className
4 years ago
欧醚
3fd2acbacb
show depth and only show direct sons for 闭社树
4 years ago
ThibG
9027bfff0c
Add explanation to mute dialog, refactor and clean up mute/block UI ( #11992 )
* Add some explanation to the mute modal dialog
* Remove `isSubmitting` from mute modal code, this wasn't used
* Refactor block modal
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
* Refactor SCSS a bit
* Put mute modal toggle to the same side as in the report dialog for consistency
* Reword mute explanation
* Fix mute explanation styling
* Left-align all text in mute confirmation modal
4 years ago
ThibG
6914482d0a
Change detailed status child ordering to sort self-replies on top ( #11686 )
Fixes #11679
4 years ago
Eugen Rochko
2dee293c4c
Fix scroll to top in single column UI ( #11463 )
4 years ago
Eugen Rochko
706a48ee1f
Fix column header scrolling with the page ( #11458 )
Regression from aa22b38
4 years ago
ThibG
99924f282f
Memoize ancestorIds and descendantIds in detailed status view ( #11234 )
4 years ago
ThibG
3333250ede
Fix React warning about legacy lifecycle calls and sensitive status resetting ( #10872 )
5 years ago
Eugen Rochko
988342a56c
Fix null error in status component when determining showMedia state ( #10838 )
* Fix null error in status component when determining showMedia state
Also update the showMedia value if the status passed to the
component changes
* Refactor media visibility computation into a defaultMediaVisibility function
* Fix default media visibility with reblogs
5 years ago
ThibG
a472190729
Add a keyboard shortcut to hide/show media ( #10647 )
* Move control of media visibility to parent component
* Add keyboard shortcut to toggle media visibility
5 years ago
ThibG
5121d9c12f
When selecting a toot via keyboard, ensure it is scrolled into view ( #10593 )
5 years ago
ashleyhull-versent
2b68fe5442
tinyfix 2: unrequired arguments ( #10471 )
* unrequired argument
* unrequired argument
5 years ago
ThibG
6df4a82969
Add a “Block & Report” button to the block confirmation dialog ( #10360 )
5 years ago
Eugen Rochko
1f95190202
Refactor icons in web UI to use Icon component ( #9951 )
* Refactor uses of icons to an Icon component in web UI
* Refactor options passed to the Icon component
* Make tests work with absolute component paths
5 years ago
Eugen Rochko
8b19903559
Improve the public hashtag page ( #9831 )
- Fix height not updating when clicking show more on public hashtag page
- Add header to the public hashtag page
- Change text size and margins on the public hashtag page
5 years ago
trwnh
2cc099c70f
Make detailed-status__wrapper actually wrap detailed status ( #8547 )
* Remove class from scrollable div
.detailed-status__wrapper does not actually wrap the detailed status here
* Re-add class to focusable div
.detailed-status__wrapper now wraps the detailed status instead of the entire scrollable area
5 years ago
ThibG
007f7690fa
Fix fav/boosts hotkeys not working on detailed statuses ( #9006 )
5 years ago
ThibG
42aecb4c13
Add a confirmation dialog when hitting reply and the compose box isn't empty ( #8893 )
* Add a confirmation dialog when hitting reply and the compose box isn't empty
Fixes #878
* Performance improvement
5 years ago
Eugen Rochko
3d7f68c273
Revert Font Awesome 5 upgrade ( #8810 )
* Revert "Fix some icon names changed by the Font Awesome 5. (#8796 )"
This reverts commit 3f9ec3de82
.
* Revert "Migrate to font-awesome 5.0. (#8799 )"
This reverts commit 8bae14591b
.
* Revert "Fix some icons names, unavailable in fontawesome5 (free license). (#8792 )"
This reverts commit b9c727a945
.
* Revert "Update the icon name changed by the Font Awesome 5. (#8776 )"
This reverts commit 17af4d27da
.
* Revert "Add bot icon to bot avatars and migrate to newer version of Font Awesome (#8484 )"
This reverts commit 4b794e134d
.
5 years ago
Naoki Kosaka
8bae14591b
Migrate to font-awesome 5.0. ( #8799 )
5 years ago
Yamagishi Kazutoshi
0ddbccf7e6
Upgrade Babel to version 7.0.0 ( #5925 )
5 years ago
Yamagishi Kazutoshi
800325f452
Weblate translations (2018-08-25) ( #8420 )
* Translated using Weblate (Georgian)
Currently translated at 99.8% (674 of 675 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ka/
* Translated using Weblate (Korean)
Currently translated at 100.0% (310 of 310 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ko/
* Translated using Weblate (Korean)
Currently translated at 96.8% (654 of 675 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ko/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (310 of 310 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/
* Translated using Weblate (Danish)
Currently translated at 100.0% (98 of 98 strings)
Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/da/
* Translated using Weblate (Danish)
Currently translated at 100.0% (310 of 310 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/da/
* Translated using Weblate (Danish)
Currently translated at 87.2% (589 of 675 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/da/
* Translated using Weblate (Galician)
Currently translated at 100.0% (680 of 680 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Czech)
Currently translated at 100.0% (310 of 310 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/
* Translated using Weblate (Czech)
Currently translated at 99.4% (676 of 680 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Danish)
Currently translated at 88.0% (599 of 680 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/da/
* Translated using Weblate (Arabic)
Currently translated at 97.6% (664 of 680 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Japanese)
Currently translated at 99.7% (678 of 680 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Occitan)
Currently translated at 99.5% (677 of 680 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/oc/
* Translated using Weblate (Arabic)
Currently translated at 97.9% (668 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Persian)
Currently translated at 99.7% (680 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fa/
* Translated using Weblate (Dutch)
Currently translated at 99.8% (681 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (Occitan)
Currently translated at 99.8% (681 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/oc/
* Translated using Weblate (Japanese)
Currently translated at 0.0% (0 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Japanese)
Currently translated at 0.1% (1 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Japanese)
Currently translated at 0.1% (676 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Japanese)
Currently translated at 99.8% (681 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Galician)
Currently translated at 100.0% (682 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Greek)
Currently translated at 99.8% (681 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (310 of 310 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/pt_BR/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.8% (674 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pt_BR/
* Translated using Weblate (Danish)
Currently translated at 89.2% (609 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/da/
* Translated using Weblate (French)
Currently translated at 100.0% (82 of 82 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/fr/
* Translated using Weblate (French)
Currently translated at 100.0% (310 of 310 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/
* Translated using Weblate (French)
Currently translated at 99.8% (681 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Japanese)
Currently translated at 99.8% (681 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Japanese)
Currently translated at 99.8% (681 of 682 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Korean)
Currently translated at 100.0% (310 of 310 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ko/
* Translated using Weblate (Occitan)
Currently translated at 100.0% (310 of 310 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/oc/
* yarn manage:translations
* i18n-tasks normalize && i18n-tasks remove-unused
* revert
* Add defaultMessage
5 years ago
Eugen Rochko
248df68c36
Give focused status a sensible aria-label for screen readers ( #8387 )
* Give focused status a sensible aria-label for screen readers
Fix #8192
* Use content warning in aria-label unless expanded
5 years ago
Eugen Rochko
66dbb59aa1
Add aria-label to column regions ( #8390 )
Fix #4485
5 years ago
Eugen Rochko
025fbb8285
Show compose form on delete & redraft when in mobile layout ( #8277 )
Fix #8274
5 years ago