Branch picker
Walking between versions of a turn. It renders the position and follows links you supply; what a branch is stays your application's business. One version renders nothing.
First, middle and last
An end with nowhere to go is disabled, not a dead link.
<div class="flex items-center gap-8">
<%= ai_chat_branch_picker index: 1, count: 3, next: "#" %>
<%= ai_chat_branch_picker index: 2, count: 3, previous: "#", next: "#" %>
<%= ai_chat_branch_picker index: 10, count: 10, previous: "#" %>
</div>