mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-07 16:09:43 +02:00
Reported by @mtiller. A session named `w2-foo-bar: some description` rendered both halves on the tab, so the generated id ate the width that the part the user actually chose needed. The tab now shows the description alone and the `w<n>-<case>` id moves to the tooltip, where it stays available without being read every time. It is still shown in the session settings modal. Undescribed tabs are unchanged. `aria-label` deliberately keeps the FULL name, so screen readers still get the id. Also fixes a re-render loop this exposed: the incremental update compared `nameEl.textContent` against the full name, which for a described tab never matched, so those tabs re-rendered on every pass. The compare now targets the display label. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>