Renaud Chaput
7b5a274836
Enforce import order with ESLint ( #25096 )
2 years ago
Renaud Chaput
3b0c3e94e0
Use the new JSX transform ( #25064 )
2 years ago
Renaud Chaput
85b3823e66
Enforce stricter rules for Typescript files ( #24910 )
2 years ago
Christian Schmidt
61e7fe2e2a
Fix broken links in account gallery ( #24218 )
2 years ago
Christian Schmidt
41655e16ea
Add `lang` attribute to media and poll options ( #23891 )
2 years ago
Renaud Chaput
ae3812d182
Rename JSX files with proper `.jsx` extension ( #23733 )
2 years ago
Nick Schonning
1c2ca9557f
Enable ESLint no-useless-escape ( #23311 )
2 years ago
Nick Schonning
9a5233f107
Upgrade ESlint to v8 ( #23305 )
2 years ago
Bramus!
e6f386edf1
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
0a302f7673
fix gif autoplay on iOS ( #21422 )
2 years ago
trwnh
1b9ad6fb4b
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
2d5f0a0002
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
ece8405ebd
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
7418e0e613
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
483cf4d52a
Add noopener and/or noreferrer ( #12202 )
5 years ago
Eugen Rochko
9c4f1fb4e1
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
73b23ef7be
Fix handling of audio files in account media gallery ( #11629 )
...
Fixes #11627
5 years ago
Jeong Arm
3288f4a571
Bring back crossed eye icon on gallery ( #10715 )
6 years ago
ThibG
139ef769f7
Add description on hover in media gallery ( #10713 )
6 years ago
ThibG
d5357fcbf2
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
db73f8e585
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
77dc5cc132
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
ふぁぼ原
bb8afc4608
Add a new preference to always hide all media ( #8569 )
6 years ago
Eugen Rochko
aeca336e22
When enabled, always display media in gallery. Also: click to reveal ( #6692 )
...
Fix #6677
7 years ago
Eugen Rochko
ca9d8402c3
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
e2027fbe42
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
8 years ago
Yamagishi Kazutoshi
d063663125
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
e4ed0b155c
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
94b26e90fa
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