Demonstrates codec isolation: ln-tabs and ln-modal share the same URL hash using
the ln-core hash codec. Each component reads and writes ONLY its own namespace segment —
foreign segments are preserved on every write. The modal's namespace is its id
(demo-hash-modal).
Manual tests:
- Click Edit #5, switch to the Members tab. The URL becomes
#demo-hash-modal:5&demo-tab:members, the modal STAYS open, and the Title field is filled by theln-ui-coordinator. - Reverse order (regression direction): switch to the Members tab FIRST, then
click Edit #5. The URL becomes
#demo-tab:members&demo-hash-modal:5and the tab STAYS on Members — the modal anchor click MERGES its segment instead of replacing the whole fragment. - Reload with
#demo-tab:members&demo-hash-modal:42in the URL. The Members tab should be active AND the modal open with Title "Internal audit log" filled. - With the modal open, press Back → modal closes, tab state intact.