Граф коммитов

13501 Коммитов

Автор SHA1 Сообщение Дата
Michael Hawker MSFT (XAML Llama) b605154146
Merge pull request #4173 from CommunityToolkit/shweaver/file-storage
Enable item renaming and add tests for ApplicationDataStorageHelper
2021-08-19 14:45:54 -07:00
Tung Huynh 1ba3228ae4 add Clear() and AddTokens() methods
these 2 methods support loading data into the control programmatically
2021-08-19 14:07:14 -07:00
Shane Weaver 6787487436 Removing "this." instances 2021-08-19 13:17:06 -07:00
Tung Huynh 2ffd1ff288 add header for RichSuggestQuery.cs 2021-08-19 01:24:54 -07:00
Tung Huynh c363f627c2 improve clarity for SuggestionChosenEventArgs 2021-08-18 22:57:24 -07:00
Tung Huynh 58a3cde0d0 rename Query -> QueryText everywhere 2021-08-18 22:37:26 -07:00
Tung Huynh 9d4809c4c2 trigger RichSuggestToken PropertyChanged individually 2021-08-18 22:17:08 -07:00
Tung Huynh d091e6a919 protected LockObj -> private _tokensLock 2021-08-18 21:35:05 -07:00
Tung Huynh a2b38809f0 rework SuggestionsRequested to support AdvancedCollectionView 2021-08-18 20:46:34 -07:00
Alexandre Zollinger Chohfi 9ee95a387b Merge branch 'main' into winui
# Conflicts:
#	CommunityToolkit.WinUI.SampleApp/SamplePages/KeyDownTriggerBehavior/KeyDownTriggerBehaviorXaml.bind
#	CommunityToolkit.WinUI.SampleApp/SamplePages/samples.json
#	CommunityToolkit.WinUI.UI.Animations/CommunityToolkit.WinUI.UI.Animations.csproj
#	CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ExpressionNode.cs
#	CommunityToolkit.WinUI.UI.Animations/Properties/SkipLocalsInitAttribute.cs
#	CommunityToolkit.WinUI.UI.Behaviors/Keyboard/KeyDownTriggerBehavior.cs
#	CommunityToolkit.WinUI.UI.Controls.Input/TokenizingTextBox/TokenizingTextBox.cs
#	CommunityToolkit.WinUI.UI.Controls.Input/TokenizingTextBox/TokenizingTextBoxAutomationPeer.cs
#	CommunityToolkit.WinUI.UI.Controls.Input/TokenizingTextBox/TokenizingTextBoxItem.AutoSuggestBox.cs
#	CommunityToolkit.WinUI.UI.Controls.Input/TokenizingTextBox/TokenizingTextBoxItem.cs
#	Microsoft.Toolkit.Uwp.DeveloperTools/VisualStudioToolsManifest.xml
#	Microsoft.Toolkit.Uwp.SampleApp/Microsoft.Toolkit.Uwp.SampleApp.csproj
#	Microsoft.Toolkit.Uwp.UI.Controls.Core/VisualStudioToolsManifest.xml
#	Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/VisualStudioToolsManifest.xml
#	Microsoft.Toolkit.Uwp.UI.Controls.Input/VisualStudioToolsManifest.xml
#	Microsoft.Toolkit.Uwp.UI.Controls.Layout/VisualStudioToolsManifest.xml
#	Microsoft.Toolkit.Uwp.UI.Controls.Markdown/VisualStudioToolsManifest.xml
#	Microsoft.Toolkit.Uwp.UI.Controls.Media/VisualStudioToolsManifest.xml
#	Microsoft.Toolkit.Uwp.UI.Controls.Primitives/VisualStudioToolsManifest.xml
#	UnitTests/UnitTests.NetCore/UnitTests.NetCore.csproj
#	Windows Community Toolkit.sln
2021-08-18 11:21:10 -07:00
Tung Huynh 9195720468 SuggestionsRequestedEventArgs should inherit DeferredEventArgs instead 2021-08-18 00:22:35 -07:00
Tung Huynh 0428550457 TokenHovering -> TokenPointerOver 2021-08-17 23:00:01 -07:00
Tung Huynh bc95b9a9e3 fix Tab key trap 2021-08-17 22:39:14 -07:00
Daniel Paulino f458d517ef Added unit tests 2021-08-17 22:03:53 -07:00
Arcadio Garcia Salvadores c4f6009ae9 ClearReferenceInfo 2021-08-17 16:41:50 -07:00
Stephan Troyer a620d99942
Merge branch 'CommunityToolkit:main' into rangeselector-continuous 2021-08-17 23:29:23 +02:00
Daniel 36f46bed7f
Added license text 2021-08-16 15:14:27 -07:00
Tung Huynh db0599a33a retry adding unit tests 2021-08-16 15:03:29 -07:00
Tung Huynh b39d0ba920 modify size of suggestionsContainer instead of the actual listview 2021-08-16 14:17:01 -07:00
Tung Huynh 1f3dcc7aa9 dont use UIElement.ActualSize 2021-08-16 14:05:11 -07:00
Michael Hawker MSFT (XAML Llama) 5171b99c95
Merge pull request #4169 from michael-hawker/mhawker/constrained-box-fixes
Add Value Coercion to ConstrainedBox
2021-08-16 12:41:38 -07:00
Tung Huynh 1b2e483276 test observale position 2021-08-15 14:53:48 -07:00
Tung Huynh 22cae500bb test token text separate from item 2021-08-15 13:38:43 -07:00
Tung Huynh e40e461986 add richsuggestbox UI test 2021-08-15 13:38:43 -07:00
Tung Huynh 1c1c370aaf TokenHoveringEventArgs to include a PointerPoint object 2021-08-15 13:38:43 -07:00
Tung Huynh be29388b22 refine hit test for TokenHovering 2021-08-15 13:38:43 -07:00
Tung Huynh b25cdd5bb6 use ignore attribute instead 2021-08-15 13:38:43 -07:00
Tung Huynh 56104c1e04 TokenHovering event repeatedly fire on pointer moved
clean up and polish
2021-08-15 13:38:43 -07:00
Tung Huynh 2ab8096eb3 temporarily remove tests 2021-08-15 13:38:43 -07:00
Tung Huynh 2e7d978b90 update TestAdapter and TestFramework 2021-08-15 13:38:43 -07:00
Tung Huynh b13fc0891d use content link foreground to avoid incompatible colors 2021-08-15 13:38:43 -07:00
Tung Huynh 169c716d0e update token list before triggering TextChanged 2021-08-15 13:38:43 -07:00
Tung Huynh d6e64c1d88 add winui dependency in test app 2021-08-15 13:38:43 -07:00
Tung Huynh fd99d9d971 delete text instead of resetting their character format 2021-08-15 13:38:43 -07:00
Tung Huynh 17e33995d9 try to fix test App not running on CI 2021-08-15 13:38:43 -07:00
Tung Huynh 6e53a50ba9 update test for padding 2021-08-15 13:38:43 -07:00
Tung Huynh 8f10e3bf8e pad token with Zero-Width-Spaces to avoid character format "bleed" 2021-08-15 13:38:43 -07:00
Tung Huynh 6686e7424f add tests 2021-08-15 13:38:43 -07:00
Tung Huynh 02f1076564 minor tweaks 2021-08-15 13:38:42 -07:00
Tung Huynh 70e7a417c2 reset formatting on text change that contains a token at range start 2021-08-15 13:38:42 -07:00
Tung Huynh b36c28332a pass ITextCharacterFormat to user instead of using custom RichSuggestTokenFormat 2021-08-15 13:38:42 -07:00
Tung Huynh 6e2d6f264a add synchronization for token dict 2021-08-15 13:38:42 -07:00
Tung Huynh becfc10036 miss 1 InvokeTokenSelected invocation 2021-08-15 13:38:42 -07:00
Tung Huynh 76e7c8858e fix some bugs when there is a token at the start of the document 2021-08-15 13:38:42 -07:00
Tung Huynh 6e4fb90e59 rework undo group handling 2021-08-15 13:38:42 -07:00
Tung Huynh 7c7c290698 take into account scrollviewer offsets when calculating positions 2021-08-15 13:38:42 -07:00
Tung Huynh 9d66f1a4e1 better way to handle on hovered position 2021-08-15 13:38:42 -07:00
Tung Huynh b150736401 update sample to use TokenHovered 2021-08-15 13:38:42 -07:00
Tung Huynh 2ac3e4f41e added TokenHovered event and some refactoring 2021-08-15 13:38:42 -07:00
Tung Huynh 2387ba3f53 add more features to RichSuggestBox sample 2021-08-15 13:38:42 -07:00