feat(filters): add UI for marking saved filters as favorites (#2055)

This PR adds UI support for marking saved filters as favorites. The backend already supports the `is_favorite` field for saved filters, but the frontend didn't expose this functionality. Users can now favorite/unfavorite saved filters just like regular projects.
This commit is contained in:
kolaente
2026-01-07 17:21:41 +01:00
committed by GitHub
parent 59f203298f
commit 49af08d3f6
7 changed files with 167 additions and 8 deletions

View File

@@ -195,6 +195,8 @@ func (sf *SavedFilter) Update(s *xorm.Session, _ web.Auth) error {
return err
}
sf.OwnerID = origFilter.OwnerID
if sf.Filters == nil {
sf.Filters = origFilter.Filters
}