- sept. 09, 2020
-
-
Eugen Rochko a rédigé
-
- juil. 10, 2020
-
-
Eugen Rochko a rédigé
* Fix audio and video items in account gallery in web UI - Fix audio items not using thumbnails - Fix video items not using custom thumbnails - Fix video items autoplaying like GIFs * Change audio and video items in account gallery to autoplay when opened in web UI * Fix code style issue
-
- juil. 09, 2020
-
-
Sasha Sorokin a rédigé
This commit replaces all unnecessarily repeated code for decoding and embedding blurhash canvases with separate component - <Blurhash>. Under the hood Blurhash component will use effect dependent on its props. This gives a few benefits: it will only be re-rendered whenever the hash or width/height/dummy props update, and will not render if canvas won't get to the final DOM, because then effect won't fire, which prevents weird bugs like #14257.
-
- oct. 24, 2019
-
-
BSKY a rédigé
-
- oct. 03, 2019
-
-
Eugen Rochko a rédigé
Fix video attachments having a GIF label in media tab in web UI
-
- août 20, 2019
-
-
ThibG a rédigé
Fixes #11627
-
- août 01, 2019
-
-
Eugen Rochko a rédigé
-
- mai 08, 2019
-
-
Jeong Arm a rédigé
-
- mai 06, 2019
-
-
ThibG a rédigé
-
- mai 04, 2019
-
-
ThibG a rédigé
* Make the cursor icon consistant across media types in account media gallery * Fix the video player modal causing scroll position to reset
-
- mai 03, 2019
-
-
Eugen Rochko a rédigé
* Add "view context" button to media modal when opened from gallery * Add "view context" button to video modal Allow closing the video modal by navigating back in the browser, just like the media modal
-
- mai 02, 2019
-
-
Eugen Rochko a rédigé
- 3 items per row instead of 2 - Use blurhash for previews - Animate/hover-to-play GIFs and videos - Open media modal instead of opening status - Allow opening status instead with ctrl+click and open in new tab
-
- avr. 09, 2019
-
-
Eugen Rochko a rédigé
-
- jan. 31, 2019
-
-
Eugen Rochko a rédigé
* 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
-
- déc. 17, 2018
-
-
ThibG a rédigé
* Make sure loading indicator has enough vertical space * Respect reduce_motion setting for loading indicator
-
- déc. 12, 2018
-
-
ThibG a rédigé
* Always use the scrollable class for the ScrollList component Fixes #9499 as well as empty timelines' scrollbar “blinking” between loading state and empty state. * Do not display empty message when the list is known to have more elements Fixes #9500 * Fix LoadMore usage in account media gallery (Even though that codepath is probably never actually used…) * Make account media gallery more consistent with account timeline Fixes #9498 Display “load more” more consistently, add a loading indicator on first load. * Fix “load more” button when no data has been fetched
-
- sept. 25, 2018
-
-
ふぁぼ原 a rédigé
-
- sept. 14, 2018
-
-
Yamagishi Kazutoshi a rédigé
-
- juil. 29, 2018
-
-
Yamagishi Kazutoshi a rédigé
-
- mars 27, 2018
-
-
unarist a rédigé
max_id in the fetch request should be a status id, but media attachment id was used.
-
- mars 24, 2018
-
-
Akihiko Odaki a rédigé
-
- mars 08, 2018
-
-
Eugen Rochko a rédigé
Fix #6677
-
- mars 01, 2018
-
-
Eugen Rochko a rédigé
* Add "Toots/Toots with replies/Media" tab below profile header * Add focal point display to account gallery timeline * Fix visual glitch of standalone GIFV
-
- jan. 17, 2018
-
-
Yamagishi Kazutoshi a rédigé
-
- oct. 31, 2017
-
-
Yamagishi Kazutoshi a rédigé
-
- oct. 27, 2017
-
-
Nolan Lawson a rédigé
-
- sept. 20, 2017
-
-
aschmitz a rédigé
* 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.
-
- juin 23, 2017
-
-
Yamagishi Kazutoshi a rédigé
- juin 11, 2017
-
-
Eugen Rochko a rédigé
* 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
-
- juin 06, 2017
-
-
Yamagishi Kazutoshi a rédigé
* 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
-
- mai 25, 2017
-
-
unarist a rédigé
* Add load more button for large screens * Fix `next` state value on the first loading * Don't load if `isLoading || !hasMore` * Start load on near the bottom
-
- mai 20, 2017
-
-
Yamagishi Kazutoshi a rédigé
* 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
-
- mai 19, 2017
-
-
Eugen Rochko a rédigé
* Add account media gallery view to web UI * Link media view from account dropdown * Adjust link
-