Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 973 Bytes

File metadata and controls

34 lines (27 loc) · 973 Bytes

Agent Notes

  • A plan or analysis document goes in docs/design. See readme
  • Do not run the website, Playwright, Lighthouse, or browser tests.

C#

  • Unit test names use MethodName_StateUnderTest_ExpectedBehavior

Blazor

  • Dependency injection for Blazor components go in Blazor Server ClimateExplorer.Web and Blazor WebAssembly ClimateExplorer.Web.Client projects
  • Razor components keep C# in .razor.cs code-behind files
  • Supported screen sizes:
    • Mobile: max-width = 767px
    • Tablet: min-width = 768px and max-width = 1024px
    • Fullscreen: min-width = 1025px
  • UI controls must have an accessible name

Use the following existing common components, when appriopriate:

  • ClimateButton
  • Collapsible
  • DelayedLoadingIndicator
  • DelayedTooltip
  • DropdownButton
  • InfoPanel
  • OverviewField
  • PaginationControl
  • SidePanel

There are Blazorise components in use, with common styling in app.css such as:

  • Select
  • Table
  • Tabs