Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Oct 14, 2025

  • Add 'shareCourse' localization key to intl_en.arb
  • Add tooltip property to PopupMenuButton in share_room_button.dart
  • Validate JSON structure and code changes
  • Move shareCourse entry to the end of intl_en.arb file

Summary of Changes

Added a tooltip "Share course" to the ShareRoomButton widget that appears in the course/space details page.

Files Modified:

  1. lib/l10n/intl_en.arb: Added new localization key shareCourse with value "Share course" at the end of the file
  2. lib/pangea/common/widgets/share_room_button.dart: Added tooltip property to the PopupMenuButton

Technical Details:

  • The tooltip uses the localization system (L10n) for internationalization support
  • The button is located in the top-right corner of the space details page
  • The tooltip will appear when users hover over (desktop) or long-press (mobile) the upload icon
  • The localization entry is now at the end of intl_en.arb as requested
Original prompt

This section details on the original issue you should resolve

<issue_title>Tooltip copy => "Share course"</issue_title>
<issue_description>Image</issue_description>

<agent_instructions>Make the change in share_room_button.dart. You'll have to add the copy 'Share course' to intl_en.arb</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@wcjord Or similar if we already have some copy.

Fixes #4372


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Update tooltip copy to 'Share course' Add "Share course" tooltip to ShareRoomButton Oct 14, 2025
@Copilot Copilot AI requested a review from ggurdin October 14, 2025 15:58
Copilot finished work on behalf of ggurdin October 14, 2025 15:58
@ggurdin
Copy link
Collaborator

ggurdin commented Oct 14, 2025

@copilot Move the copy to the end of intl_en.arb

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

Copilot AI commented Oct 14, 2025

@copilot Move the copy to the end of intl_en.arb

Moved the shareCourse localization entry to the end of intl_en.arb (commit: will be included in next message)

Copilot finished work on behalf of ggurdin October 14, 2025 16:04
@ggurdin ggurdin marked this pull request as ready for review October 14, 2025 16:06
@ggurdin ggurdin merged commit 3cfe970 into main Oct 14, 2025
@ggurdin ggurdin deleted the copilot/update-tooltip-copy-share-course branch October 14, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tooltip copy => "Share course"

2 participants