Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: #1677 Rename LetterSoundCorrespondence to LetterSound #1682

Conversation

SnehaHS65
Copy link
Contributor

This pull request addresses issue #1677 by renaming the class LetterSoundCorrespondence to LetterSound and updating all references throughout the codebase.

@SnehaHS65 SnehaHS65 requested a review from a team as a code owner July 6, 2024 14:32
Copy link
Contributor

coderabbitai bot commented Jul 6, 2024

Walkthrough

The changes involve renaming the LetterSoundCorrespondence entity to LetterSound across various files in the project. This includes updating method signatures, import statements, class properties, and database migration scripts. The purpose is to have a clearer and more concise naming structure within the data model and related functionalities, reflected consistently throughout the application.

Changes

Files/Modules Change Summary
.../LetterSoundContributionEventDao.java Updated method signatures and imports from LetterSoundCorrespondence to LetterSound.
.../LetterSoundContributionEventDaoJpa.java Altered parameter type in readAll method from LetterSoundCorrespondence to LetterSound.
.../LetterSoundDaoJpa.java Updated class and method signatures to work with LetterSound instead of LetterSoundCorrespondence.
.../LetterSoundPeerReviewEventDaoJpa.java Changed method signatures to use LetterSound instead of LetterSoundCorrespondence.
.../StringToLetterSoundCorrespondenceConverter.java Updated class to work with LetterSound instead of LetterSoundCorrespondence.
.../Word.java Changed class property and related methods to use LetterSound instead of LetterSoundCorrespondence.
.../LetterSoundCorrespondenceContributionEvent.java Modified import and property type from LetterSoundCorrespondence to LetterSound.
.../JpaToGsonConverter.java Renamed LetterSoundCorrespondence to LetterSound in imports and method signatures.
.../LetterSoundCorrespondenceUsageCountScheduler.java Replaced references to LetterSoundCorrespondence with LetterSound in method loops.
.../SoundUsageCountScheduler.java Updated import and loop iteration to use LetterSound instead of LetterSoundCorrespondence.
.../CsvContentExtractionHelper.java Modified returning types and method signatures from LetterSoundCorrespondence to LetterSound.
.../DbContentImportHelper.java Replaced LetterSoundCorrespondence with LetterSound in method signatures and imports.
.../LetterSoundCreateController.java, .../LetterSoundEditController.java, Updated import and parameter references from LetterSoundCorrespondence to LetterSound.
.../LetterSoundPeerReviewEventCreateController.java Changed import and variable types from LetterSoundCorrespondence to LetterSound.
.../WordCreateController.java, .../WordEditController.java Updated import statements and variable types to use LetterSound instead of LetterSoundCorrespondence.
.../WordCsvExportController.java Modified import and loop variable types from LetterSoundCorrespondence to LetterSound.
.../jpa-schema-export.sql Renamed tables related to LetterSoundCorrespondence to LetterSound, updated foreign key constraints.
.../2002133.sql Introduced a migration script to rename LetterSoundCorrespondence table to LetterSound.

Possibly related issues


Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 35093ef and 6e9c8b4.

Files selected for processing (22)
  • src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java (2 hunks)
  • src/main/java/ai/elimu/dao/LetterSoundPeerReviewEventDao.java (2 hunks)
  • src/main/java/ai/elimu/dao/jpa/LetterSoundContributionEventDaoJpa.java (2 hunks)
  • src/main/java/ai/elimu/dao/jpa/LetterSoundDaoJpa.java (2 hunks)
  • src/main/java/ai/elimu/dao/jpa/LetterSoundPeerReviewEventDaoJpa.java (2 hunks)
  • src/main/java/ai/elimu/logic/converters/StringToLetterSoundCorrespondenceConverter.java (1 hunks)
  • src/main/java/ai/elimu/model/content/Word.java (2 hunks)
  • src/main/java/ai/elimu/model/contributor/LetterSoundCorrespondenceContributionEvent.java (2 hunks)
  • src/main/java/ai/elimu/rest/v2/JpaToGsonConverter.java (3 hunks)
  • src/main/java/ai/elimu/tasks/LetterSoundCorrespondenceUsageCountScheduler.java (2 hunks)
  • src/main/java/ai/elimu/tasks/SoundUsageCountScheduler.java (2 hunks)
  • src/main/java/ai/elimu/util/csv/CsvContentExtractionHelper.java (5 hunks)
  • src/main/java/ai/elimu/util/db/DbContentImportHelper.java (2 hunks)
  • src/main/java/ai/elimu/web/content/letter_sound/LetterSoundCreateController.java (3 hunks)
  • src/main/java/ai/elimu/web/content/letter_sound/LetterSoundEditController.java (3 hunks)
  • src/main/java/ai/elimu/web/content/letter_sound/LetterSoundPeerReviewsController.java (1 hunks)
  • src/main/java/ai/elimu/web/content/peer_review/LetterSoundPeerReviewEventCreateController.java (2 hunks)
  • src/main/java/ai/elimu/web/content/word/WordCreateController.java (3 hunks)
  • src/main/java/ai/elimu/web/content/word/WordCsvExportController.java (2 hunks)
  • src/main/java/ai/elimu/web/content/word/WordEditController.java (3 hunks)
  • src/main/resources/META-INF/jpa-schema-export.sql (9 hunks)
  • src/main/resources/db/migration/2002133.sql (1 hunks)
Files not summarized due to errors (1)
  • src/main/java/ai/elimu/web/content/letter_sound/LetterSoundPeerReviewsController.java: Error: Server error. Please try again later.
Files skipped from review due to trivial changes (2)
  • src/main/java/ai/elimu/util/db/DbContentImportHelper.java
  • src/main/resources/db/migration/2002133.sql
Additional context used
Learnings (17)
Common learnings
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/model/contributor/LetterSoundCorrespondenceContributionEvent.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/logic/converters/StringToLetterSoundCorrespondenceConverter.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/dao/LetterSoundPeerReviewEventDao.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/dao/jpa/LetterSoundDaoJpa.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/model/content/Word.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/tasks/SoundUsageCountScheduler.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/dao/jpa/LetterSoundContributionEventDaoJpa.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/tasks/LetterSoundCorrespondenceUsageCountScheduler.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/dao/jpa/LetterSoundPeerReviewEventDaoJpa.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/web/content/word/WordCsvExportController.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/web/content/peer_review/LetterSoundPeerReviewEventCreateController.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/web/content/letter_sound/LetterSoundCreateController.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/web/content/letter_sound/LetterSoundEditController.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/web/content/word/WordEditController.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
src/main/java/ai/elimu/rest/v2/JpaToGsonConverter.java (1)
Learnt from: venkatesh2k3
PR: elimu-ai/webapp#1682
File: src/main/java/ai/elimu/dao/LetterSoundContributionEventDao.java:13-13
Timestamp: 2024-07-06T17:37:44.413Z
Learning: In the `LetterSoundContributionEventDao.java` file, the method signatures should use `LetterSoundContributionEvent` instead of `LetterSoundCorrespondenceContributionEvent` to maintain consistency with the renaming of entities.
Additional comments not posted (39)
src/main/java/ai/elimu/dao/jpa/LetterSoundDaoJpa.java (4)

3-3: Import statement approved.

The import statement for LetterSound is correctly added.


12-12: Class declaration approved.

The class now correctly extends GenericDaoJpa<LetterSound>.


32-37: Method readAllOrderedByUsage approved.

The method correctly uses LetterSound and the query is consistent with the new entity name.


41-46: Method readAllOrderedByLettersLength approved.

The method correctly uses LetterSound and the query is consistent with the new entity name.

src/main/java/ai/elimu/tasks/SoundUsageCountScheduler.java (1)

9-9: Import statement approved.

The import statement for LetterSound is correctly added.

src/main/java/ai/elimu/dao/jpa/LetterSoundContributionEventDaoJpa.java (1)

3-3: Import statement approved.

The import statement for LetterSound is correctly added.

src/main/java/ai/elimu/tasks/LetterSoundCorrespondenceUsageCountScheduler.java (1)

6-7: LGTM! Import statement is correct.

The import statement for LetterSound is necessary and correctly added.

src/main/java/ai/elimu/web/content/peer_review/LetterSoundPeerReviewEventCreateController.java (1)

7-7: Import statement approved.

The import statement for LetterSound is correct.

src/main/java/ai/elimu/web/content/letter_sound/LetterSoundCreateController.java (3)

11-11: Import statement approved.

The import statement for LetterSound is correct.


54-54: Variable declaration approved.

The variable letterSound has been correctly updated to reflect the new entity name.


72-72: Method parameter approved.

The method parameter letterSound has been correctly updated to reflect the new entity name.

src/main/java/ai/elimu/web/content/letter_sound/LetterSoundEditController.java (2)

6-6: Import statement approved.

The import statement for LetterSound is correct.


88-88: Method parameter approved.

The method parameter letterSound has been correctly updated to reflect the new entity name.

src/main/java/ai/elimu/web/content/word/WordCreateController.java (3)

17-17: Import statement approved.

The import statement for LetterSound is correct.


246-246: Variable declaration approved.

The variable letterSoundCorrespondences has been correctly updated to reflect the new entity name.


253-253: Loop variable approved.

The loop variable letterSoundCorrespondence has been correctly updated to reflect the new entity name.

src/main/java/ai/elimu/web/content/word/WordEditController.java (2)

7-7: Import statement updated correctly.

The import statement has been updated to reflect the renaming of LetterSoundCorrespondence to LetterSound.


18-18: Import statement updated correctly.

The import statement has been updated to reflect the renaming of LetterSoundCorrespondence to LetterSound.

src/main/java/ai/elimu/rest/v2/JpaToGsonConverter.java (2)

8-8: Import statement updated correctly.

The import statement has been updated to reflect the renaming of LetterSoundCorrespondence to LetterSound.


85-85: Method signature updated correctly.

The method signature has been updated to reflect the renaming of LetterSoundCorrespondence to LetterSound.

src/main/java/ai/elimu/util/csv/CsvContentExtractionHelper.java (2)

7-7: Import statement updated correctly.

The import statement has been updated to reflect the renaming of LetterSoundCorrespondence to LetterSound.


8-8: Import statement updated correctly.

The import statement has been updated to reflect the renaming of LetterSoundCorrespondence to LetterSound.

src/main/resources/META-INF/jpa-schema-export.sql (17)

58-58: Table name updated correctly.

The table name has been updated to reflect the renaming of LetterSoundCorrespondence to LetterSound.


60-60: Table name updated correctly.

The table name has been updated to reflect the renaming of LetterSoundCorrespondence_Letter to LetterSound_Letter.


62-62: Table name updated correctly.

The table name has been updated to reflect the renaming of LetterSoundCorrespondence_Sound to LetterSound_Sound.


64-64: Table name updated correctly.

The table name has been updated to reflect the renaming of LetterSoundCorrespondenceContributionEvent to LetterSoundContributionEvent.


70-70: Table name updated correctly.

The table name has been updated to reflect the renaming of LetterSoundCorrespondencePeerReviewEvent to LetterSoundPeerReviewEvent.


116-116: Table name updated correctly.

The table name has been updated to reflect the renaming of Word_LetterSoundCorrespondence to Word_LetterSound.


386-386: Table creation statement updated correctly.

The table creation statement has been updated to reflect the renaming of LetterSoundCorrespondence to LetterSound.


396-400: Table creation statement updated correctly.

The table creation statement has been updated to reflect the renaming of LetterSoundCorrespondence_Letter to LetterSound_Letter.


403-408: Table creation statement updated correctly.

The table creation statement has been updated to reflect the renaming of LetterSoundCorrespondence_Sound to LetterSound_Sound.


410-419: Table creation statement updated correctly.

The table creation statement has been updated to reflect the renaming of LetterSoundCorrespondenceContributionEvent to LetterSoundContributionEvent.


445-454: Table creation statement updated correctly.

The table creation statement has been updated to reflect the renaming of LetterSoundCorrespondencePeerReviewEvent to LetterSoundPeerReviewEvent.


920-928: Foreign key constraint updated correctly.

The foreign key constraint has been updated to reflect the renaming of LetterSoundCorrespondence_Letter to LetterSound_Letter.


930-938: Foreign key constraint updated correctly.

The foreign key constraint has been updated to reflect the renaming of LetterSoundCorrespondence_Sound to LetterSound_Sound.


940-948: Foreign key constraint updated correctly.

The foreign key constraint has been updated to reflect the renaming of LetterSoundCorrespondenceContributionEvent to LetterSoundContributionEvent.


970-978: Foreign key constraint updated correctly.

The foreign key constraint has been updated to reflect the renaming of LetterSoundCorrespondencePeerReviewEvent to LetterSoundPeerReviewEvent.


1140-1143: Foreign key constraint updated correctly.

The foreign key constraint has been updated to reflect the renaming of Word_LetterSoundCorrespondence to Word_LetterSound.


1145-1146: Foreign key constraint updated correctly.

The foreign key constraint has been updated to reflect the renaming of Word_LetterSoundCorrespondence to Word_LetterSound.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

Copy link

codecov bot commented Jul 6, 2024

Codecov Report

Attention: Patch coverage is 9.37500% with 29 lines in your changes missing coverage. Please review.

Project coverage is 15.03%. Comparing base (b5eb83a) to head (6e9c8b4).
Report is 8 commits behind head on main.

Files Patch % Lines
.../ai/elimu/util/csv/CsvContentExtractionHelper.java 0.00% 4 Missing ⚠️
...i/elimu/web/content/word/WordCreateController.java 0.00% 3 Missing ⚠️
.../ai/elimu/web/content/word/WordEditController.java 0.00% 3 Missing ⚠️
.../LetterSoundCorrespondenceUsageCountScheduler.java 0.00% 2 Missing ⚠️
...n/java/ai/elimu/util/db/DbContentImportHelper.java 0.00% 2 Missing ⚠️
...tent/letter_sound/LetterSoundCreateController.java 0.00% 2 Missing ⚠️
...t/letter_sound/LetterSoundCsvExportController.java 0.00% 2 Missing ⚠️
...ontent/letter_sound/LetterSoundEditController.java 0.00% 2 Missing ⚠️
...ontent/letter_sound/LetterSoundListController.java 0.00% 2 Missing ⚠️
.../main/java/ai/elimu/dao/jpa/LetterSoundDaoJpa.java 50.00% 1 Missing ⚠️
... and 6 more
Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1682   +/-   ##
=========================================
  Coverage     15.03%   15.03%           
  Complexity      452      452           
=========================================
  Files           249      249           
  Lines          7760     7760           
  Branches        812      812           
=========================================
  Hits           1167     1167           
  Misses         6541     6541           
  Partials         52       52           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@venkatesh2k3 venkatesh2k3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getter and Setter methods to be changed and variables declared, The method return type to be changed in each file

@SnehaHS65
Copy link
Contributor Author

SnehaHS65 commented Jul 6, 2024

@venkatesh2k3 , I have changed in all the java files as you mentioned, should I change in webapp folder(in jsp files) as well? Let me know and I can commit

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Outside diff range and nitpick comments (1)
src/main/java/ai/elimu/tasks/WordUsageCountScheduler.java (1)

80-82: Clarify the warning message.

The warning message should reflect the new terminology "LetterSound" instead of "Letter-sound correspondences."

-  logger.warn("Letter-sound correspondences not yet added. Skipping usage count update for word...");
+  logger.warn("Letter sounds not yet added. Skipping usage count update for word...");

coderabbitai[bot]
coderabbitai bot previously approved these changes Jul 7, 2024
venkatesh2k3
venkatesh2k3 previously approved these changes Jul 7, 2024
@venkatesh2k3 venkatesh2k3 self-requested a review July 7, 2024 07:57
Copy link
Member

@jo-elimu jo-elimu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SnehaHS65 Thank you for opening this pull request 🙂

I will have to ask you to revert the second commit in your pull request: 35093ef

This is because:

  • The scope for the changes should only be for LetterSoundCorrespondence.java, and not for additional entities. (The number of code changes is already high in the initial commit, so we shouldn't add additional complexity.)
  • The changes are touching the database layer, which means that we will also have to create a database migration script for your changes. See DB_MIGRATION.md.
  • A database schema export file is missing. You can generate it by running mvn jetty:run to launch the webapp locally. You will then see code changes in the jpa-schema-export.sql file, and those changes should also be included in your PR.

Note

The reason why we need to create a DB migration script is because we already have a MySQL database deployed in production. So anytime we make changes to the database structure, we have to write SQL scripts for updating the existing database. See DB_MIGRATION.md.

Tip

When you create the database migration script, you can look at the changes in jpa-schema-export.sql to know which database tables/columns to modify.

As this PR is already quite large, you might want to split it up into smaller parts to make sure that it doesn't break the database structure. For example one PR for only renaming the LetterSoundCorrespondence database table, and another PR for renaming the LetterSoundCorrespondence_id references another database table, etc.

As you can see in the jpa-schema-export.sql diff, it gets quite complicated with all the changes to the database column names, primary keys, and foreign key constraints. And that is why I recommend we reduce the size of your PR.

@SnehaHS65 SnehaHS65 self-assigned this Jul 7, 2024
@SnehaHS65
Copy link
Contributor Author

@jo-elimu , Can you review the latest commit now, I refactored LetterSoundCorrespondence.java to LetterSound.java, ran this command mvn jetty:run, included jpa-schema-export.sql in the PR and also added DB script for the same.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 24

Outside diff range and nitpick comments (8)
src/main/java/ai/elimu/dao/LetterSoundPeerReviewEventDao.java (1)

Line range hint 18-18:
Update method signature to reflect new naming convention.

The method signature should use LetterSoundPeerReviewEvent instead of LetterSoundCorrespondencePeerReviewEvent.

- List<LetterSoundCorrespondencePeerReviewEvent> readAll(LetterSoundCorrespondenceContributionEvent letterSoundCorrespondenceContributionEvent) throws DataAccessException;
+ List<LetterSoundPeerReviewEvent> readAll(LetterSoundContributionEvent letterSoundContributionEvent) throws DataAccessException;
src/main/java/ai/elimu/dao/jpa/LetterSoundDaoJpa.java (1)

Line range hint 15-27: Update variable names for consistency.

The method read correctly uses LetterSound, but the variable names still reference letterSoundCorrespondence. Update variable names for consistency.

-        String letterSoundCorrespondenceLetters = letters.stream().map(Letter::getText).collect(Collectors.joining());
-        String letterSoundCorrespondenceSounds = sounds.stream().map(Sound::getValueIpa).collect(Collectors.joining());
-        for (LetterSound letterSoundCorrespondence : readAllOrderedByUsage()) {
-            String lettersAsString = letterSoundCorrespondence.getLetters().stream().map(Letter::getText).collect(Collectors.joining());
-            String soundsAsString = letterSoundCorrespondence.getSounds().stream().map(Sound::getValueIpa).collect(Collectors.joining());
-            if (lettersAsString.equals(letterSoundCorrespondenceLetters) && soundsAsString.equals(letterSoundCorrespondenceSounds)) {
-                return letterSoundCorrespondence;
+        String letterSoundLetters = letters.stream().map(Letter::getText).collect(Collectors.joining());
+        String letterSoundSounds = sounds.stream().map(Sound::getValueIpa).collect(Collectors.joining());
+        for (LetterSound letterSound : readAllOrderedByUsage()) {
+            String lettersAsString = letterSound.getLetters().stream().map(Letter::getText).collect(Collectors.joining());
+            String soundsAsString = letterSound.getSounds().stream().map(Sound::getValueIpa).collect(Collectors.joining());
+            if (lettersAsString.equals(letterSoundLetters) && soundsAsString.equals(letterSoundSounds)) {
+                return letterSound;
src/main/java/ai/elimu/tasks/SoundUsageCountScheduler.java (1)

Line range hint 45-54: Update variable names for consistency.

The method logic correctly uses LetterSound, but the variable names still reference letterSoundCorrespondence. Update variable names for consistency.

-            for (LetterSound letterSoundCorrespondence : word.getLetterSoundCorrespondences()) {
-                for (Sound sound : letterSoundCorrespondence.getSounds()) {
-                    soundFrequencyMap.put(sound.getId(), soundFrequencyMap.getOrDefault(sound.getId(), 0) + letterSoundCorrespondence.getUsageCount());
+            for (LetterSound letterSound : word.getLetterSounds()) {
+                for (Sound sound : letterSound.getSounds()) {
+                    soundFrequencyMap.put(sound.getId(), soundFrequencyMap.getOrDefault(sound.getId(), 0) + letterSound.getUsageCount());
src/main/java/ai/elimu/dao/jpa/LetterSoundContributionEventDaoJpa.java (1)

Line range hint 22-29: Update variable names for consistency.

The method readAll correctly uses LetterSound, but the variable names still reference letterSoundCorrespondence. Update variable names for consistency.

-    public List<LetterSoundCorrespondenceContributionEvent> readAll(LetterSound letterSound) throws DataAccessException {
+    public List<LetterSoundCorrespondenceContributionEvent> readAll(LetterSound letterSound) throws DataAccessException {
        return em.createQuery(
            "SELECT e " + 
            "FROM LetterSoundCorrespondenceContributionEvent e " +
-            "WHERE e.letterSoundCorrespondence = :letterSoundCorrespondence " + 
+            "WHERE e.letterSound = :letterSound " + 
            "ORDER BY e.time DESC")
-            .setParameter("letterSoundCorrespondence", letterSound)
+            .setParameter("letterSound", letterSound)
            .getResultList();
    }
src/main/java/ai/elimu/tasks/LetterSoundCorrespondenceUsageCountScheduler.java (1)

44-51: Rename variable for consistency.

Consider renaming letterSoundCorrespondenceFrequencyMap to letterSoundFrequencyMap to reflect the updated entity name.

- Map<Long, Integer> letterSoundCorrespondenceFrequencyMap = new HashMap<>();
+ Map<Long, Integer> letterSoundFrequencyMap = new HashMap<>();
src/main/java/ai/elimu/dao/jpa/LetterSoundPeerReviewEventDaoJpa.java (1)

Line range hint 27-34: Update SQL query and parameter names for consistency.

The SQL query and parameter names should be updated to reflect the new entity name.

- "WHERE event.letterSoundCorrespondenceContributionEvent.letterSoundCorrespondence = :letterSoundCorrespondence " + 
+ "WHERE event.letterSoundCorrespondenceContributionEvent.letterSound = :letterSound " + 
- .setParameter("letterSoundCorrespondence", letterSound)
+ .setParameter("letterSound", letterSound)
src/main/java/ai/elimu/web/content/letter_sound/LetterSoundPeerReviewsController.java (1)

62-62: Rename variable for consistency.

Consider renaming letterSoundPeerReviewEvents to letterSoundReviewEvents to reflect the updated entity name.

- List<LetterSoundCorrespondencePeerReviewEvent> letterSoundPeerReviewEvents = letterSoundPeerReviewEventDao.readAll(mostRecentLetterSoundContributionEvent, contributor);
+ List<LetterSoundCorrespondencePeerReviewEvent> letterSoundReviewEvents = letterSoundPeerReviewEventDao.readAll(mostRecentLetterSoundContributionEvent, contributor);
src/main/java/ai/elimu/web/content/word/WordCsvExportController.java (1)

62-62: Rename variable for consistency.

Consider renaming letterSoundCorrespondenceJsonObject to letterSoundJsonObject to reflect the updated entity name.

- JSONObject letterSoundCorrespondenceJsonObject = new JSONObject();
- letterSoundCorrespondenceJsonObject.put("id", letterSoundCorrespondence.getId());
- letterSoundCorrespondenceJsonObject.put("letters", lettersArray);
- letterSoundCorrespondenceJsonObject.put("sounds", soundsArray);
- letterSoundCorrespondenceJsonObject.put("usageCount", letterSoundCorrespondence.getUsageCount());
- letterSoundCorrespondencesJsonArray.put(index, letterSoundCorrespondenceJsonObject);
+ JSONObject letterSoundJsonObject = new JSONObject();
+ letterSoundJsonObject.put("id", letterSoundCorrespondence.getId());
+ letterSoundJsonObject.put("letters", lettersArray);
+ letterSoundJsonObject.put("sounds", soundsArray);
+ letterSoundJsonObject.put("usageCount", letterSoundCorrespondence.getUsageCount());
+ letterSoundCorrespondencesJsonArray.put(index, letterSoundJsonObject);

@@ -10,13 +11,13 @@ public class LetterSoundCorrespondenceContributionEvent extends ContributionEven

@NotNull
@ManyToOne
private LetterSoundCorrespondence letterSoundCorrespondence;
private LetterSound letterSoundCorrespondence;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update property name to reflect new naming convention.

The property name should be updated to letterSound.

- private LetterSound letterSoundCorrespondence;
+ private LetterSound letterSound;
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
private LetterSound letterSoundCorrespondence;
private LetterSound letterSound;

Comment on lines +16 to 18
public LetterSound getLetterSoundCorrespondence() {
return letterSoundCorrespondence;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update getter method to reflect new naming convention.

The getter method should be updated to getLetterSound.

- public LetterSound getLetterSoundCorrespondence() {
-     return letterSoundCorrespondence;
+ public LetterSound getLetterSound() {
+     return letterSound;
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
public LetterSound getLetterSoundCorrespondence() {
return letterSoundCorrespondence;
}
public LetterSound getLetterSound() {
return letterSound;

@@ -1,6 +1,7 @@
package ai.elimu.model.contributor;

import ai.elimu.model.content.LetterSoundCorrespondence;
import ai.elimu.model.content.LetterSound;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update import statement to reflect new naming convention.

The import statement should use LetterSound instead of LetterSoundCorrespondence.

- import ai.elimu.model.content.LetterSoundCorrespondence;
+ import ai.elimu.model.content.LetterSound;

Committable suggestion was skipped due to low confidence.

Comment on lines +20 to 22
public void setLetterSoundCorrespondence(LetterSound letterSoundCorrespondence) {
this.letterSoundCorrespondence = letterSoundCorrespondence;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update setter method to reflect new naming convention.

The setter method should be updated to setLetterSound.

- public void setLetterSoundCorrespondence(LetterSound letterSoundCorrespondence) {
-     this.letterSoundCorrespondence = letterSoundCorrespondence;
+ public void setLetterSound(LetterSound letterSound) {
+     this.letterSound = letterSound;
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
public void setLetterSoundCorrespondence(LetterSound letterSoundCorrespondence) {
this.letterSoundCorrespondence = letterSoundCorrespondence;
}
public void setLetterSound(LetterSound letterSound) {
this.letterSound = letterSound;
}

@@ -1,25 +1,25 @@
package ai.elimu.logic.converters;

import org.apache.commons.lang.StringUtils;
import ai.elimu.model.content.LetterSoundCorrespondence;
import ai.elimu.model.content.LetterSound;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update import statement to reflect new naming convention.

The import statement should use LetterSound instead of LetterSoundCorrespondence.

- import ai.elimu.model.content.LetterSoundCorrespondence;
+ import ai.elimu.model.content.LetterSound;
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
import ai.elimu.model.content.LetterSound;
import ai.elimu.model.content.LetterSound;

@@ -79,7 +76,7 @@ public static List<LetterSoundCorrespondence> getLetterSoundCorrespondencesFromC
for (CSVRecord csvRecord : csvParser) {
logger.info("csvRecord: " + csvRecord);

LetterSoundCorrespondence letterSoundCorrespondence = new LetterSoundCorrespondence();
LetterSound letterSoundCorrespondence = new LetterSound();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variable name should be updated for consistency.

Update the variable name letterSoundCorrespondence to letterSound for consistency with the new class name.

- LetterSound letterSoundCorrespondence = new LetterSound();
+ LetterSound letterSound = new LetterSound();
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
LetterSound letterSoundCorrespondence = new LetterSound();
LetterSound letterSound = new LetterSound();

logger.info("getLetterSoundCorrespondencesFromCsvBackup");

List<LetterSoundCorrespondence> letterSoundCorrespondences = new ArrayList<>();
List<LetterSound> letterSoundCorrespondences = new ArrayList<>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variable name should be updated for consistency.

Update the variable name letterSoundCorrespondences to letterSounds for consistency with the new class name.

- List<LetterSound> letterSoundCorrespondences = new ArrayList<>();
+ List<LetterSound> letterSounds = new ArrayList<>();
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
List<LetterSound> letterSoundCorrespondences = new ArrayList<>();
List<LetterSound> letterSounds = new ArrayList<>();

@@ -174,7 +171,7 @@ public static List<Word> getWordsFromCsvBackup(File csvFile, LetterDao letterDao
Sound sound = soundDao.readByValueIpa(soundsJsonArray.getString(j));
sounds.add(sound);
}
LetterSoundCorrespondence letterSoundCorrespondence = letterSoundDao.read(letters, sounds);
LetterSound letterSoundCorrespondence = letterSoundDao.read(letters, sounds);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variable name should be updated for consistency.

Update the variable name letterSoundCorrespondence to letterSound for consistency with the new class name.

- LetterSound letterSoundCorrespondence = letterSoundDao.read(letters, sounds);
- logger.info("letterSoundCorrespondence.getId(): " + letterSoundCorrespondence.getId());
- letterSoundCorrespondences.add(letterSoundCorrespondence);
+ LetterSound letterSound = letterSoundDao.read(letters, sounds);
+ logger.info("letterSound.getId(): " + letterSound.getId());
+ letterSounds.add(letterSound);
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
LetterSound letterSoundCorrespondence = letterSoundDao.read(letters, sounds);
LetterSound letterSound = letterSoundDao.read(letters, sounds);
logger.info("letterSound.getId(): " + letterSound.getId());
letterSounds.add(letterSound);

@@ -56,10 +53,10 @@ public class CsvContentExtractionHelper {
/**
* For information on how the CSV files were generated, see {@link LetterSoundCsvExportController#handleRequest}.
*/
public static List<LetterSoundCorrespondence> getLetterSoundCorrespondencesFromCsvBackup(File csvFile, LetterDao letterDao, SoundDao soundDao, LetterSoundDao letterSoundDao) {
public static List<LetterSound> getLetterSoundCorrespondencesFromCsvBackup(File csvFile, LetterDao letterDao, SoundDao soundDao, LetterSoundDao letterSoundDao) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method name should be updated for consistency.

Update the method name getLetterSoundCorrespondencesFromCsvBackup to getLetterSoundsFromCsvBackup for consistency with the new class name.

- public static List<LetterSound> getLetterSoundCorrespondencesFromCsvBackup(File csvFile, LetterDao letterDao, SoundDao soundDao, LetterSoundDao letterSoundDao) {
+ public static List<LetterSound> getLetterSoundsFromCsvBackup(File csvFile, LetterDao letterDao, SoundDao soundDao, LetterSoundDao letterSoundDao) {
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
public static List<LetterSound> getLetterSoundCorrespondencesFromCsvBackup(File csvFile, LetterDao letterDao, SoundDao soundDao, LetterSoundDao letterSoundDao) {
public static List<LetterSound> getLetterSoundsFromCsvBackup(File csvFile, LetterDao letterDao, SoundDao soundDao, LetterSoundDao letterSoundDao) {

@@ -158,7 +155,7 @@ public static List<Word> getWordsFromCsvBackup(File csvFile, LetterDao letterDao

JSONArray letterSoundCorrespondencesJsonArray = new JSONArray(csvRecord.get("letter_sound_correspondences"));
logger.info("letterSoundCorrespondencesJsonArray: " + letterSoundCorrespondencesJsonArray);
List<LetterSoundCorrespondence> letterSoundCorrespondences = new ArrayList<>();
List<LetterSound> letterSoundCorrespondences = new ArrayList<>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variable name should be updated for consistency.

Update the variable name letterSoundCorrespondences to letterSounds for consistency with the new class name.

- List<LetterSound> letterSoundCorrespondences = new ArrayList<>();
+ List<LetterSound> letterSounds = new ArrayList<>();
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
List<LetterSound> letterSoundCorrespondences = new ArrayList<>();
List<LetterSound> letterSounds = new ArrayList<>();

@SnehaHS65 SnehaHS65 requested a review from jo-elimu July 7, 2024 21:41
@SnehaHS65
Copy link
Contributor Author

Hi @jo-elimu , @nya-elimu , @venkatesh2k3 , can you please look at the latest changes that I did to rename LetterSoundCorrespondence to LetterSound. This is the first PR to just rename the LetterSoundCorrespondence database table as suggested by @jo-elimu. If you approve this, I can raise one more PR for renaming the LetterSoundCorrespondence_id references.

@jo-elimu
Copy link
Member

jo-elimu commented Jul 12, 2024

Hi @jo-elimu , @nya-elimu , @venkatesh2k3 , can you please look at the latest changes that I did to rename LetterSoundCorrespondence to LetterSound. This is the first PR to just rename the LetterSoundCorrespondence database table as suggested by @jo-elimu. If you approve this, I can raise one more PR for renaming the LetterSoundCorrespondence_id references.

@SnehaHS65 If you look at your changes in jpa-schema-export.sql, you'll see that it contains around 16 changes, and these 16 changes would also have to be included in the DB migration script.

This is why I suggested above that we split #1677 into smaller pull requests to make each database migration less complicated.

I've created an example here: #1713. This pull request only makes one small change (renaming from Word#letterSoundCorrespondences to Word#letterSounds). After merging that PR, we can perform a release and verify that the migration script runs without errors. If so, we can move on to another small part of the issue.

@SnehaHS65
Copy link
Contributor Author

Hi @jo-elimu , @nya-elimu , @venkatesh2k3 , can you please look at the latest changes that I did to rename LetterSoundCorrespondence to LetterSound. This is the first PR to just rename the LetterSoundCorrespondence database table as suggested by @jo-elimu. If you approve this, I can raise one more PR for renaming the LetterSoundCorrespondence_id references.

@SnehaHS65 If you look at your changes in jpa-schema-export.sql, you'll see that it contains around 16 changes, and these 16 changes would also have to be included in the DB migration script.

This is why I suggested above that we split #1677 into smaller pull requests to make each database migration less complicated.

I've created an example here: #1713. This pull request only makes one small change (renaming from Word#letterSoundCorrespondences to Word#letterSounds). After merging that PR, we can perform a release and verify that the migration script runs without errors. If so, we can move on to another small part of the issue.

@jo-elimu ,So there are ContributionEvent and PeerReviewEvent which uses this letterSoundCorrespondence, I will now only edit for ContributionEvent first and commit?

@jo-elimu
Copy link
Member

jo-elimu commented Jul 13, 2024

@jo-elimu ,So there are ContributionEvent and PeerReviewEvent which uses this letterSoundCorrespondence, I will now only edit for ContributionEvent first and commit?

@SnehaHS65 Yes, that's right 🙂

I suggest you close this pull request, and open a new pull request only for renaming the LetterSoundCorrespondenceContributionEvent class. And remember to include the DB migration script as well (see similar example in 2004010.sql).

So in total we'll end up with 6 smaller PRs for closing #1677.

@SnehaHS65 SnehaHS65 closed this Jul 13, 2024
@SnehaHS65 SnehaHS65 deleted the chore-#1677-rename-LetterSoundCorrespondence-to-LetterSound branch July 13, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants