Commit Graph

670 Commits (e5d8166a12bc5db2f15afa8f2573be6892481e01)

Author SHA1 Message Date
Lynx Kotoura 07ea625cb2 Fix styles of error pages (#5335)
Signed-off-by: Lynx Kotoura <admin@sanin.link>

Signed-off-by: Lynx Kotoura <admin@sanin.link>
7 years ago
Eugen Rochko 1823cf435a In thread view, only scroll first update, scroll to replied-to post (#5322) 7 years ago
Eugen Rochko 476e79b8e3 Fully disable hotkeys when input element is focused (#5324)
Because alt+n is a way to enter some kinda letter on some keyboard
7 years ago
JohnD28 19d3317a69 Update french translation : mastodon/locales/fr.json (#5318)
* Update fr.json

* Update fr.json

* Update fr.json
7 years ago
ButterflyOfFire 38600b2792 Update ar.json (#5316)
Pushing new arabic translated strings for Mastodon web client.
7 years ago
unarist b0407ece42 Fix an error when ancestors get loaded before the status itself (#5312)
When ancestors get loaded, we scroll to the target status (i.e. skip
ancestors). However, ancestors may get loaded before the status itself,
then it causes TypeError because `this.node` is undefined yet.

Since we don't show anything until the status gets loaded, we don't need
to scroll to the target status in this time. If we get the status itslef
later, it causes `componentDidUpdate` and scrolling correctly.
7 years ago
Eugen Rochko b3d7ad958f Fix #5306: Stop hotkeys in input fields even when shift is pressed (#5309)
AZERTY layouts require pressing shift to press a number at all, so
it triggers a column switch even when simply typing numbers in
textarea
7 years ago
Eugen Rochko 9815be2a44 Fix #5293 - Pre-fill frequently used emojis to avoid bugs (#5305) 7 years ago
Eugen Rochko 4bb3e4eeba Fix #5295 - Order custom emoji lexicographically (#5297) 7 years ago
unarist 784c7510d7 Fix an error when video playback buffer is empty (#5300) 7 years ago
Eugen Rochko 1c6fc0e4ce Center error layout (#5289) 7 years ago
Eugen Rochko 488584bfc1 Track frequently used emojis in web UI (#5275)
* Track frequently used emojis in web UI

* Persist emoji usage, but debounce commits to the settings API

* Fix #5144 - Add tooltips to picker

* Display only 2 lines of frequently used emojis
7 years ago
JeanGauthier 94f15338c3 i18n update Occitan (#5263)
* Update oc.json

* Update oc.yml

* Update oc.yml

* Update oc.json
7 years ago
Nolan Lawson db33a53ee8 Video preload should be a string (#5267) 7 years ago
Nolan Lawson 7de6d269d2 Use ES module build of react-router-dom (#5264) 7 years ago
Eugen Rochko 684001d729 Dynamically calculate card height for embeds instead of padding (#5265)
The padding trick was hard-coded to a 16:9 ratio, but we can use
width and height provided from OEmbed information and width
of the card itself to calculate a new height
7 years ago
Eugen Rochko 292f3cd7e0 Show buffering in video player (#5261) 7 years ago
Eugen Rochko f486ef2666 Redesign public hashtag pages (#5237) 7 years ago
Eugen Rochko d2dee6ea43 Fix custom emoji in emoji picker, persist skin tone (#5258) 7 years ago
MitarashiDango b7e65a004f Japanese translation (relative time) (#5251) 7 years ago
Nolan Lawson 057db0ecd0 Update emoji-mart to v2.1.1 (#5256) 7 years ago
Eugen Rochko 11436358b4 Fix regression from #5206 - deduplicate descendants (#5253) 7 years ago
Eugen Rochko 45682f876d Make auto-play GIFs preference affect custom emojis in web UI (#5254) 7 years ago
Lynx Kotoura 5a2c7bd4ce Fix overflowing in web UI (#5246)
* Fix overflowing in web UI

* Revert fixing dropdown menu modal
7 years ago
K.SHIRAKASHI d5f490b1a2 Fix error on reloading status detail column (#5248) 7 years ago
MIYAGI Hikaru 6f2d88dd28 Fix error at emoji_compressed in Firefox ESR (#5241) 7 years ago
Nolan Lawson 72d939b69f Fix thinking_face emoji autocomplete (#5238) 7 years ago
Nolan Lawson 97b3d0cd56 Import only Spring/Motion from react-motion (#5236) 7 years ago
Nolan Lawson fd7f0732fe Compress and combine emoji data (#5229) 7 years ago
Nolan Lawson 2aca22b8ea import only Overlay from react-overlays (#5235) 7 years ago
Eugen Rochko 7db0f8dcb2 Implement hotkeys for web UI (#5164)
* Fix #2102 - Implement hotkeys

Hotkeys on status list:

- r to reply
- m to mention author
- f to favourite
- b to boost
- enter to open status
- p to open author's profile
- up or k to move up in the list
- down or j to move down in the list
- 1-9 to focus a status in one of the columns
- n to focus the compose textarea
- alt+n to start a brand new toot
- backspace to navigate back

* Add navigational hotkeys

The key g followed by:

- s: start
- h: home
- n: notifications
- l: local timeline
- t: federated timeline
- f: favourites
- u: own profile
- p: pinned toots
- b: blocked users
- m: muted users

* Add hotkey for focusing search, make escape un-focus compose/search

* Fix focusing notifications column, fix hotkeys in compose textarea
7 years ago
Eugen Rochko b9c76e2edb When processing custom emoji, ensure a non-animated version exists (#5230)
Use the non-animated version in web UI, but return both in API
7 years ago
Lynx Kotoura 32e8a87830 adjust public profile pages 2 (#5223) 7 years ago
MitarashiDango ecfa1c3f3b fix error (When part of conversation has already been deleted.) (#5216) 7 years ago
Eugen Rochko 632178d754 Use own, shorter relative timestamps (#5171)
* Use own, shorter relative timestamps

* Add acct to title tooltip of display name in statuses

* Improve i18n of the relative times
7 years ago
Eugen Rochko ec13cfa4f9 When a streaming API status arrives, sort it into conversations (#5206) 7 years ago
m4sk1n e6543d5fc4 i18n: Update Polish translation (#5202) 7 years ago
Nolan Lawson 82d9ade7a6 Compress emoji_data_light.js (#5201) 7 years ago
PFM 875d943c18 Add pagination in media modal (#4343)
* Add pagination in media modal

* Change array name

* Add an element class

* Avoid nested class

* Pull out the active class

* Use map instead of forEach

* Remove parentheses
7 years ago
Yamagishi Kazutoshi ecacb15cd5 Add placeholder text color to form of media attachments (#5196) 7 years ago
Yamagishi Kazutoshi eb6ec3d068 Add missing Japanese translations (#5193)
* yarn manage:translations

* Add Japanese translations for #5170

* Add Japanese translations for #5123

* Add Japanese translations for #5046

* Add Japanese translations for #5099

* Add Japanese translations for #5161

* "項目" -> "絵文字"
7 years ago
Akihiko Odaki f303a954e6 Remove aria-label of status content (#5195)
aria-label contained body of status with content warning, which should be
hidden by default. Remove the label for the case and other cases due to
consistency.
7 years ago
Jakob Kramer 395a57d03d Update German translation (#5189) 7 years ago
Eugen Rochko 0f699a4280 When muting, clear web UI like for blocks (#5172)
* When muting, clear web UI like for blocks

* Fix style issue
7 years ago
Eugen Rochko 5e5f36c216 Fix #5079, fix #5186 - Emoji picker fixes (#5187) 7 years ago
m4sk1n a767ef85fa i18n: Update translation files and Polish translation (#5180)
* Update translation files

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>

* i18n: Update Polish translation

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years ago
Eugen Rochko 4453c9a9f5 Search popout (#5170) 7 years ago
Nolan Lawson b9c612b561 Code-split emoji-mart picker and data (#5175) 7 years ago
Nolan Lawson c567c87453 Toggle contain:strict on fullscreen (#5159)
* Toggle contain:strict on fullscreen

* Fix scss lint issue

* fix scss whitespace lint issue
7 years ago
Eugen Rochko cdad7977fc Improve privacy dropdown, remove react-simple-dropdown dependency (#5140)
* Improve privacy dropdown, remove react-simple-dropdown dependency

* Animate privacy warning

* Fix react-router-scroll
7 years ago