MiniCTRMSearch

MiniCTRM - Tutorial: About MiniCTRM, part 1: the front end - Natural Gas

→ to begin · N for the speaker notes

On a phone: Next or a swipe left to begin, Notes for the words.

What you'll learn

  • Help → About – Open About; the General section; the two halves; the Front End list; Copy.
  • The page itself – React, React DOM, TypeScript, Vite and React Router.
  • How it looks – MUI, MUI Icons and Emotion - Dark Mode, on and off, and the two layouts, Compact and Comfortable.
  • Dates – Day.js and the MUI X date pickers, on the System Date and a ticket.
  • Grids – AG Grid and AG Grid React on the Deal Blotter.
  • Data from the server – TanStack Query: fetched once, kept, and kept live.
  • Diagrams – React Flow and dagre on the Data Model, Curve Hierarchy and the Day in the Life map; html-to-image on the Gas Day Flow Map.
  • Code editors – CodeMirror and its Java and Python language packages; the Formula box.
  • Tests – Vitest, Testing Library and Playwright - and the screenshot deck.

Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.

Welcome

What MiniCTRM is built with

1 / 36
What MiniCTRM is built with
Help → About

Open About

2 / 36
Open About
Help → About

The General section

3 / 36
The General section
Help → About

Two programs

4 / 36
Two programs
Help → About

The Front End section

5 / 36
The Front End section
Help → About

Copy, for support

6 / 36
Copy, for support
The page itself

React

7 / 36
React
The page itself

React DOM, in place

8 / 36
React DOM, in place
The page itself

TypeScript

9 / 36
TypeScript
The page itself

Vite builds the page

10 / 36
Vite builds the page
The page itself

React Router: an address for everything

11 / 36
React Router: an address for everything
How it looks

MUI: the controls

12 / 36
MUI: the controls
How it looks

MUI Icons

13 / 36
MUI Icons
How it looks

Emotion: styles as you go

14 / 36
Emotion: styles as you go
How it looks

Dark Mode

15 / 36
Dark Mode
How it looks

And back

16 / 36
And back
How it looks

Compact and Comfortable

17 / 36
Compact and Comfortable
Dates

Day.js: one way to write a date

18 / 36
Day.js: one way to write a date
Dates

The System Date setting

19 / 36
The System Date setting
Dates

MUI X Date Pickers

20 / 36
MUI X Date Pickers
Grids

AG Grid

21 / 36
AG Grid
Grids

One grid, everywhere

22 / 36
One grid, everywhere
Data from the server

TanStack Query: fetch once, keep it

23 / 36
TanStack Query: fetch once, keep it
Data from the server

Screens that stay live

24 / 36
Screens that stay live
Diagrams

React Flow: diagrams

25 / 36
React Flow: diagrams
Diagrams

dagre: nobody placed a box

26 / 36
dagre: nobody placed a box
Diagrams

Curve Hierarchy, top to bottom

27 / 36
Curve Hierarchy, top to bottom
Diagrams

Day in the Life: placed by design

28 / 36
Day in the Life: placed by design
Diagrams

html-to-image: a diagram as a picture

29 / 36
html-to-image: a diagram as a picture
Code editors

CodeMirror: the Script Editor

30 / 36
CodeMirror: the Script Editor
Code editors

Completion and errors in place

31 / 36
Completion and errors in place
Code editors

And Python

32 / 36
And Python
Code editors

A third CodeMirror

33 / 36
A third CodeMirror
Tests

Vitest and Testing Library

34 / 36
Vitest and Testing Library
Tests

Playwright and a real browser

35 / 36
Playwright and a real browser
What next

The front end, in one breath

36 / 36
The front end, in one breath

You have finished lesson 402, About MiniCTRM, part 1: the front end.

Where next?

← → move · N notes · Home / End