First pass at basic functionality.

This PR introduces the beginnings of Sprint Padawan.

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-05-02 02:01:53 -06:00
parent 3586be0e14
commit 16bed1b8c0
51 changed files with 4597 additions and 1 deletions
+34
View File
@@ -0,0 +1,34 @@
<div class="modal-overlay" onclick="this.remove()">
<div class="modal" onclick="event.stopPropagation()">
<div class="modal-header">
<h2>Rename Story</h2>
<button
class="modal-close"
onclick="this.closest('.modal-overlay').remove()"
>
×
</button>
</div>
<form
method="POST"
action="/rooms/{{.RoomID}}/stories/{{.Story.ID}}/rename"
hx-post="/rooms/{{.RoomID}}/stories/{{.Story.ID}}/rename"
hx-target="#stories-panel"
hx-swap="outerHTML"
hx-on::after-request="if (event.detail.successful) document.getElementById('modal-container').innerHTML = ''"
class="auth-form"
>
<div class="form-group">
<label class="form-label">Story Title</label>
<input
class="form-input"
type="text"
name="title"
value="{{.Story.Title}}"
required
/>
</div>
<button class="btn-primary" type="submit">Save Changes</button>
</form>
</div>
</div>