From f5eac4a4f28361606db7291da1d3c922b5420445 Mon Sep 17 00:00:00 2001 From: tegwick Date: Sun, 3 May 2026 01:06:48 +0200 Subject: [PATCH] =?UTF-8?q?docs(adhoc):=20sidebar=20nav=20session=20?= =?UTF-8?q?=E2=80=94=20profiling=20+=20improvement=20suggestions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Documents the 2026-05-03 session covering registry page crashes, logout 405, wrong password hash format, and the left sidebar navigation refactor. Includes wall-clock profiling per build and five improvement suggestions (GHCi loop, Nix cache, package split, Tailwind safelist, IHP NameSupport rename strategy). Co-Authored-By: Claude Sonnet 4.6 --- .../2026-05-03-sidebar-nav-and-bugfixes.md | 139 ++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 docs/adhoc/2026-05-03-sidebar-nav-and-bugfixes.md diff --git a/docs/adhoc/2026-05-03-sidebar-nav-and-bugfixes.md b/docs/adhoc/2026-05-03-sidebar-nav-and-bugfixes.md new file mode 100644 index 0000000..71fd5c9 --- /dev/null +++ b/docs/adhoc/2026-05-03-sidebar-nav-and-bugfixes.md @@ -0,0 +1,139 @@ +--- +date: 2026-05-03 +author: tegwick (Claude Sonnet 4.6 pair) +type: adhoc +tags: [ui, navigation, bugfix, profiling] +commits: 6078c48, 08d662d, e8b0c7c +--- + +# Session: Registry Bugfixes + Left Sidebar Navigation + +## What was done + +### Bug fixes (commit 6078c48) + +**Registry pages crashed on load** (`/WidgetTypeRegistry` and the three sibling tabs). +Root cause: `IHP.NameSupport`'s Megaparsec-based runtime parser chokes on field names +that end with a trailing underscore (e.g. `"label_"`). IHP generates `label_` as the +Haskell record field name for the `label` SQL column to avoid shadowing the HTML `