Skip to content

Conversation

@hirokiterashima
Copy link
Member

@hirokiterashima hirokiterashima commented Nov 22, 2025

This is part 2 of the work to remove modules from WISE-Client and replacing them with standalone components. Also, I removed RoutingModules and replaced them with simple arrays instead. Since the change set has already grown large, I broke up this work into multiple parts to make it easier to review.

Changes

  • Remove modules and replace them with directly importing standalone components
  • Remove routing modules and replace them with simple arrays
  • Clean up related code

Test

  • VLE, AT, and CM work as before

…alogComponent. Should be re-written from scratch.
@qltysh
Copy link

qltysh bot commented Nov 22, 2025

❌ 1 blocking issue (1 total)

Tool Category Rule Count
qlty Structure Function with many parameters (count = 6): constructor 1

@hirokiterashima hirokiterashima marked this pull request as ready for review November 22, 2025 04:45
Comment on lines +28 to +49
spyOn(componentTypeService, 'getComponentTypes').and.returnValue([
{ type: 'AiChat', name: 'AI Chat' },
{ type: 'Animation', name: 'Animation' },
{ type: 'AudioOscillator', name: 'Audio Oscillator' },
{ type: 'ConceptMap', name: 'Concept Map' },
{ type: 'DialogGuidance', name: 'Dialog Guidance' },
{ type: 'Discussion', name: 'Discussion' },
{ type: 'Draw', name: 'Draw' },
{ type: 'Embedded', name: 'Embedded' },
{ type: 'Graph', name: 'Graph' },
{ type: 'Label', name: 'Label' },
{ type: 'Match', name: 'Match' },
{ type: 'MultipleChoice', name: 'Multiple Choice' },
{ type: 'OpenResponse', name: 'Open Response' },
{ type: 'OutsideURL', name: 'Outside URL' },
{ type: 'PeerChat', name: 'Peer Chat' },
{ type: 'HTML', name: 'HTML' },
{ type: 'ShowGroupWork', name: 'Show Group Work' },
{ type: 'ShowMyWork', name: 'Show My Work' },
{ type: 'Summary', name: 'Summary' },
{ type: 'Table', name: 'Table' }
]);
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps this could be done without hard-coding. Because we'll need to update whenever a component type is added, removed, or edited, correct?

Copy link
Member

@breity breity left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@hirokiterashima hirokiterashima merged commit cdd09a3 into remove-modules Dec 4, 2025
1 check passed
@hirokiterashima hirokiterashima deleted the remove-modules-part-2 branch December 4, 2025 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants