Skip to content

Commit

Permalink
docs: Add tips to the Tag grouping feature. #641
Browse files Browse the repository at this point in the history
  • Loading branch information
VShawn committed Apr 4, 2024
1 parent 71ecd65 commit 12efea1
Show file tree
Hide file tree
Showing 16 changed files with 46 additions and 1 deletion.
1 change: 1 addition & 0 deletions Ui/Controls/TagsEditor.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public TagsEditor()
{
InitializeComponent();
TbNewTag.OnSelectionConfirm += AddNewTag;
TbNewTag.Text = "";
}

private void UpdateSelections()
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/cs-cz.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<s:String x:Key="Language">Jazyk</s:String>
<s:String x:Key="Startup">Při startu</s:String>
<s:String x:Key="Tags">Štítky</s:String>
<s:String x:Key="Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.">Stisknutím klávesy Enter přidáte značku, která se používá pro seskupování serverů. Kliknutím pravým tlačítkem na štítky na domovské stránce můžete filtrovat nebo připnout konkrétní štítek.</s:String>
<s:String x:Key="Logo">Logo</s:String>
<s:String x:Key="Hostname">Název stroje</s:String>
<s:String x:Key="Target">Cíl</s:String>
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/de-de.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<s:String x:Key="Language">Sprache</s:String>
<s:String x:Key="Startup">Start</s:String>
<s:String x:Key="Tags">Tags</s:String>
<s:String x:Key="Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.">Drücken Sie die Eingabetaste, um ein Tag hinzuzufügen, das zum Gruppieren von Servern verwendet wird. Durch einen Rechtsklick auf die Tags auf der Startseite können Sie ein bestimmtes Tag filtern oder anpinnen.</s:String>
<s:String x:Key="Logo">Logo</s:String>
<s:String x:Key="Hostname">Hostname</s:String>
<s:String x:Key="Target">Ziel</s:String>
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/en-us.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<s:String x:Key="Language">Language</s:String>
<s:String x:Key="Startup">Startup</s:String>
<s:String x:Key="Tags">Tags</s:String>
<s:String x:Key="Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.">Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.</s:String>
<s:String x:Key="Logo">Logo</s:String>
<s:String x:Key="Hostname">Hostname</s:String>
<s:String x:Key="Target">Target</s:String>
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/fr-fr.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<s:String x:Key="Language">Langue</s:String>
<s:String x:Key="Startup">Commencez</s:String>
<s:String x:Key="Tags">Mots clés</s:String>
<s:String x:Key="Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.">Appuyez sur Entrée pour ajouter une balise utilisée pour regrouper les serveurs. En cliquant avec le bouton droit sur les balises de la page d'accueil, vous pouvez filtrer ou épingler une balise spécifique.</s:String>
<s:String x:Key="Logo">Logo</s:String>
<s:String x:Key="Hostname">Nom d'hôte</s:String>
<s:String x:Key="Target">Cibler</s:String>
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/gl-es.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<s:String x:Key="Language">Lingua</s:String>
<s:String x:Key="Startup">Comezo</s:String>
<s:String x:Key="Tags">Etiquetas</s:String>
<s:String x:Key="Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.">Preme Intro para engadir unha etiqueta, que se usa para agrupar servidores. Facendo clic co botón dereito nas etiquetas da páxina de inicio, pode filtrar ou fixar unha etiqueta específica.</s:String>
<s:String x:Key="Logo">Logo</s:String>
<s:String x:Key="Hostname">Nome do host</s:String>
<s:String x:Key="Target">Destiño</s:String>
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/glossary.csv
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ About;About;关于;O aplikaci;Über;À propos;Sobre;;關於;Sobre;O programie;О
Language;Language;语言;Jazyk;Sprache;Langue;Idioma;;語言;Lingua;Język;Язык
Startup;Startup;启动;Při startu;Start;Commencez;Inicialização;;啟動;Comezo;Uruchomienie;Запуск
Tags;Tags;标签;Štítky;Tags;;Marcações;;標籤;Etiquetas;Tagi;Теги
Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.;Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.;按下回车键添加一个标签,标签用于服务器分组。通过鼠标右键点击主页中的标签可签筛选或固定某个标签。;;;;;;;;;
Logo;Logo;图标;Logo;Logo;;Logotipo;;圖示;Logo;Logo;Логотип
Hostname;Hostname;地址;Název stroje;Hostname;;Hospedeiro;;主機名稱;Nome do host;Nazwa komputera;Имя хоста
Target;Target;目标;Cíl;Ziel;Cibler;;;目標;Destiño;Cel;Цель
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/glossary_translated_by_google.csv
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ About;About;关于;O aplikaci;Über;À propos;Sobre;だいたい;關於;Sobre;O
Language;Language;语言;Jazyk;Sprache;Langue;Idioma;言語;語言;Lingua;Język;Язык
Startup;Startup;启动;Při startu;Start;Commencez;Inicialização;起動;啟動;Comezo;Uruchomienie;Запуск
Tags;Tags;标签;Štítky;Tags;Mots clés;Marcações;タグ;標籤;Etiquetas;Tagi;Теги
Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.;Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.;按下回车键添加一个标签,标签用于服务器分组。通过鼠标右键点击主页中的标签可签筛选或固定某个标签。;Stisknutím klávesy Enter přidáte značku, která se používá pro seskupování serverů. Kliknutím pravým tlačítkem na štítky na domovské stránce můžete filtrovat nebo připnout konkrétní štítek.;Drücken Sie die Eingabetaste, um ein Tag hinzuzufügen, das zum Gruppieren von Servern verwendet wird. Durch einen Rechtsklick auf die Tags auf der Startseite können Sie ein bestimmtes Tag filtern oder anpinnen.;Appuyez sur Entrée pour ajouter une balise utilisée pour regrouper les serveurs. En cliquant avec le bouton droit sur les balises de la page d'accueil, vous pouvez filtrer ou épingler une balise spécifique.;Pressione Enter para adicionar uma tag, que é usada para agrupar servidores. Ao clicar com o botão direito nas tags da página inicial, você pode filtrar ou fixar uma tag específica.;Enter キーを押して、サーバーのグループ化に使用されるタグを追加します。ホームページ上のタグを右クリックすると、特定のタグをフィルターしたり固定したりできます。;按 Enter 新增標籤,用於將伺服器分組。透過右鍵單擊主頁上的標籤,您可以過濾或固定特定標籤。;Preme Intro para engadir unha etiqueta, que se usa para agrupar servidores. Facendo clic co botón dereito nas etiquetas da páxina de inicio, pode filtrar ou fixar unha etiqueta específica.;Naciśnij Enter, aby dodać tag, który służy do grupowania serwerów. Klikając prawym przyciskiem myszy tagi na stronie głównej, możesz odfiltrować lub przypiąć konkretny tag.;Нажмите Enter, чтобы добавить тег, который будет использоваться для группировки серверов. Щелкнув правой кнопкой мыши теги на главной странице, вы можете отфильтровать или закрепить определенный тег.
Logo;Logo;图标;Logo;Logo;Logo;Logotipo;ロゴ;圖示;Logo;Logo;Логотип
Hostname;Hostname;地址;Název stroje;Hostname;Nom d'hôte;Hospedeiro;ホスト名;主機名稱;Nome do host;Nazwa komputera;Имя хоста
Target;Target;目标;Cíl;Ziel;Cibler;Alvo;目標;目標;Destiño;Cel;Цель
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/ja-jp.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<s:String x:Key="Language">言語</s:String>
<s:String x:Key="Startup">起動</s:String>
<s:String x:Key="Tags">タグ</s:String>
<s:String x:Key="Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.">Enter キーを押して、サーバーのグループ化に使用されるタグを追加します。ホームページ上のタグを右クリックすると、特定のタグをフィルターしたり固定したりできます。</s:String>
<s:String x:Key="Logo">ロゴ</s:String>
<s:String x:Key="Hostname">ホスト名</s:String>
<s:String x:Key="Target">目標</s:String>
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/pl-pl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<s:String x:Key="Language">Język</s:String>
<s:String x:Key="Startup">Uruchomienie</s:String>
<s:String x:Key="Tags">Tagi</s:String>
<s:String x:Key="Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.">Naciśnij Enter, aby dodać tag, który służy do grupowania serwerów. Klikając prawym przyciskiem myszy tagi na stronie głównej, możesz odfiltrować lub przypiąć konkretny tag.</s:String>
<s:String x:Key="Logo">Logo</s:String>
<s:String x:Key="Hostname">Nazwa komputera</s:String>
<s:String x:Key="Target">Cel</s:String>
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/pt-br.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<s:String x:Key="Language">Idioma</s:String>
<s:String x:Key="Startup">Inicialização</s:String>
<s:String x:Key="Tags">Marcações</s:String>
<s:String x:Key="Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.">Pressione Enter para adicionar uma tag, que é usada para agrupar servidores. Ao clicar com o botão direito nas tags da página inicial, você pode filtrar ou fixar uma tag específica.</s:String>
<s:String x:Key="Logo">Logotipo</s:String>
<s:String x:Key="Hostname">Hospedeiro</s:String>
<s:String x:Key="Target">Alvo</s:String>
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/ru-ru.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<s:String x:Key="Language">Язык</s:String>
<s:String x:Key="Startup">Запуск</s:String>
<s:String x:Key="Tags">Теги</s:String>
<s:String x:Key="Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.">Нажмите Enter, чтобы добавить тег, который будет использоваться для группировки серверов. Щелкнув правой кнопкой мыши теги на главной странице, вы можете отфильтровать или закрепить определенный тег.</s:String>
<s:String x:Key="Logo">Логотип</s:String>
<s:String x:Key="Hostname">Имя хоста</s:String>
<s:String x:Key="Target">Цель</s:String>
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/zh-cn.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<s:String x:Key="Language">语言</s:String>
<s:String x:Key="Startup">启动</s:String>
<s:String x:Key="Tags">标签</s:String>
<s:String x:Key="Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.">按下回车键添加一个标签,标签用于服务器分组。通过鼠标右键点击主页中的标签可签筛选或固定某个标签。</s:String>
<s:String x:Key="Logo">图标</s:String>
<s:String x:Key="Hostname">地址</s:String>
<s:String x:Key="Target">目标</s:String>
Expand Down
1 change: 1 addition & 0 deletions Ui/Resources/Languages/zh-tw.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<s:String x:Key="Language">語言</s:String>
<s:String x:Key="Startup">啟動</s:String>
<s:String x:Key="Tags">標籤</s:String>
<s:String x:Key="Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.">按 Enter 新增標籤,用於將伺服器分組。透過右鍵單擊主頁上的標籤,您可以過濾或固定特定標籤。</s:String>
<s:String x:Key="Logo">圖示</s:String>
<s:String x:Key="Hostname">主機名稱</s:String>
<s:String x:Key="Target">目標</s:String>
Expand Down
15 changes: 14 additions & 1 deletion Ui/View/Editor/ServerEditorPageView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,22 @@
Selections="{Binding NameSelections, Mode=OneTime}"/>
</controls:GridWith4Columns>

<controls:GridWith4Columns>


<controls:GridWith4Columns Margin="0 15 0 0">
<TextBlock Grid.Column="0" Text="{DynamicResource Tags}" Style="{StaticResource RowHeader}"></TextBlock>
<controls:TagsEditor x:Name="TagsEditor" Grid.Column="1"
Tags="{Binding Server.Tags, Mode=TwoWay}"
TagsForSelect="{Binding TagSelections, Mode=OneTime}"></controls:TagsEditor>
</controls:GridWith4Columns>
<controls:GridWith4Columns Margin="0 5 0 15">
<TextBlock Grid.Column="1"
Text="{DynamicResource 'Press Enter to add a tag, which is used for grouping servers. By right-clicking on the tags on the homepage, you can filter or pin a specific tag.'}"
TextWrapping="WrapWithOverflow"
Opacity="0.5"></TextBlock>
</controls:GridWith4Columns>



<controls:GridWith4Columns Margin="0">
<TextBlock Grid.Column="0" Text="{DynamicResource Logo}" Style="{StaticResource RowHeader}"></TextBlock>
Expand Down Expand Up @@ -204,6 +214,7 @@
</Grid>



<controls:GridWith4Columns Margin="0 15 0 0">
<TextBlock Grid.Column="0" Text="{DynamicResource 'Script before connect'}" Style="{StaticResource RowHeader}"></TextBlock>
<TextBox Grid.Column="1"
Expand Down Expand Up @@ -236,6 +247,8 @@
</CheckBox>
</controls:GridWith4Columns>



<controls:GridWith4Columns>
<TextBlock Grid.Column="0" Text="{DynamicResource 'Script after disconnected'}" Style="{StaticResource RowHeader}"></TextBlock>
<TextBox Grid.Column="1"
Expand Down
18 changes: 18 additions & 0 deletions Ui/View/ServerList/ServerListPageView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,24 @@
</Border>


<Border Grid.Row="1" HorizontalAlignment="Left" MinHeight="100" MinWidth="100"
Margin="10 0 0 0"
Visibility="{Binding IsAddToolTipShow, Converter={StaticResource ConverterBool2Visible}}">
<StackPanel>
<Path Fill="{DynamicResource BackgroundTextBrush}"
Margin="80 10 30 5" Width="60" HorizontalAlignment="Left"
Stretch="UniformToFill" Data="M 67 0 L 62 4 L 66.62 2.035 C 66 12 47 10 47 24 C 47 24 47 24 48 24 C 48 10 67 13 67.362 2.074 L 72 4 Z" />
<TextBlock Margin="0 0 10 0"
Foreground="{DynamicResource BackgroundTextBrush}"
FontSize="24" FontWeight="Bold">Right click on a tag</TextBlock>
<TextBlock Margin="5 0 0 0"
FontSize="22" Foreground="{DynamicResource BackgroundTextBrush}"
>and pin it here to to enable grouping function.</TextBlock>
</StackPanel>
</Border>



<!-- popup when any item is selected-->
<Grid Grid.Row="2" Background="{DynamicResource PrimaryMidBrush}" Height="40">
<Grid.Style>
Expand Down

0 comments on commit 12efea1

Please sign in to comment.