Skip to content

Enables synthetic daemons via CLI and menu - #188

Merged
C4lopsitta merged 7 commits into
Elemento-Modular-Cloud:developfrom
gabrielefronze:feat-syn-daemons
Jul 28, 2026
Merged

Enables synthetic daemons via CLI and menu#188
C4lopsitta merged 7 commits into
Elemento-Modular-Cloud:developfrom
gabrielefronze:feat-syn-daemons

Conversation

@gabrielefronze

Copy link
Copy Markdown
Member

Streamlines UI development by integrating synthetic (mock) daemons directly into Electros. This change removes the need for developers to manually start mock servers in a separate terminal.

  • Adds --synthetic-daemons CLI switch: Electros can now automatically launch the synthetic-daemons package via npm start alongside the GUI, simplifying the development setup.
  • Introduces runtime daemon switching: A new "Developer" menu provides options to switch between "Use Native Daemons" and "Use Synthetic Daemons" at runtime, complete with keyboard shortcuts (CmdOrCtrl+Shift+Alt+N/S). This allows for quick toggling during active development.
  • Improves daemon process management: Enhanced logic ensures proper termination of both native and synthetic daemon processes, specifically handling process groups for npm start to reliably kill all related children.
  • Updates documentation: The README.md files are updated with comprehensive instructions for the integrated synthetic daemon workflow and runtime switching.
  • Forwards CLI arguments: The electros-electron/package.json start script is adjusted to correctly forward command-line arguments, enabling the new --synthetic-daemons switch.
  • Adds desktop notifications: Provides clear feedback to the user via notifications when daemons are started, terminated, or switched.
  • Updates the elemento-gui-new submodule.

C4lopsitta and others added 7 commits July 1, 2026 10:53
Integrates the latest changes from the `elemento-gui-new` subproject,
supporting ongoing `syn-daemons` feature development.
Previously, synthetic daemons required manual startup in a separate terminal. This change simplifies UI development by allowing mock servers to be launched automatically with Electros using the `--synthetic-daemons` CLI switch, or by switching to them at runtime from the Developer menu. This streamlines testing and development against mock data.
@gabrielefronze gabrielefronze added the enhancement New feature or request label Jul 27, 2026
@C4lopsitta
C4lopsitta merged commit ae2b389 into Elemento-Modular-Cloud:develop Jul 28, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants