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 `