Closed jo-elimu closed 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 15.26%. Comparing base (
b865b3a
) to head (ba7f64d
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The changes involve a comprehensive removal of the platform
property from the ContributionEvent
class and its usage across various parts of the system. This includes eliminating the platform
field, as well as its getter and setter methods, from several controllers and database tables. Consequently, all references to the platform
property in these files have been deleted, simplifying the event model and its related database schema.
File/Path | Summary |
---|---|
src/main/java/ai/elimu/model/contributor/ContributionEvent.java |
Removed platform property, getter, and setter methods. |
src/main/java/ai/elimu/util/db/DbContentImportHelper.java |
Removed setting of Platform for various contribution events in performDatabaseContentImport method. |
Various LetterCreateController and LetterEditController |
Removed setting of platform for letterContributionEvent . |
Various LetterSoundCreateController and LetterSoundEditController |
Removed setting of platform for letterSoundContributionEvent . |
Various AudioCreateController and AudioEditController |
Removed setting of platform for audioContributionEvent . |
Various ImageCreateController and ImageEditController |
Removed setting of platform for imageContributionEvent . |
Various NumberCreateController and NumberEditController |
Removed setting of platform for numberContributionEvent . |
Various SoundCreateController and SoundEditController |
Removed setting of platform for soundContributionEvent . |
Various StoryBookCreateController , StoryBookEditController , StoryBookCreateFromEPubController , and others |
Removed setting of platform for storyBookContributionEvent and imageContributionEvent . |
Various StoryBookChapterCreateController , StoryBookChapterDeleteController , StoryBookParagraphCreateController , StoryBookParagraphDeleteController , and StoryBookParagraphEditController |
Removed setting of platform for storyBookContributionEvent . |
Various WordCreateController and WordEditController |
Removed setting of platform for wordContributionEvent and removed related audio dependencies. |
src/main/resources/META-INF/jpa-schema-export.sql |
Removed platform field from multiple tables in the database schema. |
src/main/resources/db/migration/2004004.sql |
Dropped platform column from various contribution event tables. |
ref #1674