-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db427f2
commit afa7a24
Showing
2 changed files
with
150 additions
and
2 deletions.
There are no files selected for viewing
146 changes: 146 additions & 0 deletions
146
enc_temp_folder/5b479cd52f87a783d65d9ac223e3f1b/TasksPaneContent.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
<!-- | ||
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under | ||
the MIT License. See LICENSE in the project root for license information. | ||
--> | ||
<UserControl x:Class="TerminalApp.TasksPaneContent" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:SettingsModel="using:Microsoft.Terminal.Settings.Model" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:local="using:TerminalApp" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:model="using:Microsoft.Terminal.Settings.Model" | ||
xmlns:mux="using:Microsoft.UI.Xaml.Controls" | ||
AllowFocusOnInteraction="True" | ||
IsTabStop="True" | ||
TabNavigation="Cycle" | ||
mc:Ignorable="d"> | ||
|
||
<UserControl.Resources> | ||
<ResourceDictionary> | ||
<model:IconPathConverter x:Key="IconSourceConverter" /> | ||
|
||
<DataTemplate x:Key="ListItemTemplate" | ||
x:DataType="local:FilteredCommand"> | ||
<ListViewItem Height="32" | ||
MinHeight="0" | ||
Padding="16,0,12,0" | ||
HorizontalContentAlignment="Stretch" | ||
AutomationProperties.AcceleratorKey="{x:Bind Item.KeyChordText, Mode=OneWay}" | ||
AutomationProperties.Name="{x:Bind Item.Name, Mode=OneWay}" | ||
FontSize="12" /> | ||
</DataTemplate> | ||
<DataTemplate x:Key="TaskItemTemplate" | ||
x:DataType="local:TaskViewModel"> | ||
<mux:TreeViewItem x:Name="rootItem" | ||
ItemsSource="{x:Bind Children}"> | ||
<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="*" /> | ||
<RowDefinition Height="*" /> | ||
</Grid.RowDefinitions> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="Auto" /> | ||
<ColumnDefinition Width="*" /> | ||
</Grid.ColumnDefinitions> | ||
<ContentPresenter Grid.Column="0"> | ||
<IconSourceElement Width="16" | ||
Height="16" | ||
IconSource="{x:Bind IconPath, Converter={StaticResource IconSourceConverter}}" | ||
Visibility="Collapsed" /> | ||
</ContentPresenter> | ||
<!-- <Ellipse x:Name="Ellipse" | ||
Grid.RowSpan="2" | ||
Width ="32" | ||
Height="32" | ||
Margin="6" | ||
VerticalAlignment="Center" | ||
HorizontalAlignment="Center" | ||
Fill="{ThemeResource SystemControlBackgroundBaseMediumBrush}"/>--> | ||
<Button Grid.Row="0" | ||
Grid.Column="0" | ||
Click="_runCommandButtonClicked"> | ||
|
||
<Button.Content> | ||
<FontIcon FontFamily="Segoe Fluent Icons, Segoe MDL2 Assets" | ||
FontSize="12" | ||
Glyph="" /> | ||
</Button.Content> | ||
|
||
<Button.Resources> | ||
<ResourceDictionary> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Light"> | ||
<SolidColorBrush x:Key="ButtonForegroundPointerOver" | ||
Color="{StaticResource SystemAccentColor}" /> | ||
<SolidColorBrush x:Key="ButtonForegroundPressed" | ||
Color="{StaticResource SystemAccentColor}" /> | ||
</ResourceDictionary> | ||
<ResourceDictionary x:Key="Dark"> | ||
<SolidColorBrush x:Key="ButtonForegroundPointerOver" | ||
Color="{StaticResource SystemAccentColor}" /> | ||
<SolidColorBrush x:Key="ButtonForegroundPressed" | ||
Color="{StaticResource SystemAccentColor}" /> | ||
</ResourceDictionary> | ||
<ResourceDictionary x:Key="HighContrast"> | ||
<SolidColorBrush x:Key="ButtonBackground" | ||
Color="{ThemeResource SystemColorButtonFaceColor}" /> | ||
<SolidColorBrush x:Key="ButtonBackgroundPointerOver" | ||
Color="{ThemeResource SystemColorHighlightColor}" /> | ||
<SolidColorBrush x:Key="ButtonBackgroundPressed" | ||
Color="{ThemeResource SystemColorHighlightColor}" /> | ||
<SolidColorBrush x:Key="ButtonForeground" | ||
Color="{ThemeResource SystemColorButtonTextColor}" /> | ||
<SolidColorBrush x:Key="ButtonForegroundPointerOver" | ||
Color="{ThemeResource SystemColorHighlightTextColor}" /> | ||
<SolidColorBrush x:Key="ButtonForegroundPressed" | ||
Color="{ThemeResource SystemColorHighlightTextColor}" /> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
</ResourceDictionary> | ||
</Button.Resources> | ||
</Button> | ||
|
||
<TextBlock Grid.Column="1" | ||
Margin="12,6,0,0" | ||
Style="{ThemeResource BaseTextBlockStyle}" | ||
Text="{x:Bind Name, Mode=OneWay}" /> | ||
<TextBlock Grid.Row="1" | ||
Grid.Column="1" | ||
Margin="12,0,0,6" | ||
MaxLines="1" | ||
Style="{ThemeResource BodyTextBlockStyle}" | ||
Text="{x:Bind Input}" | ||
Visibility="{Binding ElementName=rootItem, Path=IsSelected}" /> | ||
</Grid> | ||
</mux:TreeViewItem> | ||
</DataTemplate> | ||
</ResourceDictionary> | ||
</UserControl.Resources> | ||
|
||
<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="*" /> | ||
</Grid.RowDefinitions> | ||
|
||
<TextBlock x:Name="_title" | ||
Grid.Row="0" | ||
Margin="9" | ||
FontSize="24" | ||
Text="Tasks" /> | ||
|
||
<TextBox x:Name="_filterBox" | ||
Grid.Row="1" | ||
Margin="8" | ||
PlaceholderText="Filter tasks..." /> | ||
|
||
<mux:TreeView x:Name="_treeView" | ||
Grid.Row="2" | ||
CanDragItems="False" | ||
CanReorderItems="False" | ||
ItemTemplate="{StaticResource TaskItemTemplate}" /> | ||
</Grid> | ||
|
||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
afa7a24
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@check-spelling-bot Report
🔴 Please review
See the 📜action log or 📝 job summary for details.
Unrecognized words (2)
actiopn
taskpane
Previously acknowledged words that are now absent
chcbpat DESTINATIONNAME inputrc kcub kcud kcuf kcuu khome Mbxy QUESTIONMARK reallocs reamapping RTFTo WScript xff 🫥To accept these unrecognized words as correct and remove the previously acknowledged and now absent words, you could run the following commands
... in a clone of the git@github.com:microsoft/terminal.git repository
on the
dev/migrie/fhl/tasks-pane
branch (ℹ️ how do I use this?):Available 📚 dictionaries could cover words (expected and unrecognized) not in the 📘 dictionary
This includes both expected items (2245) from .github/actions/spelling/expect/04cdb9b77d6827c0202f51acd4205b017015bfff.txt
.github/actions/spelling/expect/alphabet.txt
.github/actions/spelling/expect/expect.txt
.github/actions/spelling/expect/web.txt and unrecognized words (2)
Consider adding them (in
.github/workflows/spelling2.yml
) foruses: check-spelling/check-spelling@v0.0.22
in itswith
:To stop checking additional dictionaries, add (in
.github/workflows/spelling2.yml
) foruses: check-spelling/check-spelling@v0.0.22
in itswith
:Errors (1)
See the 📜action log or 📝 job summary for details.
See ❌ Event descriptions for more information.
✏️ Contributor please read this
By default the command suggestion will generate a file named based on your commit. That's generally ok as long as you add the file to your commit. Someone can reorganize it later.
If the listed items are:
.github/actions/spelling/allow/names.txt
..github/actions/spelling/allow/
..github/actions/spelling/expect/
..github/actions/spelling/patterns/
.See the
README.md
in each directory for more information.🔬 You can test your commits without appending to a PR by creating a new branch with that extra change and pushing it to your fork. The check-spelling action will run in response to your push -- it doesn't require an open pull request. By using such a branch, you can limit the number of typos your peers see you make. 😉
If the flagged items are 🤯 false positives
If items relate to a ...
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using).well-formed pattern.
If you can write a pattern that would match it,
try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.