using Avalonia.Controls;

namespace DodoSSH.Client.App.Views;

/// <summary>
/// The column beside the hosts grid: what the selected host is, or one of the two editors.
/// </summary>
/// <remarks>
/// <para>
/// This was <c>HostSidebar</c>, which held the host list as well and sat on the left. The list is a grid of
/// cards on <see cref="HostsScreen"/> now, so everything that made that control need code — the double-tap
/// that connects, the right click that moves the selection before the menu opens, and the drag that files a
/// host into a group — went with the list. What is left is markup, which is why this class is empty.
/// </para>
/// <para>
/// Its data context is the <c>VaultViewModel</c>, so every binding in the markup is a property of the vault
/// rather than of the shell. <see cref="HostsScreen"/> hands it over.
/// </para>
/// </remarks>
internal sealed partial class HostDrawer : UserControl
{
    public HostDrawer() => InitializeComponent();
}
