Windows 0.3.4 connection resilience and fixed-grid source delta; no private history or other platform changes
This commit is contained in:
@@ -383,6 +383,26 @@ internal sealed partial class MainForm
|
||||
}).ToList()
|
||||
});
|
||||
form.LayoutDashboard(); Capture("half-size-tailnet-servers");
|
||||
checks["fixed_grid_all_three_rows_share_value_columns"] = form._usageMetric.Left == form._uploadMetric.Left
|
||||
&& form._sessionMetric.Left == form._downloadMetric.Left
|
||||
&& form._usageMetric.Width == form._uploadMetric.Width && form._sessionMetric.Width == form._downloadMetric.Width
|
||||
&& form._tailnetUploadMetric.Bounds == form._uploadMetric.Bounds && form._tailnetDownloadMetric.Bounds == form._downloadMetric.Bounds;
|
||||
checks["fixed_grid_configuration_rows_share_baselines"] = form._connectionModeCombo.PointToScreen(Point.Empty).Y == form._currentNodeLabel.PointToScreen(Point.Empty).Y
|
||||
&& form._routeCombo.PointToScreen(Point.Empty).Y == form._routeReadOnly.PointToScreen(Point.Empty).Y
|
||||
&& form._connectionModeCombo.Height == form._currentNodeLabel.Height && form._routeCombo.Height == form._routeReadOnly.Height;
|
||||
checks["fixed_grid_headers_vertically_centered"] = new[] { form._selectionHeading,form._routeHeading,form._nodeHeading,
|
||||
form._actualModeHeading,form._trafficHeading,form._tailnetTrafficHeading,form._dailyHeading,form._trendHeading }
|
||||
.All(label=>label.TextAlign == ContentAlignment.MiddleLeft);
|
||||
checks["fixed_grid_trend_title_range_share_header"] = form._trendHeading.Top == form._historyRangeCombo.Top
|
||||
&& form._trendHeading.Height == form._historyRangeCombo.Height && form._trendHeading.Right < form._historyRangeCombo.Left
|
||||
&& form._trafficChart.Top > form._historyRangeCombo.Bottom;
|
||||
checks["fixed_grid_header_account_actions_share_centerline"] = form._welcomeLabel.Top == form._logoutButton.Top
|
||||
&& form._welcomeLabel.Height == form._logoutButton.Height && form._logoutButton.Top == form._windowChrome!.MinimizeButton.Top
|
||||
&& form._logoutButton.Height == form._windowChrome.MinimizeButton.Height && form._welcomeLabel.Right < form._logoutButton.Left
|
||||
&& form._logoutButton.Right < form._windowChrome.MinimizeButton.Left;
|
||||
checks["fixed_grid_outer_eight_logical_margin"] = form._statusCard.Top == form.ScaleLogical(8)
|
||||
&& form._statusCard.Left == form.ScaleLogical(8) && form._statusCard.Right == form._dashboardBody.Width-form.ScaleLogical(8)
|
||||
&& form._footer.Bottom == form._dashboardBody.Height-form.ScaleLogical(8);
|
||||
checks["half_size_tailnet_servers_fit"] = form.DashboardControlsFit() && !form._dashboardScrollBar.Visible
|
||||
&& form._nodeTrafficPanel.Bottom<form._footer.Top;
|
||||
form.SetNodeTrafficPermission(false);
|
||||
|
||||
Reference in New Issue
Block a user