Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.

Commit c4105f8

Browse files
Web 0.14.10: Bereich Struktogramm in Grün, Überschrift wie bei Code (#243)
* Web 0.14.9: Bereich Struktogramm in Grün Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ugz28WsFncnVqF96ZZJzbu * Überschrift Struktogramm in Grün wie Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ugz28WsFncnVqF96ZZJzbu --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent a14b6e8 commit c4105f8

14 files changed

Lines changed: 91 additions & 83 deletions

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The format is loosely inspired by Keep a Changelog.
1515

1616
### Added
1717

18+
- **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.
1819
- **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.
1920
- **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).
2021
- **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).

‎web/lessons/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ lösung: l2-hallo-loesung.visustruct
7878
- `datei:` (optional, nach einem `test:`) Diese Datei soll das Programm in diesem Test speichern, zum Beispiel
7979
`datei: einkauf-neu.txt -> Heu | Äpfel | Kuchen`. Verglichen wird Zeile für Zeile wie bei den Ausgaben.
8080
- `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.
81-
- `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.
81+
- `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.
8282
- Die Kennung (`l2-hallo`) muss überall eindeutig sein, denn unter ihr wird der Fortschritt gespeichert.
8383

8484
Eine Checkliste zum Abhaken:

‎web/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎web/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "visustruct-web",
33
"private": true,
4-
"version": "0.14.9",
4+
"version": "0.14.10",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

‎web/src/ui/app.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ export class App {
538538
<ul class="palette-visubot palette-visubot-sensors" hidden></ul>
539539
</aside>
540540
<div class="diagram-tools" role="toolbar" aria-label="${e(t('web_diagram_tools'))}">
541+
<h2 class="diagram-title">${e(t('web_editor_title'))}</h2>
541542
${iconButton('undo', t('toolbar_undo'), icons.undo, shortcut('Z'))}
542543
${iconButton('redo', t('toolbar_redo'), icons.redo, shortcut('Z', true))}
543544
<span class="sep"></span>

‎web/src/ui/learnPanel.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ function matchOrder(q: QuizQuestion): string[] {
10061006

10071007
/**
10081008
* Schild „Löse diese Übung im Struktogramm/im Code“. Die Bereichsnamen sind die Überschriften auf dem Bildschirm
1009-
* und stehen in der Farbe ihres Bereichs (Struktogramm blau, Code violett).
1009+
* und stehen in der Farbe ihres Bereichs (Struktogramm grün, Code violett).
10101010
*/
10111011
function solveWhere(ex: Exercise): HTMLElement {
10121012
const area = exerciseArea(ex)

‎web/src/ui/styles.css‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
--accent-faint: rgba(0, 122, 255, 0.08);
1010
--accent-glow: rgba(0, 122, 255, 0.35);
1111
/* Farben der Bereiche (auch in VisuBot gleich): Überschrift, Leiste und Schild „Löse diese Übung im …“ */
12-
--area-editor: #007aff;
12+
--area-editor: #2b8a3e;
1313
--area-code: #7c3aed;
1414
color-scheme: light;
1515
}
@@ -2191,6 +2191,11 @@ button.danger-text:not(:disabled) {
21912191
.livecode {
21922192
border-top: 3px solid var(--area-code);
21932193
}
2194+
.diagram-title {
2195+
margin: 0;
2196+
font-size: 16px;
2197+
color: var(--area-editor);
2198+
}
21942199
.livecode-head h2,
21952200
.live-rail span {
21962201
color: var(--area-code);
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)