たいち ひ
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
Eugen Rochko
0765324622
Fix intermediary responsive layout, accessibility on navigation in web UI ( #19324 )
...
* Fix intermediary responsive layout, accessibility on navigation in web UI
* `yarn test:jest -u`
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2 years ago
Eugen Rochko
f41ec9af05
Add dismissable hints to various timelines in web UI ( #19315 )
...
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2 years ago
Yamagishi Kazutoshi
e82467ca41
Remove timeline preview link from nav panel when not signed-in ( #19320 )
...
* Remove timeline preview link from nav panel when not signed-in
* Always enable server stats
2 years ago
Eugen Rochko
7fb738c837
Add interaction modal to logged-out web UI ( #19306 )
2 years ago
Eugen Rochko
d2528b26b6
Add server banner to web app, add `GET /api/v2/instance` to REST API ( #19294 )
2 years ago
Eugen Rochko
e2b561e3a5
Fix logged-out web UI on smaller screens ( #19263 )
2 years ago
Eugen Rochko
c55219efa8
Remove volume number from hashtags in web UI ( #19253 )
2 years ago
Eugen Rochko
e623c302d5
Add sign-up button to logged-out web UI ( #19250 )
2 years ago
Eugen Rochko
43b5d5e38d
Add logged-out access to the web UI ( #18961 )
2 years ago
Eugen Rochko
55a2e9b5be
Fix translations not being formatted, other issues in web UI ( #19245 )
...
Fix #19237
2 years ago
Eugen Rochko
0d6b878808
Add user content translations with configurable backends ( #19218 )
2 years ago
dependabot[bot]
4793950136
Bump jest from 28.1.3 to 29.0.3 ( #19162 )
...
* Bump babel-jest from 28.1.3 to 29.0.3
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 28.1.3 to 29.0.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.0.3/packages/babel-jest )
---
updated-dependencies:
- dependency-name: babel-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump jest-environment-jsdom from 28.1.3 to 29.0.3
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom ) from 28.1.3 to 29.0.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.0.3/packages/jest-environment-jsdom )
---
updated-dependencies:
- dependency-name: jest-environment-jsdom
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump jest from 28.1.3 to 29.0.3
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) from 28.1.3 to 29.0.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.0.3/packages/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Shlee
1fac99e842
Add rel="noopener" to links to remote profiles ( #19014 )
...
* Update timeline_hint.js
* Update timeline_hint.js
2 years ago
Takeshi Umeda
66b8abf218
Fix case where boolean was passed to onFilter on StatusActionBar ( #18923 )
2 years ago
Claire
ba745ca99a
Fix media modal link button ( #18877 )
...
Fixes regression from #18697
2 years ago
Claire
50487db122
Add ability to filter individual posts ( #18945 )
...
* Add database table for status-specific filters
* Add REST endpoints, entities and attributes
* Show status filters in /filters interface
* Perform server-side filtering for individual posts filters
* Fix filtering on context mismatch
* Refactor `toServerSideType` by moving it to its own module
* Move loupe and delete icons to their own module
* Add ability to filter individual posts from WebUI
* Replace keyword list by warnings (expired, context mismatch)
* Refactor server-side filtering code
* Add tests
2 years ago