たいち ひ
9a472efe7c
Rewrite `<TimelineHint />` as FC and TS ( #25091 )
1 year ago
たいち ひ
8066118d1f
Rewrite `<Skeleton/>` as FC and TS ( #25055 )
1 year ago
Renaud Chaput
8d6aea3326
Upgrade to React 18 ( #24916 )
1 year ago
Claire
7b54e47d03
Fix being unable to load past a full page of filtered posts in Home timeline ( #24930 )
2 years ago
Christian Schmidt
5241f7b2fd
Fix UI crash in moderation interface when opening the media modal ( #24816 )
2 years ago
Emelia Smith
b8a2430642
Fix Onboarding Errors ( #24883 )
2 years ago
Eugen Rochko
3869e8c210
Change "Sign in" to "Login" ( #24942 )
2 years ago
Renaud Chaput
5eeb40bdbe
Add stricter ESLint rules for Typescript files ( #24926 )
2 years ago
Nick Schonning
b878e3d8df
Enable ESLint react/no-deprecated ( #24471 )
2 years ago
たいち ひ
2d5e257938
Rewrite `logo.tsx` as FC ( #24909 )
2 years ago
fusagiko / takayamaki
349cae0b57
Add type annotation for DisplayName component ( #24752 )
2 years ago
fusagiko / takayamaki
ab7716cff4
Rename Image component to ServerHeroImage ( #24894 )
2 years ago
Nick Schonning
51b83ed195
Use Prettier for ESLint formatting TypeScript ( #23631 )
2 years ago
Renaud Chaput
c8181eb0a4
Enforce stricter rules for Typescript files ( #24910 )
2 years ago
Renaud Chaput
89269e4b71
Mark `wheel` events on scrollable list as passive ( #24914 )
2 years ago
fusagiko / takayamaki
9818f34273
Rewrite Domain component as function component ( #24896 )
2 years ago
たいち ひ
7c1305b3a4
Add TypeScript support for `mastodon` alias and image imports ( #24895 )
2 years ago
たいち ひ
76264e3fe8
Rewrite RadioButton component as FC ( #24897 )
2 years ago
たいち ひ
a65d2d1045
Rewrite Image component as function component ( #24893 )
2 years ago
たいち ひ
490ccbf40b
Rewrite <NotSignedInIndicator /> as FC ( #24903 )
2 years ago
たいち ひ
6fdbee240c
Rewrite <Check /> as FC ( #24901 )
2 years ago
fusagiko / takayamaki
140aa6b054
Rewrite VerifiedBadge component as function component ( #24892 )
2 years ago
S.H
5811ccc611
Fix column back button error ( #24867 )
2 years ago
Nick Schonning
f95125bd04
Fail ESLint for Warnings in CI ( #24836 )
2 years ago
Florin
27bafabb64
Fix Back button going outside the app ( #24835 )
2 years ago
Eugen Rochko
8131a5b330
Add ALT badges to media that has alternative text in web UI ( #24782 )
2 years ago
Claire
598e63dad2
Change media elements to use aspect-ratio rather than compute height themselves ( #24686 )
2 years ago
fusagiko / takayamaki
f50105779b
Add type annotation for Blurhash component ( #24750 )
2 years ago
fusagiko / takayamaki
5a5975d7f7
Add type annotation for IconButton component ( #24753 )
2 years ago
fusagiko / takayamaki
15fd712464
Add type annotation for RelativeTimestamp component ( #24749 )
2 years ago
fusagiko / takayamaki
81f75b1e0e
Rewrite Icon and IconWithBadge with typescript ( #24747 )
2 years ago
Nick Schonning
f22b4e556c
Add eslint-plugin-jsdoc ( #24719 )
2 years ago
Eugen Rochko
6028d047b9
Change logo version in header based on screen size in web UI ( #24707 )
2 years ago
Eugen Rochko
804aa8d501
Fix cutting off first letter of hashtag links sometimes in web UI ( #24623 )
2 years ago
Nick Schonning
2daa5a1549
Enable formatjs/prefer-pound-in-plural ( #24622 )
2 years ago
Eugen Rochko
290e4aba31
Add lines to threads in web UI ( #24549 )
2 years ago
Eugen Rochko
0461f83320
Add new onboarding flow to web UI ( #24619 )
2 years ago
fusagiko / takayamaki
c1a7e38d2b
Allow `==` when null checking ( #24593 )
2 years ago
fusagiko / takayamaki
ab740f464a
Rewrite AnimatedNumber component with React hooks ( #24559 )
2 years ago
fusagiko / takayamaki
9f8d34620b
Rewrite AvatarOverlay component with React hooks ( #24543 )
2 years ago
fusagiko / takayamaki
cf3fa1e814
Rewrite GIFV component with React hooks ( #24552 )
2 years ago
Nick Schonning
d02aa274be
typo: collapsable -> collapsible ( #24521 )
2 years ago
Eugen Rochko
cee357d538
Change all components to use the same error page in web UI ( #24512 )
2 years ago
Nick Schonning
ec0c104bf2
Ensure tabIndex is number instead of string ( #24409 )
2 years ago
Nick Schonning
8e19c44b2c
Align typings with installed versions ( #24410 )
2 years ago
Eugen Rochko
4909c2e718
New Crowdin updates ( #24276 )
...
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2 years ago
fusagiko / takayamaki
4520e6473a
[Proposal] Make able to write React in Typescript ( #16210 )
...
Co-authored-by: berlysia <berlysia@gmail.com>
Co-authored-by: fusagiko / takayamaki <takayamaki@users.noreply.github.com>
2 years ago
Eugen Rochko
46483ae849
Fix regressions from change in account row design in web UI ( #24343 )
2 years ago
Eugen Rochko
68a192e718
Change "direct message" nomenclature to "private mention" in web UI ( #24248 )
2 years ago
Eugen Rochko
ef127c964a
Change design of account rows in web UI ( #24247 )
2 years ago
Yamagishi Kazutoshi
d1b057a0ac
Remove legacy decorators syntax ( #18357 )
2 years ago
Christian Schmidt
bd047acc35
Replace `Status#translatable?` with language matrix in separate endpoint ( #24037 )
2 years ago
Christian Schmidt
cb868228bd
Do not leave Mastodon when clicking “Back” ( #23953 )
2 years ago
Christian Schmidt
5a8c651e8f
Only offer translation for supported languages ( #23879 )
2 years ago
Christian Schmidt
d3eefead30
Add `lang` attribute to media and poll options ( #23891 )
2 years ago
Christian Schmidt
62c4aecf8f
Make larger part of status clickable ( #23621 )
2 years ago
Renaud Chaput
44a7d87cb1
Rename JSX files with proper `.jsx` extension ( #23733 )
2 years ago
Christian Schmidt
cde13349cb
Fix bad type for spellCheck attribute ( #23638 )
2 years ago
Nick Schonning
db2c58d47a
Enable ESLint no-useless-escape ( #23311 )
2 years ago
Christian Schmidt
67744ee779
Spell check input fields ( #23395 )
2 years ago
Nick Schonning
c49213f0ea
Upgrade ESlint to v8 ( #23305 )
2 years ago
Claire
83a8efa9ca
Add lang attribute to compose textarea and CW field ( #23240 )
...
Fixes #19858
2 years ago
Claire
b034dc42be
Fix /api/v1/admin/trends/tags using wrong serializer ( #18943 )
...
* Fix /api/v1/admin/trends/tags using wrong serializer
Fix regression from #18641
* Only use `REST::Admin::TagSerializer` when the user can `manage_taxonomies`
* Fix admin trending hashtag component to not link if `id` is unknown
2 years ago
Peter Simonsson
fd33bcb3b2
Fix dropdown menu positions when scrolling ( #22916 )
...
* Update react-overlays to latest version
* Fix breaking changes in dropdown menus
* Use react-overlays built-in arrow positioning feature
* Re-implemented `.dropdown-menu__arrow` to have a defined width and height to improve positioning
* Moved wrapping div (`.dropdown-menu` from `DropdownMenu` to `Dropdown`)
* Wrap button in a span to solve issue with ref
* Temporarily remove animations
* Fix breaking changes in emoji picker
* Wrap EmojiPickerMenu in a div where react-overlays’ ref is added
* Fix breaking changes in language dropdown
* Fix breaking changes in privacy dropdown
* Fix breaking changes in search form
* Add animations back using `@keyframes`
* Fix arrow color in light theme
* Fix linting issue
* Remove unused `mounted` state
* Remove `placement` state from components and redux
And remove the placement state from props of the menu components.
* Remove abolution position to fix flip issue
* Remove z-index to fix modals and overlay positions
* Fix lint issues
* Set placement in privacy and language components
Copy the placement state into the `PrivacyDropdown` and `LanguageDropdown` components, to apply correct styling to the buttons depending on which placement the Overlay has.
* Move `placement` state to correct component
2 years ago
Claire
18d00055f4
Add dropdown menu item to open admin interface for remote domains ( #21895 )
...
* Allow /admin/instances/:domain to handle IDNs
* Add dropdown menu item to open admin interface for remote domains
2 years ago
Sean Whalen
8cff96d94d
Replace hide toot with hide post ( #22385 )
...
* Change "Hide toot" to "Hide post"
* Update status_action_bar.js
Replace "Hide toot" with "Hide post"
2 years ago
Holden Foreman
c5da2f8c43
Add aria-hidden to 'Hide image' button in MediaGallery since the button is useless to screen reader users ( #22513 )
2 years ago
Nick Schonning
06b68490d1
Enable eslint:recommended ruleset ( #22433 )
...
* Enable ESLint recommended ruleset
* Disable failing ESLint recommended rules
* Remove rules shadowed by eslint:recommended
2 years ago
Claire
fe9eab51d1
Change dropdown menu to contain “Copy link to post” even for non-public posts ( #21316 )
...
Fixes #21244
2 years ago
James Adney
c0dcf15d1e
fix gif autoplay on iOS ( #21422 )
2 years ago
Eugen Rochko
17bd9a87b9
Fix wrong color on mentions hidden behind content warning in web UI ( #20724 )
2 years ago
Eugen Rochko
d0b7bd4250
Fix wrong cut-off point for "Read more" in web UI ( #20599 )
2 years ago
Eugen Rochko
24b2c60beb
Fix icons having an image role ( #20600 )
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
Claire
99734ac936
Remove preview cards from fav and boost notifications ( #20335 )
...
Fixes #20329
2 years ago
Eugen Rochko
7bdb2433f1
Change larger reblogs/favourites numbers to be shortened in web UI ( #20303 )
2 years ago
Eugen Rochko
ef582dc4f2
Add option to open original page in dropdowns of remote content in web UI ( #20299 )
...
Change profile picture click to open profile picture in modal in web UI
2 years ago
Sasha Sorokin
d055d75172
Remove aria-pressed where it's redundant ( #19912 )
...
This commit removes aria-pressed attribute from all elements which
contents or other descriptive attributes change in active state,
effectively replacing the meaning of the button, in which case
aria-pressed, an attribute specified whether the button is currently
pressed, would create a confusion. (Spoiler: it's everywhere).
See https://github.com/mastodon/mastodon/issues/13545#issuecomment-1304886969
2 years ago
Claire
622f603ac7
Add aria-expanded to content warning toggle button ( #19975 )
...
Fixes #19920
2 years ago
Sunny Ripert
ffe735344b
Fix JavaScript console error on Getting Started column ( #19891 )
...
* Fix JavaScript console error on Getting Started column
* Update app/javascript/mastodon/components/column_header.js
Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com>
Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com>
2 years ago
Eugen Rochko
ca8d52c2a4
Change design of new list form in web UI ( #19801 )
2 years ago
Eugen Rochko
d1de7fb7fa
Fix rendering empty avatar in web UI ( #19798 )
2 years ago
Claire
9616f5bb22
Fix compose form submission reloading web interface ( #19762 )
...
* Fix compose form submission reloading web interface
Fix regression introduced by #19742
* Fix various compose form buttons being handled like submit buttons
* Fix coding style issue
* Fix missing onClick prop check
2 years ago
Sunny Ripert
0165449e3a
A11y: Explicit <form> element around compose area ( #19742 )
2 years ago
Eugen Rochko
bfafb114a2
Fix showing profile's featured tags on individual statuses ( #19712 )
2 years ago
Eugen Rochko
2d9a85db6e
Change design of link footer ( #19562 )
2 years ago
Eugen Rochko
923f06a07c
Fix number of uses being shown again on trending hashtags in web UI ( #19484 )
2 years ago
Eugen Rochko
8dfe5179ee
Fix avatars not using image tags in web UI ( #19488 )
...
Fix #19483
2 years ago
Eugen Rochko
8ebff0efcb
Change post editing to be enabled in web UI ( #19103 )
2 years ago
Eugen Rochko
f8ca3bb2a1
Add ability to view previous edits of a status in admin UI ( #19462 )
...
* Add ability to view previous edits of a status in admin UI
* Change moderator access to posts to be controlled by a separate policy
2 years ago
Eugen Rochko
0ca29eaa3f
Change layout of posts in web UI ( #19423 )
2 years ago
Eugen Rochko
fcca781aae
Change design of translations in web UI ( #19453 )
2 years ago
Eugen Rochko
9757c917da
Fix `nofollow` rel being removed in web UI ( #19455 )
2 years ago
Claire
30453fab80
Add mention of the translation provider when translating a post ( #19433 )
2 years ago
Claire
8046cf34d6
Change “Translate” button to only show up when a translation backend is configured ( #19434 )
...
* Change “Translate” button to only show up when a translation backend is configured
Fixes #19346
* Add `translation` attribute to /api/v2/instance to expose whether the translation feature is enabled
Fixes #19328
2 years ago
Eugen Rochko
73a48318a1
Fix error when rendering limited account in web UI ( #19413 )
2 years ago
Eugen Rochko
839f893168
Change public accounts pages to mount the web UI ( #19319 )
...
* Change public accounts pages to mount the web UI
* Fix handling of remote usernames in routes
- When logged in, serve web app
- When logged out, redirect to permalink
- Fix `app-body` class not being set sometimes due to name conflict
* Fix missing `multiColumn` prop
* Fix failing test
* Use `discoverable` attribute to control indexing directives
* Fix `<ColumnLoading />` not using `multiColumn`
* Add `noindex` to accounts in REST API
* Change noindex directive to not be rendered by default before a route is mounted
* Add loading indicator for detailed status in web UI
* Fix missing indicator appearing while account is loading in web UI
2 years ago
Eugen Rochko
aefa9253d6
Change featured hashtags to be displayed in navigation panel ( #19382 )
2 years ago
Eugen Rochko
4adb267f91
Fix showing translate button when status has no language in web UI ( #19388 )
2 years ago
Eugen Rochko
1bd00036c2
Change about page to be mounted in the web UI ( #19345 )
2 years ago