Ghost/ghost/recommendations/src
Sag 540660a49e
🐛 Fixed adding recommendations with long excerpts (#19949)
ref https://linear.app/tryghost/issue/ENG-801/unable-to-recommend-sites-with-long-excerpts

- recommending a site with a long excerpt was being blocked by a
validation error
- with this change, we truncate the excerpt to 2000 characters max. and
avoid showing an error in the UI
- with this change, the description length validation is also now
stricter; 200 characters max, instead of 2000, to match the UI
2024-03-28 17:02:37 +01:00
..
BookshelfClickEventRepository.ts
BookshelfRecommendationRepository.ts
BookshelfSubscribeEventRepository.ts
ClickEvent.ts
IncomingRecommendationController.ts
IncomingRecommendationEmailRenderer.ts
IncomingRecommendationService.ts
index.ts
InMemoryRecommendationRepository.ts
libraries.d.ts
Recommendation.ts
RecommendationController.ts
RecommendationMetadataService.ts
RecommendationRepository.ts
RecommendationService.ts
SubscribeEvent.ts
UnsafeData.ts
WellknownService.ts