In the task T409827: [MEX] Let wbui2025 server-side rendering serve <style>s of .vue files to no-JS clients, a new factory view/src/Wbui2025ComponentsFactory.php class was introduced to separate the logic of listing the Vuejs components.
The logic related to the components is still lives in the class extensions/Wikibase/view/src/VueNoScriptRendering.php, which violates the separation of concerns concept in that class. which makes it a mixed functionality (it does a lot of things).
The refactoring already started in the mentioned task but it was targeting the necessary logic which lies within the scope of the task .
Acceptance Criteria:
- Separate the logic/functions related to the Vue components into their related class (exmple: Wbui2025ComponentsFactory.php).
- The moved functionality should work as before without any interruptions.
- As a result, the moved logic should now be covered with proper tests.
- No performance regression should happen.