Skip to main content

Complete and Test the Wisej.NET 4.2 Dashboard

Local lab build for Module 7 · Complete and Test the Wisej.NET 4.2 Dashboard (lab: Demonstrate a Tested 4.2 Northwind Capstone). The complete application: the Overview gains its category chart and says when it refreshed from a change made in another view, and the palette finds every kind of record. Everything else is what Modules 1 to 6 built, checked together.

This folder is the complete application of the course, with its own solution and port. The application the lessons' source references point at is ../Wisej.NorthwindDashboard; this one is the same dashboard as the walkthrough videos show it.

Run it​

cd "Northwind Dashboard with AI Course/Module 7/NorthwindDashboard"
dotnet run -f net10.0 --urls http://localhost:6517

Open http://localhost:6517. In Visual Studio, open NorthwindDashboard.slnx and press F5.

Requirements: the .NET 10 SDK and a Wisej.NET development or trial license. The project restores the Wisej.NET package from the course's Wisej.NorthwindDashboard/packages folder (NuGet.Config maps Wisej-4 to that folder and everything else to nuget.org) into .nuget-packages in the course folder, a package cache shared by the seven module applications and ignored by git. The customer map loads its tiles from OpenStreetMap, so it needs an internet connection.

How the modules come together​

This is the full application, and every piece of it was built in an earlier module. Nothing here is a rewrite: each module added files and switched an entry in MainPage.Areas.cs from a placeholder to its view. Run it and find each piece before you trace an interaction through it.

Built inPieceWhere it lives here
Module 1The shell, the SegmentedButton period selector, the CommandPalette, the first KpiPanel cards, the customer MapView, the session's one DashboardContextMainPage.cs, MainPage.Areas.cs, Views/DashboardView.cs, Views/OverviewView.cs, Views/CustomersView.cs, Data/
Module 2Sparkline trends and the on-time gauge on the cards, the order-stage MeterBar, the shipper RadialGaugesViews/OverviewView.cs, Views/FulfillmentView.cs
Module 3Sales and its five ChartView charts; a country bar opens CustomersViews/SalesView.cs, Views/CustomersView.cs
Module 4Orders: ChipGroup, QueryBuilder, the six new grid column types, EmptyState, the order dialog with its StepperViews/OrdersView.cs, Views/GridRows.cs, Dialogs/OrderDialog.cs
Module 5Fulfillment as KanbanBoard, SchedulerView and GanttView; Products with ActionCardList; Timeline and HeatmapCalendar on OverviewViews/FulfillmentView.cs, Views/ProductsView.cs, Views/OverviewView.cs
Module 6The Customers explorer, Team with OrgChart and AvatarGroup, the responsive shellViews/CustomersView.cs, Views/TeamView.cs, Views/CardLayout.cs, ClientProfiles.json, MainPage.cs
Module 7The Overview category chart, products and order numbers in the paletteViews/OverviewView.cs, MainPage.cs

What makes seven views one application is that each of them reads the same DashboardContext: a period change, a card moved on the board or a purchase on a reorder card reaches every view that shows the affected figures, including the ones that were hidden when it happened.

What this module adds​

Everything in Module 6 is still here. New in this module:

AreaChangeControls
OverviewRevenue by category, a bound bar chart whose bars open Products; the status line Hidden view refreshes from the shared context after a change made elsewhereChartView (Bar)
ShellThe palette also finds products and order numbersCommandPalette

The screen​

The capstone Overview: the four cards, then Order stages with the notes, Revenue by category (a bound Bar chart, largest category first) and Activity side by side, then Order activity. Every figure comes from the session's one DashboardContext, so the page follows the period selector, the Fulfillment board and the reorder cards without any code that links it to them.

The seven areas and the new controls each one uses:

AreaControls
ShellSegmentedButton (periodSelector), CommandPalette, Avatar, client profiles
OverviewKpiPanel (sparkline and gauge visuals), MeterBar, ChartView (bar), Timeline, HeatmapCalendar
SalesChartView (stacked column, waterfall, area, bar, treemap)
OrdersChipGroup, QueryBuilder, EmptyState, ChipLabel, the six DataGridView column types
Order dialogStepper, ChipLabel, Avatar, a subtitle column
FulfillmentRadialGauge, SegmentedButton, KanbanBoard, SchedulerView, GanttView, Timeline
ProductsMeterBar, ChipLabel, KpiPanel, ChipGroup, ActionCardList, subtitle, sparkline, meter, chip and actions columns
CustomersMapView, Avatar, Sparkline, Timeline, EmptyState, ChipLabel, avatar, sparkline and chip columns
TeamOrgChart, Avatar, AvatarGroup, ChartView (radar), avatar, meter, sparkline and chip columns

What to try​

Two workflows that cross every view, then the checks around them. Figures are for 30D in a new session.

Sales investigation

ActionExpected result
Start the applicationRevenue $118,307.15, 74 orders. Revenue by category from Dairy Products to Condiments, axis to 40,000. Status: SegmentedButton → DashboardContext → every view.
Select All830 orders, $1,265,793.29; the chart's axis goes to 320,000. Select 30D again.
Click the Revenue cardSales opens. Status: KpiPanel.Click → Sales.
On Sales, click the UK barCustomers opens with Country: UK. Status: PointClick → e.Point.Tag → Customers.
Back on Overview, click the Seafood barProducts opens with the Seafood chip selected. Status: PointClick → e.Point.Tag → Products.
Click the Orders cardOrders opens. Status: KpiPanel.Click → Orders.
Open on the first rowThe order dialog of #11077. Status: ActionClick → bound row → OrderDialog.
Click the last cell of the heatmapOrders for that day: chip Day: 1998-05-06, 4 orders, $2,779, all periods. Status: HeatmapCalendar.CellClick → day scope.

Operations workflow

ActionExpected result
On Overview, click the first Activity item, Mark as shipped, CloseOrder #11077 ships. The visible Overview refreshes: Order #11077 shipped first, 8 new · 7 picking · 5 packed · 20 open, 0 late of 54 shipped.
Open Fulfillment, move #11076 to Shipped (drag, or focus the card and press Alt+Right three times)Open orders · 19. Status: CardMoved → e.Column.Value → context.SetStage.
Return to OverviewThe hidden Overview refreshed when shown: Order #11076 shipped is the first Activity item, 7 new · 7 picking · 5 packed · 19 open, 0 late of 55 shipped. Status: Hidden view refreshes from the shared context.
Open OrdersOpen (19) · Shipped (55).
Open Products, click Order 40 on Outback LagerStatus: ActionCard.ActionClick → context.PlacePurchaseOrder.
Return to OverviewPurchase order for Outback Lager (40 units from Pavlova, Ltd.) is the first Activity item. Status: Hidden view refreshes from the shared context. Clicking the item opens Products on that product (Timeline.ItemClick → e.Item.Tag → Products).
Open another area and return without changing anythingNothing is reloaded; the status stays Button.Click → Tag → Navigate(Overview).
Change the period while another area is shown, then returnOverview shows the new period. Status: SegmentedButton → DashboardContext → every view.
Open the application in a private window21 open orders, 53 shipped, no purchase order: the changes belong to the first session.

Palette

ActionExpected result
Ctrl+KThe seven page commands and the five period commands.
go to orders, EnterOrders opens. Status: Candidates → counts → selected status.
12 months, EnterThe selector moves to 12M; Orders shows 549 orders, $856,885. Status: CommandExecuted → Tag → periodSelector.SelectedIndex → context.SetPeriod(Last12Months).
around, EnterCustomers opens with Around the Horn. Status: CommandExecuted → Tag → Customers.
leverling, EnterTeam opens with Janet Leverling. Status: CommandExecuted → Tag → Team.
chai, EnterOpen product Chai (Beverages · Exotic Liquids · $18.00): Products opens with the row of Chai selected and scrolled into view. Status: CommandExecuted → Tag → Products.
#1097Open order #10970 to #10975. Enter opens the dialog of #10970 (Shipped late) over the current view. Status: CommandExecuted → Tag → OrderDialog.
zzzNo matching commands.

Responsive: the trip of Module 6 (1440 → 1200 → 1199 → 768 → 767 → 1440) restores every control of all seven views.

Differences from the video​

  • Chart. The video draws the Overview chart as stacked columns. The finished application's Overview chart is a bar per category whose click opens Products, and that is what the lessons describe, so the sample uses it; the stacked chart is on Sales.
  • Cards. Four cards with trend, sparkline and gauge; the capstone frame shows three without trend (All time has none) and, in its last phase, a shipper gauge that belongs to Fulfillment.
  • Status after a hidden refresh. The video shows Hidden view refreshes from the shared context only in its verification scene; the sample writes it whenever an order or stock change arrived while Overview was hidden.
  • Combined status lines. The video joins two steps in one line (KpiPanel.Click → Orders → ActionClick → OrderDialog, CardMoved → SetStage → gauges, Timeline, scheduler, Gantt). The application writes the event path of the last interaction: KpiPanel.Click → Orders, then ActionClick → bound row → OrderDialog; CardMoved → e.Column.Value → context.SetStage.
  • Palette order. Record results come before the page and period commands, so around + Enter opens the customer. A word that many records contain (sales is in the job title of most contacts) lists six customers first, and the page command Go to Sales after them.
  • Publishing. The verification scene publishes the application and inspects the artifact. That is a command-line step of the lab, not a screen of the sample.
  • Against the finished application. The module applications keep the shell of the videos (blue application bar, status strip, 150-pixel sidebar) and the screens the videos show; the finished application has its own layout and a few more cards per view.