Nested Liveview: duplicate id error

Presumably each of them use those divs to display errors - the fix is going to depend on how the UI is supposed to work when both LiveViews want to display errors. The high-level options are:

  • the views want to use the same UI element to display errors. Maybe it should bubble up into the dashboard shell?
  • the views want to use separate UI elements. Maybe prefix the IDs (sidebar-client-error etc)?

This will cause weird behavior whenever Javascript tries to target the element by ID. IIRC duplicate IDs can also confuse the MorphDOM machinery that LiveView uses behind the scenes.