feat: Add SSR for conflicts and queue pages
- Update conflicts.templ to accept pre-rendered data - Update queue.templ to accept pre-rendered data - Update /conflicts and /queue routes in main.go for SSR - Update stats rendering to use server-side values - Add server-side conflict list rendering - Add server-side queue list rendering - Update conflicts.js to use location.reload() after operations - Update queue.js to use location.reload() after operations - Remove initial load calls from JavaScript files Preserves all API endpoints and backward compatibility
This commit is contained in:
1 parent
b3c0c0c225
commit
6266a06abb
9 files changed
+766
-98
No files matched your search
@@ -60,6 +60,9 @@ type ConflictData struct {
|
||||
ConflictType string
|
||||
ResolutionStatus string
|
||||
CreatedAt string
|
||||
ResolutionData map[string]interface{}
|
||||
ResolvedBy string
|
||||
ResolvedAt string
|
||||
}
|
||||
|
||||
type QueueItemData struct {
|
||||
|
||||
Reference in new issue
Block a user