Move review actions into the platform, emit events on change

Still not seeing updates in the sidebar, however.
This commit is contained in:
Eli Ribble 2026-03-19 16:55:49 +00:00
parent 954a4330ee
commit ee61b6d24b
No known key found for this signature in database
6 changed files with 181 additions and 133 deletions

14
platform/error.go Normal file
View file

@ -0,0 +1,14 @@
package platform
import (
"fmt"
)
type ErrorNotFound struct {
message string
}
func (e ErrorNotFound) Error() string { return fmt.Sprintf("not found: %s", e.message) }
func newNotFound(format string, m ...any) error {
return &ErrorNotFound{message: fmt.Sprintf(format, m...)}
}