Commit Graph

104 Commits

Author SHA1 Message Date
Eugen Rochko
e89317d4c1 Add hover cards in web UI (#30754)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2024-06-26 19:33:38 +00:00
Renaud Chaput
d558dfd77d Convert notifications policies frontend code to Typescript (#29868) 2024-06-18 13:23:30 +00:00
Renaud Chaput
a178ba7cd5 Use a modern React context for identity in the app (#30098) 2024-05-19 17:07:32 +00:00
Chee Aun
c36a8786c1 Fix typo (#30224) 2024-05-10 09:19:27 +00:00
Claire
de4a7bf531 Change moderation warning notification icon (#30081) 2024-04-26 15:33:15 +00:00
Claire
4ef0b48b95 Add in-app notifications for moderation actions/warnings (#30065) 2024-04-25 17:26:05 +00:00
Claire
66ee0d4a1f Fix incorrect label for filtered notifications badge (#29922) 2024-04-16 09:25:23 +00:00
Renaud Chaput
b4d991adaa Use integers and not numbers in notification policy API counters (#29810) 2024-04-02 10:06:26 +00:00
Eugen Rochko
0cea7a623b Fix background and icon on notification requests in web UI (#29706) 2024-03-25 13:39:06 +00:00
Eugen Rochko
29f9dc742e Change design of notification about lost connections in web UI (#29731) 2024-03-25 13:27:38 +00:00
Renaud Chaput
6c381f20b1 Restore advanced filter bar setting (#29737) 2024-03-24 14:17:06 +00:00
Claire
387c78ddf9 Change icon of severed relationships notifications (#29712) 2024-03-22 15:45:04 +00:00
Claire
dfa43707eb Change AccountRelationshipSeveranceEvent model to store lost followers and following counts separately (#29714) 2024-03-22 15:44:31 +00:00
Claire
885d0faf83 Fix duplicate translation string for severed relationships (#29689) 2024-03-21 10:06:21 +00:00
Claire
44bf7b8128 Add notifications of severed relationships (#27511) 2024-03-20 15:37:21 +00:00
Claire
a583317df6 Fix icon and styling in browser notifications banner (#29658) 2024-03-20 11:06:44 +00:00
Claire
ffc5be4820 Change filtered icon from “archive” to “inventory 2” (#29652) 2024-03-19 15:39:26 +00:00
Renaud Chaput
af4e44e30a Fix i18n typo (#29557) 2024-03-12 09:42:51 +00:00
Eugen Rochko
c10bbf5fe3 Add notification policies and notification requests in web UI (#29433) 2024-03-11 15:02:21 +00:00
Renaud Chaput
01b6c83c36 Add a new @/ alias for the root frontend directory and use it where possible (#28753) 2024-01-16 10:27:26 +00:00
Claire
6bbcd9348e Switch from 48px weight 600 material symbol icons to 24px weight 400 icons (#28064) 2024-01-12 20:16:48 +00:00
Renaud Chaput
608f66f978 Change icon SVG imports to use a default import (#28709) 2024-01-12 10:31:24 +00:00
Renaud Chaput
3bf2a7296e Use Immutable Record for accounts in Redux state (#26559) 2023-11-03 15:00:03 +00:00
Eugen Rochko
134de736dc Change icons in web UI (#27385)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-10-24 17:45:08 +00:00
Renaud Chaput
9d45a444f9 Convert <Button> to Typescript (#27492) 2023-10-23 09:43:00 +02:00
Renaud Chaput
1b70d7ed7c Upgrade to react-router v5 (#25047)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-10-19 19:44:55 +02:00
gunchleoc
217ef7f2af Replace 'favourite' by 'favorite' for American English (#26009) 2023-07-21 19:09:13 +02:00
Renaud Chaput
1cb4514d0e Add missing report category translation (#25400) 2023-06-13 15:05:40 +02:00
Renaud Chaput
d27216dc46 Enforce import order with ESLint (#25096) 2023-05-23 17:15:17 +02:00
Renaud Chaput
5a16bd7bf4 Use JSX syntax for Fragments (#25093) 2023-05-23 11:47:36 +02:00
Renaud Chaput
8f66126b10 Use the new JSX transform (#25064) 2023-05-23 10:52:27 +02:00
fusagiko / takayamaki
349cae0b57 Add type annotation for DisplayName component (#24752) 2023-05-09 23:08:54 +02:00
Renaud Chaput
c8181eb0a4 Enforce stricter rules for Typescript files (#24910) 2023-05-09 03:11:56 +02:00
Nick Schonning
2daa5a1549 Enable formatjs/prefer-pound-in-plural (#24622) 2023-04-24 08:07:19 +02:00
Nick Schonning
ec0c104bf2 Ensure tabIndex is number instead of string (#24409) 2023-04-04 16:33:44 +02:00
Yamagishi Kazutoshi
d1b057a0ac Remove legacy decorators syntax (#18357) 2023-03-24 03:17:53 +01:00
Renaud Chaput
44a7d87cb1 Rename JSX files with proper .jsx extension (#23733) 2023-02-20 03:20:59 +01:00
Nick Schonning
c49213f0ea Upgrade ESlint to v8 (#23305) 2023-01-30 01:45:35 +01:00
Claire
98779535fe Fix missing filtering on some notification types (#23211)
* Fix missing warning-type filtering on some notification types

* Fix missing hide-type filtering on some notification types
2023-01-23 13:21:50 +01:00
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
2022-11-13 21:10:20 +01:00
Sunny Ripert
34c269310d Fix console log error on column settings load (#19886) 2022-11-07 03:39:48 +01:00
Eugen Rochko
d2eb726962 Fix notifications about deleted reports not being also deleted (#19475)
* Fix notifications about deleted reports not being also deleted

* Fix notification with empty report crashing web UI

Fix #18909
2022-10-27 02:10:54 +02:00
Claire
dd76bbf8b7 Fix WebUI notification settings for new user and new report notifications (#19436)
Due to an error in operator priority, those settings would only show up if the
user role included the all-encompassing `administrator` permission and would
display `0` otherwise.
2022-10-24 17:37:46 +02:00
Eugen Rochko
44b2ee3485 Add customizable user roles (#18641)
* Add customizable user roles

* Various fixes and improvements

* Add migration for old settings and fix tootctl role management
2022-07-05 02:41:40 +02:00
Eugen Rochko
2936f42a14 Add notifications for new reports (#18697) 2022-06-27 09:30:15 +02:00
Eugen Rochko
be0bc9acbf Change "Direct" status visibility to "Only people I mention" in web UI (#18146)
- Change name of conversations column in web UI
- Change hotkey for opening conversations column from `g d` to `g c` in web UI
- Remove shortcuts for creating direct-visibility statuses from web UI
2022-04-29 00:24:31 +02:00
Eugen Rochko
7b816eb5ae Add notifications for new sign-ups (#16953) 2022-02-23 16:45:22 +01:00
Eugen Rochko
8f03b7a2fb Add notifications when a reblogged status has been updated (#17404)
* Add notifications when a reblogged status has been updated

* Change wording to say "edit" instead of "update" and add missing controls

* Replace previous update notifications with the most up-to-date one
2022-02-11 22:20:19 +01:00
Sasha Sorokin
11d4f9eefc Split context for filter bar and unread markers (#16865)
On notifications page, in settings, "Show" for quick filter bar and
unread notifications markers use the same string, while being placed in
the separate contexts - under different settings categories.

This commit splits the contexts, creating new strings:

- "Show filter bar" in place of "Show" for filter bar;

- "Highlight unread notifications" in place of "Show" for unread
  notification markers, which are now simply called "Highlighting";

- There's also "Unread notifications" in place of "Unread notification
  markers" string to accompany the changes to "Show" string under that
  category.

All new strings have new IDs, which will cause previous strings to
invalidate on the next translation update and new strings to be created.
This will help Mastodon translators to know that there are changes and
improve translation in accordance to the source string update.
2021-10-25 16:32:28 +02:00
Eugen Rochko
52e5c07948 Change routing paths to use usernames in web UI (#16171) 2021-09-26 05:46:13 +02:00