Skip to content

Conversation

@tim48-robot
Copy link
Contributor

@tim48-robot tim48-robot commented Jan 23, 2026

This PR addresses three issues with the cooperator invitation system:

  1. Fixed duplicate entries bug - Inviting an existing cooperator no longer creates duplicates; instead, their role is updated
  2. Fixed missing i18n key - Notification template now displays correctly instead of showing raw translation keys
  3. Added viewer-language support - Notifications now include i18n keys so they can display in the receiver's preferred language

fixes #1398

2026-01-23.14-00-58.mp4

- Prevent duplicate cooperator entries when re-inviting same email
- Update existing cooperator's role instead of creating duplicate
- Add toast feedback for role updates vs new invites
- Add missing 'invite_message' i18n key to all 10 locale files
@tim48-robot tim48-robot force-pushed the fix/cooperator-i18n-clean branch 3 times, most recently from 5fe7f2c to 35358f6 Compare January 28, 2026 05:03
@github-actions github-actions bot added size/L and removed size/M labels Jan 28, 2026
@tim48-robot tim48-robot force-pushed the fix/cooperator-i18n-clean branch 3 times, most recently from 93f3000 to 08a1e09 Compare January 28, 2026 06:01
@tim48-robot tim48-robot force-pushed the fix/cooperator-i18n-clean branch from 66a9e80 to 8c6c938 Compare January 28, 2026 07:01
…locales

- Added translation keys for notification titles and descriptions
- Synchronized locale structures across all 10 languages
- Cleaned up redundant and duplicate notification keys
- Added type field (Message, Collaboration) to notifications
- Fixed Notification model to use null instead of undefined for optional fields
- Fixed NotificationButton dropdown to only show dialog for Collaboration type
- Fixed NotificationPage to handle different notification types correctly
- Messages now use redirectsTo: null (no redirect needed)
- Removed debug console.log statements
- Removed type badge from NotificationItem to prevent UI overlap
@tim48-robot tim48-robot force-pushed the fix/cooperator-i18n-clean branch from 8c6c938 to 1b0be18 Compare January 28, 2026 08:57
- Fixed gap utility class (gap-4 → ga-4) for proper Vuetify spacing
- Reduced dropdown title size (text-h6 → text-subtitle-1)
- Changed message author from testAdmin to current user email
@sonarqubecloud
Copy link

@tim48-robot
Copy link
Contributor Author

additional info i forgot to say

  • reinvite, since its one click, will give template message, and on receiver end it will say that its sent by {test creator}
2026-01-28.17-39-44.3.mp4

@tim48-robot
Copy link
Contributor Author

hey @KarinePistili, i think its ready to review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🐞 BUG]: i18n missing key & cooperator invited multiple times

2 participants