Skip to content

Commit 190e04b

Browse files
csharpfritzCopilot
andcommitted
feat: Run 10 WingtipToys migration benchmark
Validates 5 Layer 1 script fixes: - P0-1: ItemType preserved on data controls (GridView/ListView/FormView/DetailsView) - P0-2: Smart stubs full markup transforms on Account/Checkout pages - P0-3: Base class stripping (: Page, using System.Web.*) - P1-1: Validator type params (Type=string, InputType=string) - P1-4: ImageButton warning detection Results: 0 errors, 0 warnings, 3 build attempts (down from 7 in Run 9) Layer 1: 673 ops in 3.35s | Layer 2: ~25 min (down from ~45 min) 35 .razor, 44 .cs, 79 wwwroot | 172 BWFC control instances, 26 types Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5c1fce5 commit 190e04b

154 files changed

Lines changed: 35631 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@page "/About"
2+
3+
<PageTitle>About</PageTitle>
4+
5+
<h2>About</h2>
6+
<h3>Your application description page.</h3>
7+
<p>Use this area to provide additional information.</p>
8+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
namespace WingtipToys;
2+
3+
public partial class About
4+
{
5+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
@page "/AddPhoneNumber"
2+
<h2>AddPhoneNumber</h2>
3+
4+
<div class="form-horizontal">
5+
<h4>Add a phone number</h4>
6+
<hr />
7+
<ValidationSummary CssClass="text-danger" />
8+
<p class="text-danger">
9+
<Literal ID="ErrorMessage" />
10+
</p>
11+
<div class="form-group">
12+
<Label AssociatedControlID="PhoneNumber" CssClass="col-md-2 control-label">Phone Number</Label>
13+
<div class="col-md-10">
14+
<TextBox ID="PhoneNumber" CssClass="form-control" TextMode="TextBoxMode.Phone" />
15+
<RequiredFieldValidator Type="string"
16+
CssClass="text-danger" ErrorMessage="The PhoneNumber field is required." />
17+
</div>
18+
</div>
19+
<div class="form-group">
20+
<div class="col-md-offset-2 col-md-10">
21+
<Button
22+
Text="Submit" CssClass="btn btn-default" />
23+
</div>
24+
</div>
25+
</div>
26+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
namespace WingtipToys.Account;
2+
3+
public partial class AddPhoneNumber
4+
{
5+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
@page "/Confirm"
2+
<h2>Confirm</h2>
3+
4+
<div>
5+
<PlaceHolder ID="successPanel" Visible="true">
6+
<p>
7+
Thank you for confirming your account. Click <HyperLink ID="login" NavigateUrl="/Account/Login">here</HyperLink> to login
8+
</p>
9+
</PlaceHolder>
10+
<PlaceHolder ID="errorPanel" Visible="false">
11+
<p class="text-danger">
12+
An error has occurred.
13+
</p>
14+
</PlaceHolder>
15+
</div>
16+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
namespace WingtipToys.Account;
2+
3+
public partial class Confirm
4+
{
5+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
@page "/Forgot"
2+
<h2>Forgot</h2>
3+
4+
<div class="row">
5+
<div class="col-md-8">
6+
<PlaceHolder id="loginForm">
7+
<div class="form-horizontal">
8+
<h4>Forgot your password?</h4>
9+
<hr />
10+
<PlaceHolder ID="ErrorMessage" Visible="false">
11+
<p class="text-danger">
12+
<Literal ID="FailureText" />
13+
</p>
14+
</PlaceHolder>
15+
<div class="form-group">
16+
<Label AssociatedControlID="Email" CssClass="col-md-2 control-label">Email</Label>
17+
<div class="col-md-10">
18+
<TextBox ID="Email" CssClass="form-control" TextMode="TextBoxMode.Email" />
19+
<RequiredFieldValidator Type="string"
20+
CssClass="text-danger" ErrorMessage="The email field is required." />
21+
</div>
22+
</div>
23+
<div class="form-group">
24+
<div class="col-md-offset-2 col-md-10">
25+
<Button Text="Submit" CssClass="btn btn-default" />
26+
</div>
27+
</div>
28+
</div>
29+
</PlaceHolder>
30+
<PlaceHolder ID="DisplayEmail" Visible="false">
31+
<p class="text-info">
32+
Please check your email to reset your password.
33+
</p>
34+
</PlaceHolder>
35+
</div>
36+
</div>
37+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
namespace WingtipToys.Account;
2+
3+
public partial class Forgot
4+
{
5+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@page "/Lockout"
2+
<hgroup>
3+
<h1>Locked out.</h1>
4+
<h2 class="text-danger">This account has been locked out, please try again later.</h2>
5+
</hgroup>
6+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
namespace WingtipToys.Account;
2+
3+
public partial class Lockout
4+
{
5+
}

0 commit comments

Comments
 (0)