use beads service

use pointes for comments
use htmx routing
This commit is contained in:
Robin Olsen
2026-02-22 11:03:31 +01:00
parent 15f8bbb8ed
commit 2e4185e30f
12 changed files with 403 additions and 358 deletions

View File

@@ -7,7 +7,7 @@ import (
type CommentSectionProps struct {
IssueID string
Comments []models.Comment
Comments []*models.Comment
}
templ CommentSection(props CommentSectionProps) {
@@ -31,7 +31,7 @@ templ CommentSection(props CommentSectionProps) {
}
type CommentListProps struct {
Comments []models.Comment
Comments []*models.Comment
}
templ CommentList(props CommentListProps) {
@@ -45,7 +45,7 @@ templ CommentList(props CommentListProps) {
}
type CommentItemProps struct {
Comment models.Comment
Comment *models.Comment
}
templ CommentItem(props CommentItemProps) {