Skip to content

Commit

Permalink
style(Node Authoring): Rearrange top controls (#1368)
Browse files Browse the repository at this point in the history
  • Loading branch information
breity authored Jul 28, 2023
1 parent 4e8aa3e commit 215ea58
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@
<div *ngIf="$state.current.name === 'root.at.project.node'">
<div class="top-button-bar">
<div fxLayout="row wrap" fxLayoutAlign="start center" fxLayoutGap="16px">
<button
mat-raised-button
color="primary"
(click)="close()"
matTooltip="Back"
matTooltipPosition="above"
i18n-matTooltip
>
<mat-icon>arrow_back</mat-icon>
</button>
<teacher-node-icon [nodeId]="nodeId" [canEdit]="true" size="18"></teacher-node-icon>
<mat-form-field class="step-title form-field-no-hint">
<mat-label *ngIf="!isGroupNode" i18n>Step Title {{ nodePosition }}:</mat-label>
Expand All @@ -33,7 +23,6 @@
i18n-aria-label
/>
</mat-form-field>
<span fxFlex></span>
<div class="node-buttons" fxLayoutGap="16px">
<button
mat-raised-button
Expand Down Expand Up @@ -71,6 +60,16 @@
<mat-icon>visibility</mat-icon>
</button>
</div>
<span fxFlex></span>
<button
mat-icon-button
(click)="close()"
matTooltip="Back to unit"
matTooltipPosition="above"
i18n-matTooltip
>
<mat-icon>close</mat-icon>
</button>
</div>
<ng-template #addComponentButtonTemplate let-componentId="componentId">
<button
Expand Down
75 changes: 39 additions & 36 deletions src/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">183</context>
<context context-type="linenumber">182</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/components/common/feedbackRule/edit-feedback-rules/edit-feedback-rules.component.html</context>
Expand Down Expand Up @@ -1497,7 +1497,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">67</context>
<context context-type="linenumber">56</context>
</context-group>
</trans-unit>
<trans-unit id="e67bebb0291cbe76b190e83225878cdd3a8a6df6" datatype="html">
Expand Down Expand Up @@ -8940,10 +8940,6 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/advanced/node-advanced-authoring/node-advanced-authoring.component.html</context>
<context context-type="linenumber">6</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">17</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/structure/jigsaw/jigsaw.component.html</context>
<context context-type="linenumber">24</context>
Expand Down Expand Up @@ -10341,63 +10337,63 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
<source>Are you sure you want to delete Milestone <x id="PH" equiv-text="index + 1"/>?</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/milestones-authoring/milestones-authoring.component.ts</context>
<context context-type="linenumber">159</context>
<context context-type="linenumber">162</context>
</context-group>
</trans-unit>
<trans-unit id="7024630208708158199" datatype="html">
<source>Are you sure you want to delete Milestone Satisfy Criteria <x id="PH" equiv-text="index + 1"/>?</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/milestones-authoring/milestones-authoring.component.ts</context>
<context context-type="linenumber">203,205</context>
<context context-type="linenumber">206,208</context>
</context-group>
</trans-unit>
<trans-unit id="3843742807165983746" datatype="html">
<source>Are you sure you want to copy the Node ID and Component ID to the rest of this Milestone?</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/milestones-authoring/milestones-authoring.component.ts</context>
<context context-type="linenumber">222</context>
<context context-type="linenumber">225</context>
</context-group>
</trans-unit>
<trans-unit id="2939253877312668023" datatype="html">
<source>Are you sure you want to delete this location?</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/milestones-authoring/milestones-authoring.component.ts</context>
<context context-type="linenumber">303</context>
<context context-type="linenumber">306</context>
</context-group>
</trans-unit>
<trans-unit id="2352516814483415297" datatype="html">
<source>Error: Key must not be empty</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/milestones-authoring/milestones-authoring.component.ts</context>
<context context-type="linenumber">328</context>
<context context-type="linenumber">331</context>
</context-group>
</trans-unit>
<trans-unit id="8901595968494756779" datatype="html">
<source>Error: Values must not be empty</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/milestones-authoring/milestones-authoring.component.ts</context>
<context context-type="linenumber">331</context>
<context context-type="linenumber">334</context>
</context-group>
</trans-unit>
<trans-unit id="416312765943073774" datatype="html">
<source>Are you sure you want to delete this custom score value?</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/milestones-authoring/milestones-authoring.component.ts</context>
<context context-type="linenumber">353</context>
<context context-type="linenumber">356</context>
</context-group>
</trans-unit>
<trans-unit id="1286515758320423645" datatype="html">
<source>Are you sure you want to delete Template <x id="PH" equiv-text="index + 1"/>?</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/milestones-authoring/milestones-authoring.component.ts</context>
<context context-type="linenumber">390</context>
<context context-type="linenumber">393</context>
</context-group>
</trans-unit>
<trans-unit id="6292645650422796790" datatype="html">
<source>Are you sure you want to delete Template Satisfy Criteria <x id="PH" equiv-text="index + 1"/>?</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/milestones-authoring/milestones-authoring.component.ts</context>
<context context-type="linenumber">440</context>
<context context-type="linenumber">443</context>
</context-group>
</trans-unit>
<trans-unit id="95a6b174bcdc9e77421358825217263add8e6bd8" datatype="html">
Expand Down Expand Up @@ -10974,21 +10970,21 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
<source>Step Title <x id="INTERPOLATION" equiv-text="{{ nodePosition }}"/>:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">25</context>
<context context-type="linenumber">15</context>
</context-group>
</trans-unit>
<trans-unit id="dcd8b6c1f614e50769b4d26e4a1d542ef14d3fe8" datatype="html">
<source> Activity Title <x id="INTERPOLATION" equiv-text="{{ nodePosition }}"/>: </source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">26</context>
<context context-type="linenumber">16</context>
</context-group>
</trans-unit>
<trans-unit id="fdf7cbdc140d0aab0f0b6c06065a0fd448ed6a2e" datatype="html">
<source>Title</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">32</context>
<context context-type="linenumber">22</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/notebook-authoring/notebook-authoring.component.html</context>
Expand All @@ -11015,113 +11011,120 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
<source>Advanced</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">42</context>
<context context-type="linenumber">31</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">212</context>
<context context-type="linenumber">211</context>
</context-group>
</trans-unit>
<trans-unit id="4f26c54d5c3edadf92756d7d3ce466dde1f01e2a" datatype="html">
<source>Undo</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">54</context>
<context context-type="linenumber">43</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/components/graph/graph-student/graph-student.component.html</context>
<context context-type="linenumber">96</context>
</context-group>
</trans-unit>
<trans-unit id="90c4e4785a98ff9c710d707d8e079c584fb9af48" datatype="html">
<source>Back to unit</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">67</context>
</context-group>
</trans-unit>
<trans-unit id="2998257cb98e73a3cfaf686ef9c2bbbf618f6fb0" datatype="html">
<source>Add a new component</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">79</context>
<context context-type="linenumber">78</context>
</context-group>
</trans-unit>
<trans-unit id="16f48e8858552177f3da7a0ccf2449b2522ebe14" datatype="html">
<source>Components</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">94</context>
<context context-type="linenumber">93</context>
</context-group>
</trans-unit>
<trans-unit id="7c5b499b46f7ab611026c2e07b19d8d70e51853a" datatype="html">
<source>Move Components</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">103</context>
<context context-type="linenumber">102</context>
</context-group>
</trans-unit>
<trans-unit id="835ab9ba787d9e73a77b6f723e200ca24a5808a9" datatype="html">
<source>Copy Components</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">113</context>
<context context-type="linenumber">112</context>
</context-group>
</trans-unit>
<trans-unit id="646e338d93a6cafb1c27766c746ce8f2fde3c2a6" datatype="html">
<source>Delete Components</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">123</context>
<context context-type="linenumber">122</context>
</context-group>
</trans-unit>
<trans-unit id="4d78280b4290901b50914c0d78a721503c397554" datatype="html">
<source> + Expand All </source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">138,140</context>
<context context-type="linenumber">137,139</context>
</context-group>
</trans-unit>
<trans-unit id="e3fb2c845b0e0af10ee3496ce0653bb31a593820" datatype="html">
<source> - Collapse All </source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">147,149</context>
<context context-type="linenumber">146,148</context>
</context-group>
</trans-unit>
<trans-unit id="1944eaae32b2002e6f552fd9c1f5a113c412ad25" datatype="html">
<source>This step does not have any components. Click the + button to add a component.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">154</context>
<context context-type="linenumber">153</context>
</context-group>
</trans-unit>
<trans-unit id="534f4fefca77da56b8b0ea6fb63ff18bae415a92" datatype="html">
<source>Toggle component authoring</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">175</context>
<context context-type="linenumber">174</context>
</context-group>
</trans-unit>
<trans-unit id="11cd90245b41b1506efabdcea69d3c5c0964a432" datatype="html">
<source>Select component</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">192</context>
<context context-type="linenumber">191</context>
</context-group>
</trans-unit>
<trans-unit id="47f8ae23f1be55b30a01abc41c7ca4b770f5d1b2" datatype="html">
<source>Click to expand/collapse</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">203</context>
<context context-type="linenumber">202</context>
</context-group>
</trans-unit>
<trans-unit id="6e04c490706ecafe8e0c842513b700e165d97bc2" datatype="html">
<source>Copy Component</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">234</context>
<context context-type="linenumber">233</context>
</context-group>
</trans-unit>
<trans-unit id="46c242cc262ba3a868dfd6bd37f555c1ada6877c" datatype="html">
<source>Delete Component</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.html</context>
<context context-type="linenumber">248</context>
<context context-type="linenumber">247</context>
</context-group>
</trans-unit>
<trans-unit id="5664343021073405407" datatype="html">
Expand Down Expand Up @@ -16361,7 +16364,7 @@ Category Name: <x id="PH_1" equiv-text="categoryName"/></source>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/components/dialogGuidance/dialog-response/dialog-response.component.html</context>
<context context-type="linenumber">27</context>
<context context-type="linenumber">26</context>
</context-group>
</trans-unit>
<trans-unit id="4467968363873261907" datatype="html">
Expand Down Expand Up @@ -20186,7 +20189,7 @@ If this problem continues, let your teacher know and move on to the next activit
<source>Insert WISE Link</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/directives/wise-tinymce-editor/wise-authoring-tinymce-editor.component.ts</context>
<context context-type="linenumber">58</context>
<context context-type="linenumber">57</context>
</context-group>
</trans-unit>
<trans-unit id="8455204924704616723" datatype="html">
Expand Down

0 comments on commit 215ea58

Please sign in to comment.