Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,11 @@ Write operations use [HTMX](https://htmx.org/) for dynamic updates:

**Issue Detail Page** ([detail.html](assets/beady/templates/detail.html)):
- Status/Priority dropdowns with inline update
- Close button with modal dialog for reason
- Close button with modal dialog for reason (reason stored in event audit trail)
- Comment form that reloads page on submit
- Label add/remove with inline controls
- Notes section with edit form in collapsible details
- Recent Events section showing audit trail with timestamps, actors, event types, and details (e.g., closing reasons for StatusChanged events)
- All actions include username from localStorage

**Issue Creation** ([issue_form.html](assets/beady/templates/issue_form.html)):
Expand Down
6 changes: 5 additions & 1 deletion assets/beady/templates/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,11 @@ <h3>Comments</h3>
<h3>Recent Events</h3>
<ul>
{{range .Events}}
<li>{{.CreatedAt}}: {{.EventType}}</li>
<li>
<strong>{{.CreatedAt}}</strong>{{if .Actor}} by {{.Actor}}{{end}}: {{.EventType}}
{{if .OldValue}}<br>{{.OldValue}} → {{.NewValue}}{{end}}
{{if .Comment}}<br><em>{{.Comment}}</em>{{end}}
</li>
{{end}}
</ul>
{{if not .Events}}<p>No recent events.</p>{{end}}
Expand Down