Refactor all migrated object factories to model.ts files in angular. #10700
Comments
* refactoring state stats model * refactoring state stats model Co-authored-by: justlitatheng <laklitatheng@gmail.com>
* refactor topic-rights.model.ts * refactor ParamMetadata partially * refactor ParamMetadata * refactor ExplorationMetadata * Refactor LearnerDashboardActivityIdsModel * Refactor AutogeneratedAudioLanguage * Refactor ImageFileObjectFactory * Refactor AudioLanguageObjectFactory * Refactor StopwatchObjectFactory * Refactor AudioFileObjectFactory * Refactor EntityContextObjectFactory * Refactor FileDownloadRequestObjectFactory * Refactor ClassifierObjectFactory * Refactor PredictionResultObjectFactory * Refactor AnswerClassificationResultObjectFactory * Refactor TopicsAndSkillsDashboardObjectFactory * Refactor NewlyCreatedTopicObjectFactory * Refactor StorySummaryObjectFactory * fix errors * Refactor ChangeObjectFactory * Refactor FeedbackThreadSummary * Refactor ExplorationDraftObjectFactory * fix linting errors * fix typescript errors * resolve conflicts * fix formatting issues * fix linting issues * resolve typescript errors * correct fileoverview of .model.spec.ts files * remove create methods in model classes * resolve errors * remove unused imports * refactor StoryNodeObjectFactory * fix linting errors * update imports * correct the importing order
|
@srijanreddy98 can I take up |
|
Hey! @arpit1912, CollectionNode is already migrate and is in the review phase. Could you please take some other ObjectFactory. Sorry for the inconvenience. |
* Refactor Collection Summary Object Factory * Refactor Skill Summary Object Factory * Refactor Assigned Skill Object Factory * Refactor Augmented Skill Summary Object Factory * Refactor Exploration Improvements Config Object Factory * Refactor Computation Data Object Factory * Refactor Job Status Summary Object Factory * Refactor Job Data Object Factory * Refactor Profile Summary Object Factory * Refactor Review Test Object Factory * Refactor Exploration Permission Object Factory * Refactor Visualization Info Onject Factory * Refactor Non Existent Activities Object Factory * Refactor Creator Dashboard Stats Object Factory * Refactor Client Context Object Factory * Refactor Feature Status Summary Object Factory * Refactor Creator Exploration Summary Object Factory * Refactor Learner Answer Info Object Factory * Refactor Learner Answer Details Object Factory * Refactor Featured Translation language Object Factory * Fix Linting Issues * Refactor Exploration Opportunity Summary Object Factory * Fix Formatting Issues * Fix Formattion Issues and Backend Test * Fix Import Issues * Fix Merge Conflicts * Fix Formatting Issues * Fix Compilation Errors * Fix formatting issues * Fix Formatting issues * Fix linting issues
* Refactor Collection Node Object Factory * Refactor Collection Object Factory * Refactor Email Query Deashboard and Email Query Dashboard Results Object Factories * Refactor Platform Parameter Filter, Rule Object Factories * Refactor Exploration Stats Object Factories * Refactor LearnerExplorationSummary and UserProfile Object Factories * Refactor ReadOnlyStoryNode and StoryPlaythrough Object Factories * Refactor TopicSummary and ClassroomData Object Factories * Refactor HighBounceRateTask Object Factory * Refactor SuccessiveIncorrectAnswerTask IneffectiveFeedbackLoopTask NeedsGuidingResponseTask and ExplorationTask Object Factories * Fix coverage * Fix coverage * Fix coverage * Fix Coverage * Fix Review Issues * Fix Frontend Test Issues * Add TODO(#10875): Fix type mismatch * Add TODO(#10875): Fix type mismatch * Fix Merge conflicts in angular-services * Fix compile issues
* Refactor SkillOpportunityObjectFactory * Refactor CollectionRightsObjectFactory * Refactor GuestCollectionProgressObjectFactory * Refactor SkillDifficultyObjectFactory * Refactor SkillMasteryObjectFactory * Refactor SkillRightsObjectFactory * Refactor FeedbackMessageSummaryObjectFactory * Refactor TaskEntryObjectFactory * Refactor RatioObjectFactory * Refactor UserInfoObjectFactory * Refactor NewlyCreatedStoryObjectFactory * Fix Frontend Tests * Fix Linting Issues * Fix Linting Issues * Fix linting issues * Fix linting issues * Fix Linting Issues * Fix minor formatting issue * Fix minor formatting issues
|
@darksun27 Can I work on |
|
@mridul-netizen assigned to you! |
|
Hi @darksun27, thanks for proposing this as a good first issue. I am removing the label for now and looping in @vojtechjelinek to approve the label. It will be added back if approved. Thanks! |
|
@jameesjohn Why was I assigned here and not Sandeep? Maybe some code is not deployed? |
|
@srijanreddy98 I would like to work on |
|
@srijanreddy98 I have already made a commit and I'm opening a PR for the same. Could you please assign the requested file to me? Thanks. |
|
@parulpriyedarshani done! |
|
@darksun27 |
it would be learner-action.model.ts |
|
@darksun27 As per @brianrodri this PR requires some code refractoring. Can you assign me |
|
@vojtechjelinek @darksun27 @srijanreddy98 can you please assign QuestionSummary to me. |
|
@srijanreddy98 @darksun27 , can I work on |
|
@amulya00 I have assigned you. |
|
Assigned |
|
@srijanreddy98, can you please assign me |
|
can i work on PlaythroughIssue? @srijanreddy98 |
* Fix part of #10306: Added async keyword to functions that return a promise * added async keyword to function getExplorationStatsAsync * Update exploration-improvements-task-registry.service.ts * Made necessary changes * removed unnecessary newline * Fix Part of #10700: Refactor suggestion object factory * Fix Part of #10700: Refactor suggestion object factory * Fix Part of #10700: Refactor suggestion object factory * Fix Part of #10700: Refactor suggestions object factory * Fix Part of #10700: Refactor suggestion object factory * Fix Part of #10700: Refactor suggestion object factory * Fixed indentation in suggestion.model.ts * Fixed indentation in suggestion.model.ts * Fixed indentation in suggestion.model.ts * Fix Part of #10700: Refactor suggestion object factory * Fixed suggestion.model.ts * Fixed suggestion.model.ts * Fixed typerscript errors * Fixed typerscript errors * Fixed typerscript errors * Fixed typerscript errors * Fixed typerscript errors * typerscript errors * typerscript errors * typerscript errors * typerscript errors
|
@srijanreddy98 please assign me |
|
@sachinchauhan2889 I am already working on it and have opened a PR can you work on some other file? |
|
@mridul-netizen sorry i haven't seen Your PR. I only see unclaimed list and create PR. |
|
@srijanreddy98 can you please assign me |
…readMessageObjectFactory to Model (#12060) * updated * updated * refracted threadmessageobjectfactory * removed createNew * updated * updated * updated
…#11942) * Fix part of oppia#10306: Added async keyword to functions that return a promise * added async keyword to function getExplorationStatsAsync * Update exploration-improvements-task-registry.service.ts * Made necessary changes * removed unnecessary newline * Fix Part of oppia#10700: Refactor suggestion object factory * Fix Part of oppia#10700: Refactor suggestion object factory * Fix Part of oppia#10700: Refactor suggestion object factory * Fix Part of oppia#10700: Refactor suggestions object factory * Fix Part of oppia#10700: Refactor suggestion object factory * Fix Part of oppia#10700: Refactor suggestion object factory * Fixed indentation in suggestion.model.ts * Fixed indentation in suggestion.model.ts * Fixed indentation in suggestion.model.ts * Fix Part of oppia#10700: Refactor suggestion object factory * Fixed suggestion.model.ts * Fixed suggestion.model.ts * Fixed typerscript errors * Fixed typerscript errors * Fixed typerscript errors * Fixed typerscript errors * Fixed typerscript errors * typerscript errors * typerscript errors * typerscript errors * typerscript errors
We have a new convention in the codebase for structuring data. Previously we used Object Factories but since the codebase is completely in Typescript, we can now move to typescript classes.
You can find instructions on how to migrate here. You can use #10701 and #10713 as reference examples.
If you want to work on any unclaimed Object Factory in this tracker, please add a comment in this thread and tag @srijanreddy98, and we'll add you as an assignee. It will be all yours then. This is done so that we don't have any duplication of work.
Unclaimed:
Claimed:
Finished:
Design Doc: https://docs.google.com/document/d/1AH2phvdQ_nTlIVTqK2wLX-BopowCsoaIhCDHRMUsl9s/edit?usp=sharing
The text was updated successfully, but these errors were encountered: