Skip to content

Add tooltip text for Add button in Developer Balance template sample#32313

Merged
rmarinho merged 2 commits intodotnet:mainfrom
Vignesh-SF3580:fix-30810Tooltip
Nov 4, 2025
Merged

Add tooltip text for Add button in Developer Balance template sample#32313
rmarinho merged 2 commits intodotnet:mainfrom
Vignesh-SF3580:fix-30810Tooltip

Conversation

@Vignesh-SF3580
Copy link
Copy Markdown
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Issue Details

No tooltip was shown for the Add Button in the Developer Balance sample.


Description of Change

Added tooltip text for the Add buttons in the Project and Tasks sections.

MAUI-samples PR: dotnet/maui-samples#703

Screenshots

Mac Windows
MacTooltip.mov
WindowsTooltip.mp4

@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Oct 31, 2025
@Tamilarasan-Paranthaman Tamilarasan-Paranthaman added the area-templates Project templates, Item Templates for Blazor and MAUI label Oct 31, 2025
@Vignesh-SF3580 Vignesh-SF3580 marked this pull request as ready for review October 31, 2025 11:49
Copilot AI review requested due to automatic review settings October 31, 2025 11:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds tooltip support to AddButton controls across three XAML pages in the MAUI mobile template. The changes improve user experience by providing descriptive tooltips when users hover over the floating add buttons.

  • Adds ToolTipProperties.Text attributes to all AddButton controls
  • Ensures consistent tooltip text that matches the button's semantic description
  • Enhances desktop usability where tooltips are more relevant

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
ProjectListPage.xaml Added "Add project" tooltip to the AddButton control
ProjectDetailPage.xaml Added "Add task" tooltip to the AddButton control
MainPage.xaml Added "Add task" tooltip to the AddButton control

Comment on lines +45 to +46
Command="{Binding AddProjectCommand}"
ToolTipProperties.Text="Add project" />
Copy link

Copilot AI Oct 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent indentation: The Command attribute should align with the opening tag. The indentation should match the pattern used in the other files where attributes align properly.

Suggested change
Command="{Binding AddProjectCommand}"
ToolTipProperties.Text="Add project" />
Command="{Binding AddProjectCommand}"
ToolTipProperties.Text="Add project" />

Copilot uses AI. Check for mistakes.
<controls:AddButton
Command="{Binding AddProjectCommand}" />
Command="{Binding AddProjectCommand}"
ToolTipProperties.Text="Add project" />
Copy link

Copilot AI Oct 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing SemanticProperties.Description attribute. The AddButton control in ProjectListPage.xaml lacks a semantic description for screen readers, unlike the implementations in ProjectDetailPage.xaml and MainPage.xaml which both include SemanticProperties.Description=\"Add task\". Add SemanticProperties.Description=\"Add project\" for consistency and accessibility.

Suggested change
ToolTipProperties.Text="Add project" />
ToolTipProperties.Text="Add project"
SemanticProperties.Description="Add project" />

Copilot uses AI. Check for mistakes.
@rmarinho rmarinho merged commit 4046ce5 into dotnet:main Nov 4, 2025
19 checks passed
@Vignesh-SF3580 Vignesh-SF3580 added the community ✨ Community Contribution label Dec 3, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jan 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-templates Project templates, Item Templates for Blazor and MAUI community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants