diff --git a/internal/homepage/override_config.go b/internal/homepage/override_config.go index f1f2072e..5335a992 100644 --- a/internal/homepage/override_config.go +++ b/internal/homepage/override_config.go @@ -10,8 +10,8 @@ import ( type OverrideConfig struct { ItemOverrides map[string]*ItemConfig `json:"item_overrides"` - DisplayOrder map[string]int `json:"display_order"` // TODO: implement this - CategoryOrder map[string]int `json:"category_order"` // TODO: implement this + DisplayOrder map[string]int `json:"display_order"` + CategoryOrder map[string]int `json:"category_order"` ItemVisibility map[string]bool `json:"item_visibility"` mu sync.RWMutex } diff --git a/internal/idlewatcher/watcher.go b/internal/idlewatcher/watcher.go index e4d2af93..dbac9b2a 100644 --- a/internal/idlewatcher/watcher.go +++ b/internal/idlewatcher/watcher.go @@ -96,7 +96,6 @@ const reqTimeout = 3 * time.Second // prevents dependencies from being stopped automatically. const neverTick = time.Duration(1<<63 - 1) -// TODO: fix stream type. func NewWatcher(parent task.Parent, r types.Route, cfg *types.IdlewatcherConfig) (*Watcher, error) { key := cfg.Key()