Skip to content

Fix/broken blocks #448 #450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: add/simulator
Choose a base branch
from
Open

Conversation

georgi-s
Copy link
Contributor

  • BME680 (sensorBME680 v9.png)
    • HDC1080 (senseBox-HDC1080_v22 v4.png)
    • SMT50 (SMT50 v2.png)
    • Water Temperature Sensor (Wassertemperatur Sensor v2.png)
    • SCD30 (SCD30 v1.png)
    • HCSR04 (hc-sr04.png)
  • Standardized rendering specifications:

    • All PNG files must be rendered in 1920x1080 (16:9 aspect ratio)
    • This ensures consistent appearance across all sensor graphics
    • Future renders must follow these dimensions for uniformity
  • Unified sensor display sizes in simulator:

    • Set maxWidth='64%' for all sensor components
    • Applied to ensure consistent scaling across all sensors
    • This setting maintains proper proportions in the simulator view

Note for future developers:
When adding new sensor graphics, please ensure:

  1. Renders are created in 1920x1080 (16:9) resolution
  2. Top-view camera angle is used for consistency
  3. Set maxWidth='64%' in the sensor's React component
  4. Test scaling behavior in simulator before committing"

close #448

…nders

- Added new top-view camera angle renders for sensors:
  * BME680 (sensorBME680 v9.png)
  * HDC1080 (senseBox-HDC1080_v22 v4.png)
  * SMT50 (SMT50 v2.png)
  * Water Temperature Sensor (Wassertemperatur Sensor v2.png)
  * SCD30 (SCD30 v1.png)
  * HCSR04 (hc-sr04.png)

- Standardized rendering specifications:
  * All PNG files must be rendered in 1920x1080 (16:9 aspect ratio)
  * This ensures consistent appearance across all sensor graphics
  * Future renders must follow these dimensions for uniformity

- Unified sensor display sizes in simulator:
  * Set maxWidth='64%' for all sensor components
  * Applied to ensure consistent scaling across all sensors
  * This setting maintains proper proportions in the simulator view

Note for future developers:
When adding new sensor graphics, please ensure:
1. Renders are created in 1920x1080 (16:9) resolution
2. Top-view camera angle is used for consistency
3. Set maxWidth='64%' in the sensor's React component
4. Test scaling behavior in simulator before committing
@mariopesch mariopesch changed the base branch from feat/simulator to add/simulator April 14, 2025 12:40
Copy link

netlify bot commented Apr 15, 2025

Deploy Preview for blocklysimulator ready!

Name Link
🔨 Latest commit e75a986
🔍 Latest deploy log https://app.netlify.com/sites/blocklysimulator/deploys/680a3f099cad7a0008fe9d05
😎 Deploy Preview https://deploy-preview-450--blocklysimulator.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@georgi-s
Copy link
Contributor Author

  • Add Handle components to all sensor nodes for better interaction
  • Wrap sensor components in relative positioned divs
  • Standardize file naming by removing spaces
  • Improve code formatting and structure
  • Update background colors for better visibility
  • Add consistent styling across all sensor components

This commit improves the simulator's user interface by adding connection handles
to all sensors and ensuring consistent styling across components. The changes
make the sensors more interactive and visually cohesive in the workspace.

@mariopesch mariopesch requested a review from Thiemann96 May 5, 2025 17:52
@mariopesch mariopesch added the simulator Everything for the Simulator label May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
simulator Everything for the Simulator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants