Add "Share course" tooltip to ShareRoomButton (#4375)

* Initial plan

* Add 'Share course' tooltip to ShareRoomButton

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>

* Move shareCourse localization to end of intl_en.arb

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
This commit is contained in:
Copilot 2025-10-14 12:06:59 -04:00 committed by GitHub
parent b9e0ac6ee4
commit 3cfe97059d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -5315,5 +5315,10 @@
"leaveDesc": "Leave this space and all chats within it",
"selectAll": "Select all",
"deselectAll": "Deselect all",
"newMessageInPangeaChat": "💬 New message in Pangea Chat"
"newMessageInPangeaChat": "💬 New message in Pangea Chat",
"shareCourse": "Share course",
"@shareCourse": {
"type": "String",
"placeholders": {}
}
}

View file

@ -26,6 +26,7 @@ class ShareRoomButton extends StatelessWidget {
return PopupMenuButton(
useRootNavigator: true,
tooltip: L10n.of(context).shareCourse,
child: const Icon(Symbols.upload),
onSelected: (value) async {
final spaceCode = room.classCode!;