This release request introduces a significant expansion and refactoring of the application's fixture data. The core change involves adding a mandatory logoUrl property to the Source model, which necessitated updates across existing fixtures and the addition of a wealth of new mock data for various content types. This enhancement aims to provide a more comprehensive and realistic dataset for testing and development purposes, ensuring better representation of diverse news sources and user preferences.
Highlights
- Breaking Change: Source Model Update: The
Sourcemodel now includes a new required property,logoUrl, to store the URL of a source's logo. This is a breaking change and has been reflected in theCHANGELOG.md. - Expanded Fixture Data: A significant amount of new fixture data has been added across various categories, including new
SourceIDs (up to 90),HeadlineIDs (up to 450), andSavedFilterIDs. This greatly expands the available mock data for development and testing. - Source Fixture Enhancements: All existing
Sourcefixtures have been updated to include alogoUrl, utilizing Clearbit for dynamic logo URLs. Numerous newSourcefixtures have been introduced, covering local, national, international, specialized, blog, government, and aggregator types. - Headline Fixture Additions: A large set of new
Headlinefixtures have been created, providing diverse content for the newly added sources. Each new source now has multiple associated headlines. - User Content Preferences and Saved Filters: The
userContentPreferencesFixturesDatahas been updated to include new followed sources (San Francisco Chronicle, ESPN) and several newSavedFilterfixtures (Global Sports, Science News, Political News) for the first user.