Christian Schmidt
16da4a09e8
Fix broken links in account gallery ( #24218 )
2 years ago
Christian Schmidt
d3eefead30
Add `lang` attribute to media and poll options ( #23891 )
2 years ago
Renaud Chaput
44a7d87cb1
Rename JSX files with proper `.jsx` extension ( #23733 )
2 years ago
Nick Schonning
db2c58d47a
Enable ESLint no-useless-escape ( #23311 )
2 years ago
Nick Schonning
c49213f0ea
Upgrade ESlint to v8 ( #23305 )
2 years ago
Bramus!
7fbc17afa2
Fix media markup ( #21420 )
...
This brings the markup of the MediaItem component on par with the Item component from media_gallery.
Co-authored-by: Effy Elden <effy@effy.space>
2 years ago
James Adney
c0dcf15d1e
fix gif autoplay on iOS ( #21422 )
2 years ago
trwnh
07229089a6
Change in-app links to keep you in-app ( #20540 )
...
* Change in-app links to keep you in-app
* refactor Permalink into Link
* rewrite link hrefs in status content
* please linter
* please linter again
2 years ago
ThibG
9d023ed4f6
Fix some account media gallery items having empty labels ( #15073 )
...
Remove the labels entirely for images instead of putting an empty label.
4 years ago
Eugen Rochko
6cc5b822f5
Fix audio and video items in account gallery in web UI ( #14282 )
...
* 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
4 years ago
Sasha Sorokin
61c07c3731
Replace repetitive blurhash code with component ( #14267 )
...
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 .
4 years ago
BSKY
fccf83e1f2
Add noopener and/or noreferrer ( #12202 )
5 years ago
Eugen Rochko
c9b8ba50f8
Fix audio attachments opening in video modal from media tab in web UI ( #12056 )
...
Fix video attachments having a GIF label in media tab in web UI
5 years ago
ThibG
b48c7ee059
Fix handling of audio files in account media gallery ( #11629 )
...
Fixes #11627
5 years ago
Jeong Arm
09eea46631
Bring back crossed eye icon on gallery ( #10715 )
6 years ago
ThibG
b2f5b1045f
Add description on hover in media gallery ( #10713 )
6 years ago
ThibG
4f73cde4e1
Minor account media gallery fixes ( #10695 )
...
* Make the cursor icon consistant across media types in account media gallery
* Fix the video player modal causing scroll position to reset
6 years ago
Eugen Rochko
3f143606fa
Change account gallery in web UI ( #10667 )
...
- 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
6 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
6 years ago
ふぁぼ原
f7a6f9489d
Add a new preference to always hide all media ( #8569 )
6 years ago
Eugen Rochko
b79ab15859
When enabled, always display media in gallery. Also: click to reveal ( #6692 )
...
Fix #6677
7 years ago
Eugen Rochko
5131012505
Add "Toots/Toots with replies/Media" tab below profile header ( #6572 )
...
* Add "Toots/Toots with replies/Media" tab below profile header
* Add focal point display to account gallery timeline
* Fix visual glitch of standalone GIFV
7 years ago
Yamagishi Kazutoshi
c1a8e3d1eb
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
8 years ago
Yamagishi Kazutoshi
d8ae3efec3
Improve ESLint rules for JSX ( #3608 )
...
* 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
8 years ago
Yamagishi Kazutoshi
2e112e2406
Improve eslint rules ( #3147 )
...
* 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
8 years ago
Eugen Rochko
de475cf8d3
Add account media gallery view to web UI ( #3120 )
...
* Add account media gallery view to web UI
* Link media view from account dropdown
* Adjust link
8 years ago