Skip to content

feat: the server and the windows can ask which parts a custom system … - #124

Merged
over2take merged 1 commit into
feature/system-builderfrom
sb/3b1-parts-plumbing
Oct 2, 2026
Merged

over2take merged 1 commit into
feature/system-builderfrom
sb/3b1-parts-plumbing

Conversation

@over2take

Copy link
Copy Markdown
Owner

…uses

runtime.partIn(system, part) on the server, and partOn / useParts in the browser (sheets/parts.ts), answer whether a part of the app (the bank, shops, vehicles, cyberware...) is on while a system runs. A built-in system, an unknown id and a custom system not loaded yet have every part on, so each place keeps its own rule; only a published custom system can turn one off. A misspelled part throws on the server rather than quietly reading as on.

The browser kept a custom system's words from its render copy but dropped its parts; the template now carries both. useWords and useParts share one loading hook. Nothing is hidden yet: the pieces that follow add partOn beside each place's own check.

Summary

Test plan

  • Tested locally
  • Tests pass

Pre-merge checklist

Code quality:

  • Code follows project style
  • No breaking changes (or clearly documented)
  • No console errors or warnings

Version & Release:

  • Version bumped? If releasing to users, update:
    • frontend/package.json version
    • docker-compose.yml APP_VERSION
    • CHANGELOG.md with release notes
  • GitHub Actions will auto-tag Docker images with the new version

Before merging to main:

  • All tests passing
  • PR reviewed and approved
  • Branch is up to date with main
  • No merge conflicts

Related issues

…uses

runtime.partIn(system, part) on the server, and partOn / useParts in the browser
(sheets/parts.ts), answer whether a part of the app (the bank, shops, vehicles, cyberware...) is
on while a system runs. A built-in system, an unknown id and a custom system not loaded yet have
every part on, so each place keeps its own rule; only a published custom system can turn one
off. A misspelled part throws on the server rather than quietly reading as on.

The browser kept a custom system's words from its render copy but dropped its parts; the
template now carries both. useWords and useParts share one loading hook. Nothing is hidden yet:
the pieces that follow add partOn beside each place's own check.
@over2take
over2take merged commit e383233 into feature/system-builder Oct 2, 2026
4 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.

1 participant