Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages-demos/constructs/Apps/ConstructsApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace ConstructsExample.Apps;

[App(icon: Icons.FileCode2, title: "Constructs")]
[App(icon: Icons.FileCode, title: "Constructs")]
public class ConstructsApp : ViewBase
{
private RootConstruct? _root;
Expand Down
2 changes: 1 addition & 1 deletion packages-demos/constructs/ConstructsExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Constructs" Version="10.4.4" />
<PackageReference Include="Ivy" Version="1.2.6" />
<PackageReference Include="Ivy" Version="1.2.7" />
</ItemGroup>
<ItemGroup>
<Folder Include="Apps" />
Expand Down
4 changes: 2 additions & 2 deletions packages-demos/naudio/Apps/NAudioApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public class NAudioApp : ViewBase
| (!string.IsNullOrEmpty(genDataUrl.Value)
? Layout.Vertical().Gap(2)
| Text.Small("Generated Audio")
| new Audio(genDataUrl.Value)
| new AudioPlayer(genDataUrl.Value)
.Controls(true)
.Key($"audio-gen-{genVersion.Value}")
: null!)
Expand Down Expand Up @@ -184,7 +184,7 @@ public class NAudioApp : ViewBase
| (!string.IsNullOrEmpty(mixDataUrl.Value)
? Layout.Vertical().Gap(2)
| Text.Small("Mixed Audio")
| new Audio(mixDataUrl.Value)
| new AudioPlayer(mixDataUrl.Value)
.Controls(true)
.Key($"audio-mix-{mixVersion.Value}")
: null!)
Expand Down
2 changes: 1 addition & 1 deletion packages-demos/naudio/NAudioExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Ivy" Version="1.2.6" />
<PackageReference Include="Ivy" Version="1.2.7" />
<PackageReference Include="NAudio" Version="2.2.1" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion packages-demos/puppeteersharp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

Console.WriteLine("Download complete. Running App..");

server.UseBuilder(builder =>
server.UseWebApplicationBuilder(builder =>
{
builder.Services.AddSingleton<IStartupFilter, DownloadEndpointStartupFilter>();
});
Expand Down
2 changes: 1 addition & 1 deletion packages-demos/puppeteersharp/PuppeteerSharpExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Ivy" Version="1.2.6" />
<PackageReference Include="Ivy" Version="1.2.7" />
<PackageReference Include="PuppeteerSharp" Version="20.2.5" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public override object Build()
return card | new ErrorTeaserView(exception.Value);
}

if (chart.Value == null)
{
return card | new Skeleton();
}
// if (chart.Value == null)
// {
// return card | new Skeleton();
// }

return card | chart.Value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ public override object Build()
return card | new ErrorTeaserView(exception.Value);
}

if (chart.Value == null)
{
return card | new Skeleton();
}
// if (chart.Value == null)
// {
// return card | new Skeleton();
// }

return card | chart.Value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public override object Build()
return card | new ErrorTeaserView(exception.Value);
}

if (chart.Value == null)
{
return card | new Skeleton();
}
// if (chart.Value == null)
// {
// return card | new Skeleton();
// }

return card | chart.Value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ public class LeadConversionBySourcePieChartView(DateTime startDate, DateTime end
return card | new ErrorTeaserView(exception.Value);
}

if (chart.Value == null)
{
return card | new Skeleton();
}
// if (chart.Value == null)
// {
// return card | new Skeleton();
// }

return card | chart.Value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ public class TaskCompletionRateLineChartView(DateTime startDate, DateTime endDat
return card | new ErrorTeaserView(exception.Value);
}

if (chart.Value == null)
{
return card | new Skeleton();
}
// if (chart.Value == null)
// {
// return card | new Skeleton();
// }

return card | chart.Value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ public class VehicleStatusDistributionPieChartView(DateTime startDate, DateTime
return card | new ErrorTeaserView(exception.Value);
}

if (chart.Value == null)
{
return card | new Skeleton();
}
// if (chart.Value == null)
// {
// return card | new Skeleton();
// }

return card | chart.Value;
}
Expand Down
2 changes: 1 addition & 1 deletion project-demos/autodealer-crm/AutodealerCrm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<EmbeddedResource Include="Assets/**/*" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Ivy" Version="1.2.6" />
<PackageReference Include="Ivy" Version="1.2.7" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
2 changes: 1 addition & 1 deletion project-demos/cold-call-tracker/Apps/DataTableApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ public class DataTableApp : ViewBase
new Separator(),
new Button("View API Response", _ => showExampleData.Set(_ => true))
.Variant(ButtonVariant.Ghost)
]) : new Empty()
]) : new Spacer()
], gap: 12)
).Width(Size.Units(140));
}
Expand Down
2 changes: 1 addition & 1 deletion project-demos/cold-call-tracker/ColdCallTracker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<EmbeddedResource Include="Assets/**/*" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Ivy" Version="1.2.6" />
<PackageReference Include="Ivy" Version="1.2.7" />
</ItemGroup>
<ItemGroup>
<Folder Include="Apps" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ public class DailyDealAmountsLineChartView(DateTime startDate, DateTime endDate)
return card | new ErrorTeaserView(exception.Value);
}

if (chart.Value == null)
{
return card | new Skeleton();
}
// if (chart.Value == null)
// {
// return card | new Skeleton();
// }

return card | chart.Value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ public class DailyDealCountByRoundLineChartView(DateTime startDate, DateTime end
return card | new ErrorTeaserView(exception.Value);
}

if (chart.Value == null)
{
return card | new Skeleton();
}
// if (chart.Value == null)
// {
// return card | new Skeleton();
// }

return card | chart.Value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public override object Build()
return card | new ErrorTeaserView(exception.Value);
}

if (chart.Value == null)
{
return card | new Skeleton();
}
// if (chart.Value == null)
// {
// return card | new Skeleton();
// }

return card | chart.Value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ public class GenderDistributionOfFoundersPieChartView(DateTime fromDate, DateTim
return card | new ErrorTeaserView(exception.Value);
}

if (chart.Value == null)
{
return card | new Skeleton();
}
// if (chart.Value == null)
// {
// return card | new Skeleton();
// }

return card | chart.Value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public class IndustryDistributionOfStartupsPieChartView(DateTime fromDate, DateT
return card | new ErrorTeaserView(exception.Value);
}

if (chart.Value == null)
{
return card | new Skeleton();
}
// if (chart.Value == null)
// {
// return card | new Skeleton();
// }

return card | chart.Value;
}
Expand Down
2 changes: 1 addition & 1 deletion project-demos/crm-vc/Vc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<EmbeddedResource Include="Assets/**/*" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Ivy" Version="1.2.6" />
<PackageReference Include="Ivy" Version="1.2.7" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Design" Version="1.1.6" />
Expand Down
33 changes: 17 additions & 16 deletions project-demos/snowflake-dashboard/Apps/DashboardApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,22 +80,23 @@ ORDER BY ItemCount DESC
return Layout.Vertical().Gap(4).Padding(4).Align(Align.TopCenter)
| Text.H1("Snowflake Dashboard")
| Text.Muted($"Analyzing Top {LIMIT} Brands")
| (Layout.Grid().Columns(5).Gap(3).Width(Size.Fraction(CONTENT_WIDTH))
| new Skeleton().Height(Size.Units(50))
| new Skeleton().Height(Size.Units(50))
| new Skeleton().Height(Size.Units(50))
| new Skeleton().Height(Size.Units(50))
| new Skeleton().Height(Size.Units(50)))
| (Layout.Grid().Columns(4).Gap(3).Width(Size.Fraction(CONTENT_WIDTH))
| new Skeleton().Height(Size.Units(80))
| new Skeleton().Height(Size.Units(80))
| new Skeleton().Height(Size.Units(80))
| new Skeleton().Height(Size.Units(80)))
| (Layout.Grid().Columns(3).Gap(3).Width(Size.Fraction(CONTENT_WIDTH))
| new Skeleton().Height(Size.Units(80))
| new Skeleton().Height(Size.Units(80))
| new Skeleton().Height(Size.Units(80)))
| new Skeleton().Height(Size.Units(170)).Width(Size.Fraction(CONTENT_WIDTH));
| Text.Muted("Loading data...");
// | (Layout.Grid().Columns(5).Gap(3).Width(Size.Fraction(CONTENT_WIDTH))
// | new Skeleton().Height(Size.Units(50))
// | new Skeleton().Height(Size.Units(50))
// | new Skeleton().Height(Size.Units(50))
// | new Skeleton().Height(Size.Units(50))
// | new Skeleton().Height(Size.Units(50)))
// | (Layout.Grid().Columns(4).Gap(3).Width(Size.Fraction(CONTENT_WIDTH))
// | new Skeleton().Height(Size.Units(80))
// | new Skeleton().Height(Size.Units(80))
// | new Skeleton().Height(Size.Units(80))
// | new Skeleton().Height(Size.Units(80)))
// | (Layout.Grid().Columns(3).Gap(3).Width(Size.Fraction(CONTENT_WIDTH))
// | new Skeleton().Height(Size.Units(80))
// | new Skeleton().Height(Size.Units(80))
// | new Skeleton().Height(Size.Units(80)))
// | new Skeleton().Height(Size.Units(170)).Width(Size.Fraction(CONTENT_WIDTH));
}

// Key metrics
Expand Down
4 changes: 2 additions & 2 deletions project-demos/snowflake-dashboard/SnowflakeDashboard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<NoWarn>CS8618;CS8603;CS8602;CS8604;CS9113</NoWarn>
<NoWarn>CS8618;CS8603;CS8602;CS8604;CS9113;NU1901</NoWarn>
<RootNamespace>SnowflakeDashboard</RootNamespace>
<UserSecretsId>eaa0f587-8bd7-4165-8bb4-0e62dad3c0a7</UserSecretsId>
</PropertyGroup>
Expand All @@ -17,7 +17,7 @@


<ItemGroup>
<PackageReference Include="Ivy" Version="1.2.6" />
<PackageReference Include="Ivy" Version="1.2.7" />
<PackageReference Include="Snowflake.Data" Version="5.2.1" />
</ItemGroup>

Expand Down
Loading