Skip to content

Conversation

@IvenBach
Copy link
Member

@IvenBach IvenBach commented Feb 12, 2025

close #5397

git-blame indicates this feature was added a couple months after I opened the issue. It surprised me a bit when I let the mouse hover over the TextBox and it gave me the reason for a worksheet rename prohibition in the tooltip.

Reduced the timer to immediately show the tooltip for all TextBoxes using TextBoxErrorStyle. The faster the user can see the reason for the error the faster they can will correct it. TextBoxes that currently use the style reside in AnnotateDeclarationView.xaml, MoveMultipleFoldersView.xaml, MoveMultipleToFolderView.xaml, RenameView.xaml, RenameFolderView.xaml.

Show the reason why the rename is prohibited to avoid the user having to
wait for the tooltip to be shown, default time is ~1second.
Immediately show why there is an error for the input TextBox. Help the user
correct the invalid entry and not wait for the tooltip to show.
@rubberduck-vba-releasebot
Copy link
Member

@codecov
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.58%. Comparing base (1bcc6df) to head (d55aece).
Report is 8 commits behind head on next.

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #6252   +/-   ##
=======================================
  Coverage   97.58%   97.58%           
=======================================
  Files           4        4           
  Lines         413      413           
  Branches       28       28           
=======================================
  Hits          403      403           
  Misses          6        6           
  Partials        4        4           

@retailcoder retailcoder merged commit 09d0dd2 into rubberduck-vba:next Feb 19, 2025
3 checks passed
@IvenBach IvenBach deleted the issue5397_display_tooltip_immediately_to_inform_rename_prohibition_reason branch February 20, 2025 01:55
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.

Indicate *Why* refactoring a Worksheet name greater than 31 characters is prohibited

4 participants