feat(bulk-api-tester): add shareable visual comparison studio with full-view interactive slider, side-by-side, and gallery

This commit is contained in:
2026-10-28 13:45:26 +05:30
parent 1bcc0d5dda
commit ad48d28310
7 changed files with 2077 additions and 2 deletions
+8
View File
@@ -28,6 +28,14 @@ func registerRoutes(r chi.Router) {
r.Get("/api/last-run", getLastRunHandler)
r.Post("/api/last-run", saveLastRunHandler)
r.Get("/api/docs-data", getDocsDataHandler)
r.Post("/api/share-comparison", createComparisonShareHandler)
r.Get("/api/comparison/{id}", getComparisonDataHandler)
r.Get("/api/comparison/{id}/images/{file}", getComparisonImageHandler)
// Standalone Comparison Studio
r.Get("/compare/{id}", comparePageHandler)
r.Get("/compare", comparePageHandler)
r.Get("/compare.html", comparePageHandler)
// Direct routes for 3-file system
r.Get("/", func(w http.ResponseWriter, req *http.Request) {