-
+
+
@for (componentGroup of componentGroups; track componentGroup.name) {
-
-
{{ componentGroup.name }}
- @for (componentType of componentGroup.types; track componentType.type) {
-
-
-
- }
-
+
}
-
- *Note: You can always add or remove content later by editing the step.
-
diff --git a/src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.scss b/src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.scss
index 48f82056eac..c9a63a1d244 100644
--- a/src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.scss
+++ b/src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.scss
@@ -1,4 +1,5 @@
@use '@angular/material' as mat;
+@import 'tailwindcss';
$border-color: #dddddd;
$transform: transform 250ms cubic-bezier(0, 0, 0.2, 1);
@@ -10,8 +11,7 @@ $transform: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}
.initial-components {
- padding: 8px;
- margin: 4px;
+ background-color: var(--color-gray-100);
}
.component-list {
diff --git a/src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.ts b/src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.ts
index 36c9d133b8a..c47b76ef299 100644
--- a/src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.ts
+++ b/src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.ts
@@ -14,7 +14,7 @@ import { ActivatedRoute, Router, RouterModule } from '@angular/router';
import { TeacherProjectService } from '../../../services/teacherProjectService';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatIconModule } from '@angular/material/icon';
-import { ComponentTypeButtonComponent } from '../../components/component-type-button/component-type-button.component';
+import { ComponentTypeGroupComponent } from '../../../../../app/authoring-tool/component-type-group/component-type-group.component';
import { MatDividerModule } from '@angular/material/divider';
import { MatButtonModule } from '@angular/material/button';
import { MatProgressBarModule } from '@angular/material/progress-bar';
@@ -25,7 +25,7 @@ import { ensureDefaultIcon } from '../../../common/Node';
@Component({
imports: [
- ComponentTypeButtonComponent,
+ ComponentTypeGroupComponent,
DragDropModule,
FormsModule,
MatButtonModule,
diff --git a/src/assets/wise5/authoringTool/components/component-type-button/component-type-button.component.scss b/src/assets/wise5/authoringTool/components/component-type-button/component-type-button.component.scss
index c885fdfcb9c..67d9b4e622b 100644
--- a/src/assets/wise5/authoringTool/components/component-type-button/component-type-button.component.scss
+++ b/src/assets/wise5/authoringTool/components/component-type-button/component-type-button.component.scss
@@ -6,4 +6,6 @@ mat-card {
width: 100%;
justify-content: flex-start;
text-transform: capitalize;
+ text-align: start;
+ padding: 0 8px;
}
\ No newline at end of file
diff --git a/src/assets/wise5/components/summary/SummaryInfo.ts b/src/assets/wise5/components/summary/SummaryInfo.ts
index e072c05b5c9..d95e8ee7e97 100644
--- a/src/assets/wise5/components/summary/SummaryInfo.ts
+++ b/src/assets/wise5/components/summary/SummaryInfo.ts
@@ -2,10 +2,10 @@ import { ComponentInfo } from '../ComponentInfo';
export class SummaryInfo extends ComponentInfo {
protected description: string = $localize`Students are shown an aggregate graph summarizing data from the class.`;
- protected label: string = $localize`Graph Summary`;
+ protected label: string = $localize`Summary Graph`;
protected previewExamples: any[] = [
{
- lable: $localize`Graph Summary`,
+ lable: $localize`Summary Graph`,
content: {
id: 'abcde12345',
type: 'Summary',
diff --git a/src/assets/wise5/components/summary/summaryService.ts b/src/assets/wise5/components/summary/summaryService.ts
index 34700b5d08b..b8b585fea2a 100644
--- a/src/assets/wise5/components/summary/summaryService.ts
+++ b/src/assets/wise5/components/summary/summaryService.ts
@@ -37,7 +37,7 @@ export class SummaryService extends ComponentService {
}
getComponentTypeLabel(): string {
- return $localize`Graph Summary`;
+ return $localize`Summary Graph`;
}
createComponent() {
diff --git a/src/assets/wise5/services/componentTypeService.ts b/src/assets/wise5/services/componentTypeService.ts
index caea190606d..b6e87e415a2 100644
--- a/src/assets/wise5/services/componentTypeService.ts
+++ b/src/assets/wise5/services/componentTypeService.ts
@@ -17,8 +17,8 @@ export class ComponentTypeService {
name: $localize`View Information`,
types: [
{ type: 'HTML', name: this.getComponentTypeLabel('HTML') },
- { type: 'Summary', name: this.getComponentTypeLabel('Summary') },
- { type: 'ShowMyWork', name: this.getComponentTypeLabel('ShowMyWork') }
+ { type: 'ShowMyWork', name: this.getComponentTypeLabel('ShowMyWork') },
+ { type: 'Summary', name: this.getComponentTypeLabel('Summary') }
]
},
{
@@ -33,16 +33,7 @@ export class ComponentTypeService {
]
},
{
- name: $localize`Collaborate`,
- types: [
- { type: 'DialogGuidance', name: this.getComponentTypeLabel('DialogGuidance') },
- { type: 'Discussion', name: this.getComponentTypeLabel('Discussion') },
- { type: 'PeerChat', name: this.getComponentTypeLabel('PeerChat') },
- { type: 'ShowGroupWork', name: this.getComponentTypeLabel('ShowGroupWork') }
- ]
- },
- {
- name: $localize`Experiment, Discover and Distinguish`,
+ name: $localize`Experiment, Discover, Distinguish`,
types: [
{ type: 'Animation', name: this.getComponentTypeLabel('Animation') },
{ type: 'AudioOscillator', name: this.getComponentTypeLabel('AudioOscillator') },
@@ -51,6 +42,15 @@ export class ComponentTypeService {
{ type: 'OutsideURL', name: this.getComponentTypeLabel('OutsideURL') },
{ type: 'Table', name: this.getComponentTypeLabel('Table') }
]
+ },
+ {
+ name: $localize`Collaborate`,
+ types: [
+ { type: 'DialogGuidance', name: this.getComponentTypeLabel('DialogGuidance') },
+ { type: 'Discussion', name: this.getComponentTypeLabel('Discussion') },
+ { type: 'PeerChat', name: this.getComponentTypeLabel('PeerChat') },
+ { type: 'ShowGroupWork', name: this.getComponentTypeLabel('ShowGroupWork') }
+ ]
}
];
From 367659eb32ddaa1afbd028882c06dc336b62e7a1 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Thu, 16 Apr 2026 18:22:11 +0000
Subject: [PATCH 5/5] Updated messages
---
src/messages.xlf | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/src/messages.xlf b/src/messages.xlf
index 5047ae9b909..ae2b498b9e7 100644
--- a/src/messages.xlf
+++ b/src/messages.xlf
@@ -405,7 +405,7 @@
Cancel
src/app/authoring-tool/add-component/choose-new-component/choose-new-component.component.html
- 24,26
+ 20,22
src/app/authoring-tool/import-step/choose-import-step/choose-import-step.component.html
@@ -469,7 +469,7 @@
src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.html
- 63,67
+ 57,61
src/assets/wise5/authoringTool/addNode/choose-new-node-template/choose-new-node-template.component.html
@@ -1594,7 +1594,7 @@
src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.html
- 60,63
+ 54,57
src/assets/wise5/authoringTool/addNode/choose-automated-assessment/choose-automated-assessment.component.html
@@ -1677,7 +1677,7 @@
src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.html
- 74,79
+ 68,73
src/assets/wise5/authoringTool/addNode/choose-simulation/choose-simulation.component.html
@@ -10400,31 +10400,31 @@
9,11
+
+ *Note: You can always add or remove content later by editing the step.
+
+ src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.html
+ 11,14
+
+
No activities added
src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.html
- 13,16
+ 16,19
Delete activity
src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.html
- 26,28
+ 29,31
src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html
69,71
-
- *Note: You can always add or remove content later by editing the step.
-
- src/assets/wise5/authoringTool/addNode/add-your-own-node/add-your-own-node.component.html
- 52,57
-
-
New Step
@@ -22320,8 +22320,8 @@ If this problem continues, let your teacher know and move on to the next activit
4
-
- Graph Summary
+
+ Summary Graph
src/assets/wise5/components/summary/SummaryInfo.ts
5
@@ -23357,18 +23357,18 @@ If this problem continues, let your teacher know and move on to the next activit
25
-
- Collaborate
+
+ Experiment, Discover, Distinguish
src/assets/wise5/services/componentTypeService.ts
36
-
- Experiment, Discover and Distinguish
+
+ Collaborate
src/assets/wise5/services/componentTypeService.ts
- 45
+ 47