Skip to content

Feat: add app blockly version#573

Merged
Thiemann96 merged 82 commits intodevelopmentfrom
feat/add-app-blockly-version
Jan 15, 2026
Merged

Feat: add app blockly version#573
Thiemann96 merged 82 commits intodevelopmentfrom
feat/add-app-blockly-version

Conversation

@mashazyu
Copy link
Contributor

@mashazyu mashazyu commented Oct 15, 2025

Changes

  • added separate endpoint to use within app
  • tried to minimize changes to existing code
  • left only a couple of buttons in workspace toolbox for the first version.

Open questions

  • Blockly toolbox
    • wdyt about location?
    • Felix suggested trying out instead of wrapping categories to allow horizontal scroll. And then maybe keep vertical sub-category flyout?
  • Wdyt about path naming?
  • What buttons in the workspace toolbox would you like to see?
  • Felix also suggested to save button click and on successful compilation automatically navigate user to transfer screen and maybe even start upload. If you think it's a good idea, i'd like to do that in the follow up PR.

STATISTICS,
PLATFORM,
COMPILER,
EMBEDDED_MODE,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

suggestion: I don't want to create a separate copy of existing code for embedded use, rather make (minimal) changes to the existing code, if needed. This variable is to track, if user is on /embedded path.


// Only apply mobile layout options when in embedded mode
if (isEmbedded) {
blocklyOptions.horizontalLayout = true;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

suggestion: This are settings to move toolbox to the bottom.


// Set default locale before any components load
// This prevents undefined Blockly.Msg properties when blocks are registered
Blockly.setLocale(De);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

suggestion: This change is to fix the error I was getting, when I navigated to /embedded directly.

@Thiemann96 Thiemann96 mentioned this pull request Jan 2, 2026
@github-actions
Copy link

Tests

Test Name Status Flaky Duration
Blockly Editor Page Tests [Blockly] visits the editor page 1.5s
Blockly Editor Page Tests [Blockly] visits the tutorial page 485ms
Blockly Editor Page Tests [Blockly] visits the gallery page 429ms
Blockly Editor Page Tests [Blockly] visits the faq page 411ms
Blockly Editor Page Tests [Blockly] visits the settings page 394ms
Blockly Editor Page Tests [Blockly] visits the login page 394ms
Blockly Editor Page Tests [Blockly] navigates to tutorial and back 384ms
Blockly Editor Page Tests [Blockly] selects senseBox ESP 416ms
Blockly Editor Page Tests [Blockly] selects senseBox MCU 411ms
Blockly Editor Page Tests [Blockly] selects senseBox Mini 392ms
Blockly Editor Page Tests [Blockly] changes the language in settings and verifies via headline 365ms
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for esp32 392ms
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for MCU 419ms
Blockly Editor Page Tests [Blockly] compiles code 374ms
Code Editor Page Tests [CodeEditor] visits the code editor page 1.2s
Code Editor Page Tests [CodeEditor] selects senseBox ESP 410ms
Code Editor Page Tests [CodeEditor] compiles code 377ms
Code Editor Page Tests [CodeEditor] opens reset dialog 353ms
Code Editor Page Tests [CodeEditor] fetches libraries 357ms
Embedded Blockly Page Tests [Embedded] visits the embedded page 1.3s
Embedded Blockly Page Tests [Embedded] displays Blockly workspace 427ms
Embedded Blockly Page Tests [Embedded] displays iPad toolbar 371ms
Embedded Blockly Page Tests [Embedded] displays workspace name component 372ms
Embedded Blockly Page Tests [Embedded] displays device selection 372ms
Embedded Blockly Page Tests [Embedded] compiles code 376ms
Embedded Blockly Page Tests [Embedded] opens reset dialog 393ms
Embedded Blockly Page Tests [Embedded] displays toolbox with search 351ms
Embedded Blockly Page Tests [Embedded] marks toolbox xml as embedded mode 369ms
Embedded Blockly Page Tests [Embedded] uses tablet mode for compilation with embedded-specific text 373ms
End-to-End Tutorial Flow 1. registers a new user 1.2s
End-to-End Tutorial Flow 2. logs in with the registered user 461ms
End-to-End Tutorial Flow 3. navigates to /tutorial/builder 354ms
End-to-End Tutorial Flow 4. creates a new tutorial via UI 355ms
End-to-End Tutorial Flow 5. views the created tutorial 371ms
End-to-End Tutorial Flow 6. edits the tutorial title and saves 354ms
End-to-End Tutorial Flow 7. deletes the test tutorial 403ms
End-to-End Tutorial Flow 8. deletes the test user account 988ms

Github Test Reporter by CTRF 💚

@github-actions
Copy link

Tests

Test Name Status Flaky Duration
Blockly Editor Page Tests [Blockly] visits the editor page 2.4s
Blockly Editor Page Tests [Blockly] visits the tutorial page 712ms
Blockly Editor Page Tests [Blockly] visits the gallery page 1.6s
Blockly Editor Page Tests [Blockly] visits the faq page 2.2s
Blockly Editor Page Tests [Blockly] visits the settings page 420ms
Blockly Editor Page Tests [Blockly] visits the login page 419ms
Blockly Editor Page Tests [Blockly] navigates to tutorial and back 4.8s
Blockly Editor Page Tests [Blockly] selects senseBox ESP 1.2s
Blockly Editor Page Tests [Blockly] selects senseBox MCU 1.2s
Blockly Editor Page Tests [Blockly] selects senseBox Mini 1.3s
Blockly Editor Page Tests [Blockly] changes the language in settings and verifies via headline 935ms
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for esp32 6.2s
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for MCU 3.9s
Blockly Editor Page Tests [Blockly] compiles code 6.1s
Code Editor Page Tests [CodeEditor] visits the code editor page 1.9s
Code Editor Page Tests [CodeEditor] selects senseBox ESP 698ms
Code Editor Page Tests [CodeEditor] compiles code 951ms
Code Editor Page Tests [CodeEditor] opens reset dialog 834ms
Code Editor Page Tests [CodeEditor] fetches libraries 1.5s
Embedded Blockly Page Tests [Embedded] visits the embedded page 1.4s
Embedded Blockly Page Tests [Embedded] displays Blockly workspace 433ms
Embedded Blockly Page Tests [Embedded] displays iPad toolbar 495ms
Embedded Blockly Page Tests [Embedded] displays workspace name component 372ms
Embedded Blockly Page Tests [Embedded] displays device selection 384ms
Embedded Blockly Page Tests [Embedded] compiles code 5.6s
Embedded Blockly Page Tests [Embedded] opens reset dialog 701ms
Embedded Blockly Page Tests [Embedded] displays toolbox with search 4.5s
Embedded Blockly Page Tests [Embedded] marks toolbox xml as embedded mode 4.5s
Embedded Blockly Page Tests [Embedded] uses tablet mode for compilation with embedded-specific text 9.1s
End-to-End Tutorial Flow 1. registers a new user 3.4s
End-to-End Tutorial Flow 2. logs in with the registered user 2.3s
End-to-End Tutorial Flow 3. navigates to /tutorial/builder 2.4s
End-to-End Tutorial Flow 4. creates a new tutorial via UI 3.8s
End-to-End Tutorial Flow 5. views the created tutorial 522ms
End-to-End Tutorial Flow 6. edits the tutorial title and saves 6.6s
End-to-End Tutorial Flow 7. deletes the test tutorial 4.0s
End-to-End Tutorial Flow 8. deletes the test user account 677ms

Github Test Reporter by CTRF 💚

@github-actions
Copy link

Tests

Test Name Status Flaky Duration
Blockly Editor Page Tests [Blockly] visits the editor page 3.3s
Blockly Editor Page Tests [Blockly] visits the tutorial page 684ms
Blockly Editor Page Tests [Blockly] visits the gallery page 2.0s
Blockly Editor Page Tests [Blockly] visits the faq page 1.9s
Blockly Editor Page Tests [Blockly] visits the settings page 390ms
Blockly Editor Page Tests [Blockly] visits the login page 361ms
Blockly Editor Page Tests [Blockly] navigates to tutorial and back 5.0s
Blockly Editor Page Tests [Blockly] selects senseBox ESP 1.4s
Blockly Editor Page Tests [Blockly] selects senseBox MCU 1.4s
Blockly Editor Page Tests [Blockly] selects senseBox Mini 1.4s
Blockly Editor Page Tests [Blockly] changes the language in settings and verifies via headline 921ms
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for esp32 6.3s
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for MCU 3.9s
Blockly Editor Page Tests [Blockly] compiles code 5.9s
Code Editor Page Tests [CodeEditor] visits the code editor page 1.9s
Code Editor Page Tests [CodeEditor] selects senseBox ESP 692ms
Code Editor Page Tests [CodeEditor] compiles code 980ms
Code Editor Page Tests [CodeEditor] opens reset dialog 882ms
Code Editor Page Tests [CodeEditor] fetches libraries 1.7s
Embedded Blockly Page Tests [Embedded] visits the embedded page 1.4s
Embedded Blockly Page Tests [Embedded] displays Blockly workspace 425ms
Embedded Blockly Page Tests [Embedded] displays iPad toolbar 496ms
Embedded Blockly Page Tests [Embedded] displays workspace name component 376ms
Embedded Blockly Page Tests [Embedded] displays device selection 395ms
Embedded Blockly Page Tests [Embedded] compiles code 6.7s
Embedded Blockly Page Tests [Embedded] opens reset dialog 732ms
Embedded Blockly Page Tests [Embedded] displays toolbox with search 4.5s
Embedded Blockly Page Tests [Embedded] marks toolbox xml as embedded mode 4.5s
Embedded Blockly Page Tests [Embedded] uses tablet mode for compilation with embedded-specific text 9.5s
End-to-End Tutorial Flow 1. registers a new user 3.5s
End-to-End Tutorial Flow 2. logs in with the registered user 2.5s
End-to-End Tutorial Flow 3. navigates to /tutorial/builder 2.5s
End-to-End Tutorial Flow 4. creates a new tutorial via UI 4.1s
End-to-End Tutorial Flow 5. views the created tutorial 553ms
End-to-End Tutorial Flow 6. edits the tutorial title and saves 7.5s
End-to-End Tutorial Flow 7. deletes the test tutorial 5.0s
End-to-End Tutorial Flow 8. deletes the test user account 800ms

Github Test Reporter by CTRF 💚

@github-actions
Copy link

Tests

Test Name Status Flaky Duration
Blockly Editor Page Tests [Blockly] visits the editor page 2.5s
Blockly Editor Page Tests [Blockly] visits the tutorial page 572ms
Blockly Editor Page Tests [Blockly] visits the gallery page 1.5s
Blockly Editor Page Tests [Blockly] visits the faq page 2.0s
Blockly Editor Page Tests [Blockly] visits the settings page 444ms
Blockly Editor Page Tests [Blockly] visits the login page 357ms
Blockly Editor Page Tests [Blockly] navigates to tutorial and back 5.0s
Blockly Editor Page Tests [Blockly] selects senseBox ESP 1.3s
Blockly Editor Page Tests [Blockly] selects senseBox MCU 1.2s
Blockly Editor Page Tests [Blockly] selects senseBox Mini 1.3s
Blockly Editor Page Tests [Blockly] changes the language in settings and verifies via headline 918ms
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for esp32 6.1s
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for MCU 3.7s
Blockly Editor Page Tests [Blockly] compiles code 4.9s
Code Editor Page Tests [CodeEditor] visits the code editor page 1.9s
Code Editor Page Tests [CodeEditor] selects senseBox ESP 711ms
Code Editor Page Tests [CodeEditor] compiles code 969ms
Code Editor Page Tests [CodeEditor] opens reset dialog 933ms
Code Editor Page Tests [CodeEditor] fetches libraries 1.6s
Embedded Blockly Page Tests [Embedded] visits the embedded page 1.4s
Embedded Blockly Page Tests [Embedded] displays Blockly workspace 445ms
Embedded Blockly Page Tests [Embedded] displays iPad toolbar 519ms
Embedded Blockly Page Tests [Embedded] displays workspace name component 395ms
Embedded Blockly Page Tests [Embedded] displays device selection 431ms
Embedded Blockly Page Tests [Embedded] compiles code 5.5s
Embedded Blockly Page Tests [Embedded] opens reset dialog 744ms
Embedded Blockly Page Tests [Embedded] displays toolbox with search 4.5s
Embedded Blockly Page Tests [Embedded] marks toolbox xml as embedded mode 395ms
Embedded Blockly Page Tests [Embedded] uses tablet mode for compilation with embedded-specific text 4.9s
End-to-End Tutorial Flow 1. registers a new user 3.4s
End-to-End Tutorial Flow 2. logs in with the registered user 2.4s
End-to-End Tutorial Flow 3. navigates to /tutorial/builder 2.5s
End-to-End Tutorial Flow 4. creates a new tutorial via UI 3.8s
End-to-End Tutorial Flow 5. views the created tutorial 490ms
End-to-End Tutorial Flow 6. edits the tutorial title and saves 6.2s
End-to-End Tutorial Flow 7. deletes the test tutorial 4.0s
End-to-End Tutorial Flow 8. deletes the test user account 690ms

Github Test Reporter by CTRF 💚

@github-actions
Copy link

Tests

Test Name Status Flaky Duration
Blockly Editor Page Tests [Blockly] visits the editor page 2.5s
Blockly Editor Page Tests [Blockly] visits the tutorial page 736ms
Blockly Editor Page Tests [Blockly] visits the gallery page 2.0s
Blockly Editor Page Tests [Blockly] visits the faq page 2.3s
Blockly Editor Page Tests [Blockly] visits the settings page 440ms
Blockly Editor Page Tests [Blockly] visits the login page 411ms
Blockly Editor Page Tests [Blockly] navigates to tutorial and back 5.0s
Blockly Editor Page Tests [Blockly] selects senseBox ESP 1.3s
Blockly Editor Page Tests [Blockly] selects senseBox MCU 1.2s
Blockly Editor Page Tests [Blockly] selects senseBox Mini 1.5s
Blockly Editor Page Tests [Blockly] changes the language in settings and verifies via headline 928ms
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for esp32 7.1s
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for MCU 3.7s
Blockly Editor Page Tests [Blockly] compiles code 6.0s
Code Editor Page Tests [CodeEditor] visits the code editor page 1.9s
Code Editor Page Tests [CodeEditor] selects senseBox ESP 685ms
Code Editor Page Tests [CodeEditor] compiles code 1.0s
Code Editor Page Tests [CodeEditor] opens reset dialog 837ms
Code Editor Page Tests [CodeEditor] fetches libraries 1.6s
Embedded Blockly Page Tests [Embedded] visits the embedded page 1.4s
Embedded Blockly Page Tests [Embedded] displays Blockly workspace 439ms
Embedded Blockly Page Tests [Embedded] displays iPad toolbar 490ms
Embedded Blockly Page Tests [Embedded] displays workspace name component 387ms
Embedded Blockly Page Tests [Embedded] displays device selection 393ms
Embedded Blockly Page Tests [Embedded] compiles code 5.2s
Embedded Blockly Page Tests [Embedded] opens reset dialog 749ms
Embedded Blockly Page Tests [Embedded] marks toolbox xml as embedded mode 363ms
Embedded Blockly Page Tests [Embedded] uses tablet mode for compilation with embedded-specific text 4.7s
End-to-End Tutorial Flow 1. registers a new user 3.5s
End-to-End Tutorial Flow 2. logs in with the registered user 2.6s
End-to-End Tutorial Flow 3. navigates to /tutorial/builder 2.5s
End-to-End Tutorial Flow 4. creates a new tutorial via UI 4.1s
End-to-End Tutorial Flow 5. views the created tutorial 542ms
End-to-End Tutorial Flow 6. edits the tutorial title and saves 7.5s
End-to-End Tutorial Flow 7. deletes the test tutorial 4.9s
End-to-End Tutorial Flow 8. deletes the test user account 790ms

Github Test Reporter by CTRF 💚

@github-actions
Copy link

Tests

Test Name Status Flaky Duration
Blockly Editor Page Tests [Blockly] visits the editor page 2.4s
Blockly Editor Page Tests [Blockly] visits the tutorial page 707ms
Blockly Editor Page Tests [Blockly] visits the gallery page 2.2s
Blockly Editor Page Tests [Blockly] visits the faq page 2.0s
Blockly Editor Page Tests [Blockly] visits the settings page 372ms
Blockly Editor Page Tests [Blockly] visits the login page 326ms
Blockly Editor Page Tests [Blockly] navigates to tutorial and back 4.8s
Blockly Editor Page Tests [Blockly] selects senseBox ESP 1.5s
Blockly Editor Page Tests [Blockly] selects senseBox MCU 1.3s
Blockly Editor Page Tests [Blockly] selects senseBox Mini 1.5s
Blockly Editor Page Tests [Blockly] changes the language in settings and verifies via headline 934ms
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for esp32 7.0s
Blockly Editor Page Tests [Blockly] changes to tablet mode and compiles code for MCU 4.0s
Blockly Editor Page Tests [Blockly] compiles code 6.2s
Code Editor Page Tests [CodeEditor] visits the code editor page 2.0s
Code Editor Page Tests [CodeEditor] selects senseBox ESP 695ms
Code Editor Page Tests [CodeEditor] compiles code 1.0s
Code Editor Page Tests [CodeEditor] opens reset dialog 853ms
Code Editor Page Tests [CodeEditor] fetches libraries 1.6s
Embedded Blockly Page Tests [Embedded] visits the embedded page 1.4s
Embedded Blockly Page Tests [Embedded] displays Blockly workspace 416ms
Embedded Blockly Page Tests [Embedded] displays iPad toolbar 496ms
Embedded Blockly Page Tests [Embedded] displays workspace name component 387ms
Embedded Blockly Page Tests [Embedded] displays device selection 390ms
Embedded Blockly Page Tests [Embedded] compiles code 5.7s
Embedded Blockly Page Tests [Embedded] opens reset dialog 718ms
Embedded Blockly Page Tests [Embedded] marks toolbox xml as embedded mode 358ms
Embedded Blockly Page Tests [Embedded] uses tablet mode for compilation with embedded-specific text 5.3s
End-to-End Tutorial Flow 1. registers a new user 3.5s
End-to-End Tutorial Flow 2. logs in with the registered user 2.5s
End-to-End Tutorial Flow 3. navigates to /tutorial/builder 2.5s
End-to-End Tutorial Flow 4. creates a new tutorial via UI 4.0s
End-to-End Tutorial Flow 5. views the created tutorial 524ms
End-to-End Tutorial Flow 6. edits the tutorial title and saves 7.6s
End-to-End Tutorial Flow 7. deletes the test tutorial 4.8s
End-to-End Tutorial Flow 8. deletes the test user account 800ms

Github Test Reporter by CTRF 💚

@Thiemann96 Thiemann96 merged commit 9d0c382 into development Jan 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants