As Section Translation improves and new features are developed, a refactoring can help the code to remain organized. This ticket focuses on refactoring code about state management which is supported by the Vuex library.
Description
Details
Event Timeline
Change 697596 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX vuex store cleanup: Remove mediawiki/getPageSection getter
Change 697620 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX vuex store: Remove application/createNewSectionSuggestion action
Change 697596 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX vuex store cleanup: Remove mediawiki/getPageSection getter
Change 697620 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX vuex store: Remove application/createNewSectionSuggestion action
Change 698725 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX vuex application: Remove selectInitialTranslationSegment action
Change 698734 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX vuex application actions: Add selectPageSectionByIndex action
Change 698741 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX vuex mediawiki/fetchPageMetadata: Fix to really return a promise
Change 698725 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX vuex application: Remove selectInitialTranslationSegment action
Change 698734 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX vuex application actions: Add selectPageSectionByIndex action
Change 698741 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX vuex mediawiki/fetchPageMetadata: Fix to really return a promise
Change 726758 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX: Move initializeDashboardContext vuex action to composable
Change 726758 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX: Move initializeDashboardContext vuex action to composable
Change 741683 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX: Move translateSegment action from mediawiki to translator module
Change 741741 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX: Refactor vuex translation functionality
Change 741683 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX: Move translateSegment action from mediawiki to translator module
Change 741741 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX: Refactor vuex translation functionality
Change 742284 had a related patch set uploaded (by Santhosh; author: Santhosh):
[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.1.0+20211129
Change 742284 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.1.0+20211129
Change 742849 had a related patch set uploaded (by KartikMistry; author: Santhosh):
[mediawiki/extensions/ContentTranslation@wmf/1.38.0-wmf.9] CX3 Build 0.1.0+20211129
Change 742849 abandoned by KartikMistry:
[mediawiki/extensions/ContentTranslation@wmf/1.38.0-wmf.9] CX3 Build 0.1.0+20211129
Reason:
Need to fix Merge Conflict first.
Change 742849 restored by KartikMistry:
[mediawiki/extensions/ContentTranslation@wmf/1.38.0-wmf.9] CX3 Build 0.1.0+20211129
Change 742849 abandoned by KartikMistry:
[mediawiki/extensions/ContentTranslation@wmf/1.38.0-wmf.9] CX3 Build 0.1.0+20211129
Reason: