mirror of
https://github.com/aykhans/slash-e.git
synced 2026-09-23 14:26:49 +00:00
chore: tweak feature comments
This commit is contained in:
@@ -262,6 +262,7 @@ func (s *APIV1Service) GetShortcutAnalytics(ctx context.Context, request *v1pb.G
|
||||
Type: store.ActivityShortcutView,
|
||||
PayloadShortcutID: &shortcut.Id,
|
||||
}
|
||||
// For non-advanced analytics users, we limit the activity to the last 14 days.
|
||||
if !s.LicenseService.IsFeatureEnabled(license.FeatureTypeAdvancedAnalytics) {
|
||||
createdTsAfter := time.Now().AddDate(0, 0, -14).Unix()
|
||||
activityFind.CreatedTsAfter = &createdTsAfter
|
||||
|
||||
@@ -39,8 +39,8 @@ var FeatureMatrix = map[FeatureType][3]bool{
|
||||
FeatureTypeUnlimitedShortcuts: {false, true, true},
|
||||
FeatureTypeUnlimitedCollections: {false, true, true},
|
||||
FeatureTypeCustomeBranding: {false, false, true},
|
||||
FeatureTypeSSO: {false, false, false},
|
||||
FeatureTypeAdvancedAnalytics: {false, false, false},
|
||||
FeatureTypeSSO: {false, false, true},
|
||||
FeatureTypeAdvancedAnalytics: {false, false, true},
|
||||
}
|
||||
|
||||
func getDefaultFeatures(plan v1pb.PlanType) []FeatureType {
|
||||
|
||||
Reference in New Issue
Block a user