Commit Graph

217 Commits

Author SHA1 Message Date
Eugen Rochko d4807a5e64
Change aspect ratios on link previews in web UI () 2023-07-30 03:35:17 +02:00
Claire b4e739ff0f
Change interaction modal in web UI ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-07-27 16:11:17 +02:00
Christian Schmidt 4299208487
Fix `lang` for UI texts in link preview () 2023-07-24 23:01:31 +02:00
Eugen Rochko 714a20697f
Fix missing action label on sensitive videos and embeds in web UI () 2023-07-24 22:04:38 +02:00
Eugen Rochko 6b2952d1dd
Change design of link previews in web UI () 2023-07-24 13:47:28 +02:00
Eugen Rochko 4d01d1a1ee
Remove 16:9 cropping from web UI () 2023-07-24 13:46:55 +02:00
gunchleoc 217ef7f2af
Replace 'favourite' by 'favorite' for American English () 2023-07-21 19:09:13 +02:00
Claire e4ea80d808
Change thread view to scroll to the selected post rather than the post being replied to () 2023-07-21 13:14:30 +02:00
Claire 41f65edb21
Fix embed dropdown menu item for unauthenticated users () 2023-07-13 15:53:03 +02:00
Eugen Rochko a8edbcf963
Fix dropdowns being disabled for logged out users in web UI () 2023-07-08 20:00:52 +02:00
Eugen Rochko 000b835803
Add canonical link tags in web UI () 2023-07-05 11:25:27 +02:00
alfe a86886b1fd
Rewrite `<LoadingIndicator/>` as FC and TS () 2023-06-13 19:26:25 +02:00
Eugen Rochko e4fd9503ec
Change design of dropdowns in web UI () 2023-06-06 21:49:49 +02:00
Jed Fox acc419b81b
Fix spacing of middle dots in the detailed status meta section () 2023-06-02 15:40:23 +02:00
Christian Schmidt 69057467cb
Translate CW, poll options and media descriptions ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-06-01 00:10:21 +02:00
y.takahashi 64b960b6b3
Handle Surrogate Pairs in truncate() () 2023-05-29 11:55:16 +02:00
fusagiko / takayamaki 38c6216082
Rewrite actions/modal and reducers/modal with typescript () 2023-05-25 15:42:37 +02:00
Renaud Chaput e58c36d308
Update inconsistent `defaultMessage` () 2023-05-24 12:38:50 +02:00
Eugen Rochko 1caa5ff39e
Change share action from being in action bar to being in dropdown in web UI ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-05-24 11:04:43 +02:00
Renaud Chaput d27216dc46
Enforce import order with ESLint () 2023-05-23 17:15:17 +02:00
Renaud Chaput 5a16bd7bf4
Use JSX syntax for Fragments () 2023-05-23 11:47:36 +02:00
Renaud Chaput 8f66126b10
Use the new JSX transform () 2023-05-23 10:52:27 +02:00
Christian Schmidt 5241f7b2fd
Fix UI crash in moderation interface when opening the media modal () 2023-05-11 12:41:55 +02:00
Nick Schonning b878e3d8df
Enable ESLint react/no-deprecated () 2023-05-10 09:05:32 +02:00
fusagiko / takayamaki 349cae0b57
Add type annotation for DisplayName component () 2023-05-09 23:08:54 +02:00
Renaud Chaput c8181eb0a4
Enforce stricter rules for Typescript files () 2023-05-09 03:11:56 +02:00
Claire 598e63dad2
Change media elements to use aspect-ratio rather than compute height themselves () 2023-05-02 13:58:48 +02:00
Nick Schonning 2daa5a1549
Enable formatjs/prefer-pound-in-plural () 2023-04-24 08:07:19 +02:00
Eugen Rochko 290e4aba31
Add lines to threads in web UI () 2023-04-24 08:07:03 +02:00
Christian Schmidt e713c545b8
Use CSS to trim long card descriptions () 2023-04-23 22:32:47 +02:00
Ivan Rodriguez f05fb51ecb
Fix status title for statuses without text () 2023-04-14 17:29:09 +02:00
Eugen Rochko cee357d538
Change all components to use the same error page in web UI () 2023-04-12 12:44:58 +02:00
Nick Schonning ec0c104bf2
Ensure tabIndex is number instead of string () 2023-04-04 16:33:44 +02:00
Eugen Rochko 68a192e718
Change "direct message" nomenclature to "private mention" in web UI () 2023-03-30 15:16:20 +02:00
Yamagishi Kazutoshi d1b057a0ac
Remove legacy decorators syntax () 2023-03-24 03:17:53 +01:00
Christian Schmidt d3eefead30
Add `lang` attribute to media and poll options () 2023-02-26 20:13:27 +01:00
Christian Schmidt 8000a8f230
Add `lang` attribute to preview card () 2023-02-24 20:04:38 +01:00
Renaud Chaput 44a7d87cb1
Rename JSX files with proper `.jsx` extension () 2023-02-20 03:20:59 +01:00
Nick Schonning eddfb33dfe
Enable ESLint import recommended rules () 2023-02-13 15:12:31 +01:00
Nick Schonning db2c58d47a
Enable ESLint no-useless-escape () 2023-02-13 15:12:14 +01:00
Nick Schonning c49213f0ea
Upgrade ESlint to v8 () 2023-01-30 01:45:35 +01:00
Claire 18d00055f4
Add dropdown menu item to open admin interface for remote domains ()
* Allow /admin/instances/:domain to handle IDNs

* Add dropdown menu item to open admin interface for remote domains
2023-01-05 14:03:46 +01:00
Claire 2d4d99f135
Fix expanded statuses not always being scrolled into view () 2022-11-28 16:42:04 +01:00
trwnh 07229089a6
Change in-app links to keep you in-app ()
* Change in-app links to keep you in-app

* refactor Permalink into Link

* rewrite link hrefs in status content

* please linter

* please linter again
2022-11-13 21:10:20 +01:00
Eugen Rochko ef582dc4f2
Add option to open original page in dropdowns of remote content in web UI ()
Change profile picture click to open profile picture in modal in web UI
2022-11-10 08:49:35 +01:00
Sasha Sorokin d055d75172
Remove aria-pressed where it's redundant ()
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
2022-11-08 17:31:32 +01:00
Claire 9616f5bb22
Fix compose form submission reloading web interface ()
* Fix compose form submission reloading web interface

Fix regression introduced by 

* Fix various compose form buttons being handled like submit buttons

* Fix coding style issue

* Fix missing onClick prop check
2022-11-05 13:43:37 +01:00
Eugen Rochko 371d969403
Fix missing delete and redraft link in web UI () 2022-10-27 19:17:15 +02:00
Eugen Rochko 8ebff0efcb
Change post editing to be enabled in web UI () 2022-10-26 15:23:00 +02:00
Eugen Rochko f8ca3bb2a1
Add ability to view previous edits of a status in admin UI ()
* Add ability to view previous edits of a status in admin UI

* Change moderator access to posts to be controlled by a separate policy
2022-10-26 13:42:29 +02:00