back interdiff of round #1 and #0

appview: remove all occurrences of DidHandleMap #457

merged
opened by oppi.li targeting master from push-wpkykovtqxnx
ERROR
appview/db/reaction.go

Failed to calculate interdiff for this file.

ERROR
appview/issues/issues.go

Failed to calculate interdiff for this file.

ERROR
appview/knots/knots.go

Failed to calculate interdiff for this file.

ERROR
appview/pages/funcmap.go

Failed to calculate interdiff for this file.

ERROR
appview/pages/pages.go

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/knots/dashboard.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/repo/issues/fragments/issueComment.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/repo/issues/issue.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/repo/issues/issues.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/repo/pipelines/fragments/pipelineSymbol.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/repo/pulls/fragments/pullHeader.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/repo/pulls/pull.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/repo/pulls/pulls.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/spindles/dashboard.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/timeline.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/user/fragments/editPins.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/user/fragments/picHandleLink.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/user/fragments/repoCard.html

Failed to calculate interdiff for this file.

ERROR
appview/pages/templates/user/profile.html

Failed to calculate interdiff for this file.

ERROR
appview/pulls/pulls.go

Failed to calculate interdiff for this file.

ERROR
appview/spindles/spindles.go

Failed to calculate interdiff for this file.

REBASED
appview/state/profile.go

This patch was likely rebased, as context lines do not match.

ERROR
appview/state/state.go

Failed to calculate interdiff for this file.

NEW
appview/pages/templates/repo/pipelines/fragments/workflowSymbol.html
···
{{ $color = "text-gray-600 dark:text-gray-500" }}
{{ else if eq $kind "timeout" }}
{{ $icon = "clock-alert" }}
-
{{ $color = "text-orange-400 dark:text-orange-300" }}
{{ else }}
{{ $icon = "x" }}
{{ $color = "text-red-600 dark:text-red-500" }}
···
{{ $color = "text-gray-600 dark:text-gray-500" }}
{{ else if eq $kind "timeout" }}
{{ $icon = "clock-alert" }}
+
{{ $color = "text-orange-400 dark:text-orange-500" }}
{{ else }}
{{ $icon = "x" }}
{{ $color = "text-red-600 dark:text-red-500" }}
NEW
appview/state/router.go
···
"strings"
"github.com/go-chi/chi/v5"
"github.com/gorilla/sessions"
"tangled.sh/tangled.sh/core/appview/issues"
"tangled.sh/tangled.sh/core/appview/knots"
···
func (s *State) StandardRouter(mw *middleware.Middleware) http.Handler {
r := chi.NewRouter()
r.Handle("/static/*", s.pages.Static())
···
"strings"
"github.com/go-chi/chi/v5"
+
chimw "github.com/go-chi/chi/v5/middleware"
"github.com/gorilla/sessions"
"tangled.sh/tangled.sh/core/appview/issues"
"tangled.sh/tangled.sh/core/appview/knots"
···
func (s *State) StandardRouter(mw *middleware.Middleware) http.Handler {
r := chi.NewRouter()
+
r.Mount("/debug", chimw.Profiler())
r.Handle("/static/*", s.pages.Static())
NEW
cmd/appview/main.go
···
"log"
"log/slog"
"net/http"
"os"
"tangled.sh/tangled.sh/core/appview/config"
···
"log"
"log/slog"
"net/http"
+
_ "net/http/pprof"
"os"
"tangled.sh/tangled.sh/core/appview/config"