pontoon/specs
Francesco Lodolo 4b23a5dfc9
Introduce project manager status banner (#3422)
1. Add a banner for users defined as "Project Manager" within a project. To reduce confusion, the MNGR tooltip has been changed from from "Manager" to "Team Manager".

2. Consolidate roles between backend and frontend:
* If a user as a role within the locale (translator, manager), we use that for the banner
* If a user is set as PM, we use that even if the user is an Admin
* The isAdmin flag is true if the user is a superuser, not PM
* Introduce isPM flag and use it where isAdmin was used before
* Rename: managerForLocales -> canManageLocale, translatorForLocales -> canTranslateLocales
* Introduce managerForLocales and translatorForLocales and use them in UserStatus instead of canManageLocales and canTranslateLocales

3. Other changes:
* Add CSS variables for users, instead of reusing the ones for translation status
* Ignore system users for banners
* Use status identifier as a class name
* The term role is already taken, let's settle for status consistently

---------

Co-authored-by: Matjaž Horvat <matjaz.horvat@gmail.com>
2024-11-05 15:37:07 +01:00
..
0100 0100 Private Projects spec update (#1624) 2020-04-28 18:37:41 +02:00
0101 Bug 1624557: Add specification for terminology presentation (#1593) 2020-03-30 17:46:23 +02:00
0108 Bug 1672966: Update spec with details on what data is presented (#1792) 2021-01-07 13:26:18 +01:00
0110 Add spec for opting-out of notification types (#2341) 2021-10-22 14:21:15 +02:00
0111 Add specs for new Profile page (#2464) 2022-04-05 17:40:57 +02:00
0112 Spec Guidelines for new contributors (#2542) 2022-06-05 02:55:31 +02:00
0114 Add theme selector mockups (#2971) 2023-10-03 13:57:00 +02:00
0115 Add Pretranslation Monitoring spec (#2904) 2023-07-25 18:30:23 +02:00
0116 Add Specification for LLM-Assisted Translations (#3071) 2024-01-25 16:10:38 +01:00
0117 Add specs for Email consent opt-in and Unsubscribe page (#3110) 2024-04-15 14:08:51 +02:00
0119 Add Specification for Gamification Badges (#3277) 2024-07-16 17:51:13 +02:00
0120 Add specs for transactional emails (#3295) 2024-08-21 20:46:17 +02:00
0121 Add specification for Translation Memory Management (#3307) 2024-09-01 19:37:00 +02:00
0000-template.md Bug 1688846: Point contributing docs from Bugzilla to GitHub (#1999) 2021-09-13 21:05:29 +02:00
0100-private-projects.md 0100 Private Projects spec update (#1624) 2020-04-28 18:37:41 +02:00
0101-terminology-presentation.md Bug 1624557: Add specification for terminology presentation (#1593) 2020-03-30 17:46:23 +02:00
0102-terminology-translation.md Fix bug 1637660: Implement Terminology translation (#1627) 2020-06-09 14:00:06 +02:00
0106-concordance-search.md Bug 1651105: Concordance search spec: Followup (#1747) 2020-11-20 16:41:32 +01:00
0107-pretranslated-status.md Add Pretranslated status and drop Fuzzy as status (#2463) 2022-04-11 15:35:17 +02:00
0108-community-health-dashboard.md New copy for the Unreviewed suggestions insights chart (#2375) 2021-11-29 14:24:26 +01:00
0109-infobar-component.md Bug 1694911 - Add specs for user infobar component (#1876) 2021-03-26 16:57:22 +01:00
0110-notifications-opt-out.md Add spec for opting-out of notification types (#2341) 2021-10-22 14:21:15 +02:00
0111-redesign-profile-page.md Add contribution timeline (#2617) 2022-09-08 21:12:13 +02:00
0112-new-contributor-guidelines.md Spec Guidelines for new contributors (#2542) 2022-06-05 02:55:31 +02:00
0113-pretranslation-opt-in.md Add specs for Pretranslation opt-in UI (#2895) 2023-06-26 10:56:11 +02:00
0114-light-theme.md Add theme selector mockups (#2971) 2023-10-03 13:57:00 +02:00
0115-pretranslation-monitoring.md Add Pretranslation Monitoring spec (#2904) 2023-07-25 18:30:23 +02:00
0116-LLM-assisted-translations.md Add Specification for LLM-Assisted Translations (#3071) 2024-01-25 16:10:38 +01:00
0117-email-opt-in-unsubscribe.md Add specs for Email consent opt-in and Unsubscribe page (#3110) 2024-04-15 14:08:51 +02:00
0118-messaging-center.md Add specs for Notification Center (#3143) 2024-04-03 23:19:15 +02:00
0119-gamification-badges.md Introduce project manager status banner (#3422) 2024-11-05 15:37:07 +01:00
0120-transactional-emails.md Add specs for transactional emails (#3295) 2024-08-21 20:46:17 +02:00
0121-translation-memory-management.md Add specification for Translation Memory Management (#3307) 2024-09-01 19:37:00 +02:00