- Oct 05, 2017
-
-
Eugen Rochko authored
* 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
-
- Oct 03, 2017
-
-
Eugen Rochko authored
* Use own, shorter relative timestamps * Add acct to title tooltip of display name in statuses * Improve i18n of the relative times
-
Akihiko Odaki authored
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.
-
- Oct 02, 2017
-
-
Nolan Lawson authored
* Toggle contain:strict on fullscreen * Fix scss lint issue * fix scss whitespace lint issue
-
- Sep 30, 2017
-
-
Daggertooth authored
* Add image descriptions to `title` attribute to view on mouse hover/long-press. * Too many title properties may spoil the broth.
-
Nolan Lawson authored
-
Eugen Rochko authored
* Do not debounce emoji search * Make autosuggestions appear sooner
-
Eugen Rochko authored
* Upgrade to React 16.0.0 * Disable some uncritical tests while chai-enzyme remains incompatible
-
- Sep 29, 2017
-
-
Nolan Lawson authored
* Remove react-sizeme * Fix aspect ratio in "sensitive" mode
-
- Sep 28, 2017
-
-
Eugen Rochko authored
* Fix #117 - Add ability to specify alternative text for media attachments - POST /api/v1/media accepts `description` straight away - PUT /api/v1/media/:id to update `description` (only for unattached ones) - Serialized as `name` of Document object in ActivityPub - Uploads form adjusted for better performance and description input * Add tests * Change undo button blend mode to difference
-
- Sep 25, 2017
-
-
Lynx Kotoura authored
-
- Sep 24, 2017
-
-
abcang authored
-
Eugen Rochko authored
* In detail status view, display attachment uncropped if there's only one * Make media spoiler the size of the media it hides, enable on static
-
- Sep 23, 2017
-
-
Eugen Rochko authored
-
Eugen Rochko authored
-
Eugen Rochko authored
* Add emoji autosuggest Some credit goes to glitch-soc/mastodon#149 * Remove server-side shortcode->unicode conversion * Insert shortcode when suggestion is custom emoji * Remove remnant of server-side emojis * Update style of autosuggestions * Fix wrong emoji filenames generated in autosuggest item * Do not lazy load emoji picker, as that no longer works * Fix custom emoji autosuggest * Fix multiple "Custom" categories getting added to emoji index, only add once
-
- Sep 22, 2017
-
-
Eugen Rochko authored
* Make dropdowns render into portal, expand animation * Improve actions modal style
-
Nolan Lawson authored
-
- Sep 20, 2017
-
-
aschmitz authored
* Fix JavaScript interface with long IDs Somewhat predictably, the JS interface handled IDs as numbers, which in JS are IEEE double-precision floats. This loses some precision when working with numbers as large as those generated by the new ID scheme, so we instead handle them here as strings. This is relatively simple, and doesn't appear to have caused any problems, but should definitely be tested more thoroughly than the built-in tests. Several days of use appear to support this working properly. BREAKING CHANGE: The major(!) change here is that IDs are now returned as strings by the REST endpoints, rather than as integers. In practice, relatively few changes were required to make the existing JS UI work with this change, but it will likely hit API clients pretty hard: it's an entirely different type to consume. (The one API client I tested, Tusky, handles this with no problems, however.) Twitter ran into this issue when introducing Snowflake IDs, and decided to instead introduce an `id_str` field in JSON responses. I have opted to *not* do that, and instead force all IDs to 64-bit integers represented by strings in one go. (I believe Twitter exacerbated their problem by rolling out the changes three times: once for statuses, once for DMs, and once for user IDs, as well as by leaving an integer ID value in JSON. As they said, "If you’re using the `id` field with JSON in a Javascript-related language, there is a very high likelihood that the integers will be silently munged by Javascript interpreters. In most cases, this will result in behavior such as being unable to load or delete a specific direct message, because the ID you're sending to the API is different than the actual identifier associated with the message." [1]) However, given that this is a significant change for API users, alternatives or a transition time may be appropriate. 1: https://blog.twitter.com/developer/en_us/a/2011/direct-messages-going-snowflake-on-sep-30-2011.html * Additional fixes for stringified IDs in JSON These should be the last two. These were identified using eslint to try to identify any plain casts to JavaScript numbers. (Some such casts are legitimate, but these were not.) Adding the following to .eslintrc.yml will identify casts to numbers: ~~~ no-restricted-syntax: - warn - selector: UnaryExpression[operator='+'] > :not(Literal) message: Avoid the use of unary + - selector: CallExpression[callee.name='Number'] message: Casting with Number() may coerce string IDs to numbers ~~~ The remaining three casts appear legitimate: two casts to array indices, one in a server to turn an environment variable into a number. * Back out RelationshipsController Change This was made to make a test a bit less flakey, but has nothing to do with this branch. * Change internal streaming payloads to stringified IDs as well Per https://github.com/tootsuite/mastodon/pull/5019#issuecomment-330736452 we need these changes to send deleted status IDs as strings, not integers.
-
- Sep 16, 2017
-
-
Naoki Kosaka authored
-
- Sep 15, 2017
-
-
unarist authored
* Fix behavior while the button is invisible e.g. pointer cursor, couldn't open contextmenu * Avoid rendering the button to remove blank space if no more items are available or no items are rendered
-
- Sep 14, 2017
-
-
Eugen Rochko authored
* Redesign video player * Use new video player on static public pages too * Use media gallery component on static public pages too * Pause video when hiding it * Full-screen sizing on WebKit * Add aria labels to video player buttons * Display link card on public status page * Fix fullscreen from modal sizing issue * Remove contain: strict property to fix fullscreen from columns
-
- Sep 13, 2017
-
-
abcang authored
-
- Sep 09, 2017
-
-
Eugen Rochko authored
It wasn't working ideally and introduced some annoying false positivies
-
unarist authored
Resolved: * Lot of redundant renders while mouse moving * Scroll jumping when timeline loaded * Scroll position isn't kept when statuses below the scrollTop was deleted then new status arrived Unresolved: * Scroll position isn't kept when statuses over the scrollTop was deleted then new status arrived -> It needs to know which statuses are over the scrollTop * New status indicator should be active when new statuses arrived while mouse moved recently -> It needs a) update indicator in ScrollableList, or b) set scrollTop status while mouse moving
-
Eugen Rochko authored
-
- Sep 08, 2017
-
-
Eugen Rochko authored
That way you can mute notifications for a toot before you get replies to it or boosts or favourites
-
- Sep 07, 2017
-
-
PFM authored
-
- Sep 06, 2017
- Sep 02, 2017
-
-
Yamagishi Kazutoshi authored
* Disable embed modal when private status * Remove `reblogDisabled`
-
- Sep 01, 2017
-
-
Eugen Rochko authored
* Add embed button to dropdowns of in-timeline statuses * yarn run manage:translations
-
- Aug 31, 2017
-
-
Akihiko Odaki authored
-
- Aug 28, 2017
-
-
abcang authored
-
- Aug 24, 2017
-
-
Eugen Rochko authored
* Pinned statuses * yarn manage:translations
-
- Aug 07, 2017
-
-
Sorin Davidoi authored
* feat: Cache status height to avoid expensive renders * feat: Escape content and emojify in reducers * fix(css): Remove backface-visibility: hidden from .scrollable * fix(statuses): Avoid creating DOMParses inside a loop
-
Ondřej Hruška authored
* Refactored Avatar and AvatarOverlay (DRY) to have 'account' as prop. Also removed animate attribute from compose navigation bar, which should have never been there. Added test for avatar overlay. * fix broken tests * god dammit another bug in tests! travis please let this pass * formatting in avatar overlay
-
- Aug 04, 2017
-
-
Akihiko Odaki authored
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.
-
- Aug 02, 2017
-
-
Sorin Davidoi authored
-
- Jul 30, 2017
-
-
Sorin Davidoi authored
* fix(media_modal): Keyboard navigation * fix(column_back_button): Use native button * fix(media_gallery): Keyboard navigation * fix(status_content): Make CW content focusable
-