Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The format is loosely inspired by Keep a Changelog.

### Added

- **Web 0.14.10, Struktogramm area in green:** the colour of the Struktogramm area (top edge, slim strip, name on the exercise card) is now green #2b8a3e instead of blue, so it stands apart from the blue buttons and links; Code stays violet. The Struktogramm area now has a heading „Struktogramm“ in green above its tools, like „Code“ in violet.
- **Web 0.14.9, Margaret Hamilton and Hedy Lamarr with photo:** lesson 22 (try and catch) gets an Angeberwissen box on Margaret Hamilton: during the Apollo 11 landing in 1969 the onboard computer raised the alarms 1202 and 1201 but did not crash, because her team's software recognised the overload and kept only the most important jobs running; she called her work „software engineering“. Photo 1969 next to the printed Apollo programs (Draper Laboratory, Commons „Margaret Hamilton - restoration.jpg“, PD-US-no notice, 300×400). Lesson 15 (arrays) gets an Angeberwissen box on Hedy Lamarr: 1942 patent with George Antheil, sender and receiver hop through the same list of 88 frequencies in the same order (like a loop through an array), today's frequency hopping e.g. in Bluetooth; worded as an important forerunner, not the sole inventor. Publicity photo 1944 (Commons „Hedy Lamarr Publicity Photo for The Heavenly Body 1944.jpg“, PD-US-no notice, 300×400). de/en/pt.
- **Web 0.14.8, Katherine Johnson with photo:** lesson 7 step „Der Schreibtischtest“ gets an Angeberwissen box: „Computer“ used to be a job; in 1962 John Glenn asked Katherine Johnson to check the IBM computer's orbit calculation by hand before he flew (a real desk check); the toilet scene from „Hidden Figures“ is marked as exaggerated by the film; her colleague Dorothy Vaughan taught herself and her team FORTRAN. Followed by her portrait (NASA 1983, public domain, Commons „Katherine_Johnson_1983.jpg“, 300×400) (de/en/pt).
- **Web 0.14.7, area „Code“ and area colours:** the area „Programmieren“ is now called „Code“ (en „Code“, pt „Código“) in the app, all lessons, VisuBot lessons, tasks and glossary. Struktogramm and Code each have a colour (blue #007aff, violet #7c3aed): a coloured top edge, the slim strip when collapsed, and the area names on the exercise card („Löse diese Übung im Struktogramm und im Code.“). New exercise key `bereich: struktogramm | code | beide`: the card names the area(s) and „Im Editor öffnen“ shows exactly those: the lessons stay open, everything else (files, mBot2 live, the other area) is closed. Lesson 20 „Countdown“ and „Fakultät aus Java“ use `beide` (de/en/pt).
Expand Down
2 changes: 1 addition & 1 deletion web/lessons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ lösung: l2-hallo-loesung.visustruct
- `datei:` (optional, nach einem `test:`) Diese Datei soll das Programm in diesem Test speichern, zum Beispiel
`datei: einkauf-neu.txt -> Heu | Äpfel | Kuchen`. Verglichen wird Zeile für Zeile wie bei den Ausgaben.
- `code: java` (optional) Die Übung wird im Bereich Code in Java gelöst. „Im Editor öffnen“ öffnet die Spalte gleich mit und stellt sie auf Java. Geprüft wird wie sonst das Struktogramm, das beim Tippen entsteht. Eine Musterlösung ist Pflicht, der Test tippt sie als Java und prüft sie.
- `bereich: struktogramm | code | beide` (optional) Wo man die Übung löst. Die Karte zeigt es farbig an (Struktogramm blau, Code violett), und „Im Editor öffnen“ zeigt genau diese Bereiche: Lektionen bleiben offen, alles andere (Dateien, mBot2 live, bei `struktogramm` der Code, bei `code` das Struktogramm) wird geschlossen. Ohne Angabe gilt `code` bei `code: java`, sonst `struktogramm`. Für Übungen, bei denen man Code tippt und das Struktogramm liest (oder umgekehrt), `beide` nehmen.
- `bereich: struktogramm | code | beide` (optional) Wo man die Übung löst. Die Karte zeigt es farbig an (Struktogramm grün, Code violett), und „Im Editor öffnen“ zeigt genau diese Bereiche: Lektionen bleiben offen, alles andere (Dateien, mBot2 live, bei `struktogramm` der Code, bei `code` das Struktogramm) wird geschlossen. Ohne Angabe gilt `code` bei `code: java`, sonst `struktogramm`. Für Übungen, bei denen man Code tippt und das Struktogramm liest (oder umgekehrt), `beide` nehmen.
- Die Kennung (`l2-hallo`) muss überall eindeutig sein, denn unter ihr wird der Fortschritt gespeichert.

Eine Checkliste zum Abhaken:
Expand Down
4 changes: 2 additions & 2 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "visustruct-web",
"private": true,
"version": "0.14.9",
"version": "0.14.10",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
1 change: 1 addition & 0 deletions web/src/ui/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ export class App {
<ul class="palette-visubot palette-visubot-sensors" hidden></ul>
</aside>
<div class="diagram-tools" role="toolbar" aria-label="${e(t('web_diagram_tools'))}">
<h2 class="diagram-title">${e(t('web_editor_title'))}</h2>
${iconButton('undo', t('toolbar_undo'), icons.undo, shortcut('Z'))}
${iconButton('redo', t('toolbar_redo'), icons.redo, shortcut('Z', true))}
<span class="sep"></span>
Expand Down
2 changes: 1 addition & 1 deletion web/src/ui/learnPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ function matchOrder(q: QuizQuestion): string[] {

/**
* Schild „Löse diese Übung im Struktogramm/im Code“. Die Bereichsnamen sind die Überschriften auf dem Bildschirm
* und stehen in der Farbe ihres Bereichs (Struktogramm blau, Code violett).
* und stehen in der Farbe ihres Bereichs (Struktogramm grün, Code violett).
*/
function solveWhere(ex: Exercise): HTMLElement {
const area = exerciseArea(ex)
Expand Down
7 changes: 6 additions & 1 deletion web/src/ui/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
--accent-faint: rgba(0, 122, 255, 0.08);
--accent-glow: rgba(0, 122, 255, 0.35);
/* Farben der Bereiche (auch in VisuBot gleich): Überschrift, Leiste und Schild „Löse diese Übung im …“ */
--area-editor: #007aff;
--area-editor: #2b8a3e;
--area-code: #7c3aed;
color-scheme: light;
}
Expand Down Expand Up @@ -2191,6 +2191,11 @@ button.danger-text:not(:disabled) {
.livecode {
border-top: 3px solid var(--area-code);
}
.diagram-title {
margin: 0;
font-size: 16px;
color: var(--area-editor);
}
.livecode-head h2,
.live-rail span {
color: var(--area-code);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading