FE-1500: add editor presentation profiles - #9425
Draft
kube wants to merge 1 commit into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
kube
force-pushed
the
claude/fe-1500-presentation
branch
from
August 29, 2026 20:03
4266f7b to
bc5f034
Compare
kube
force-pushed
the
claude/fe-1500-presentation
branch
from
August 30, 2026 17:24
bc5f034 to
e15aa00
Compare
kube
force-pushed
the
claude/fe-1500-presentation
branch
from
August 31, 2026 01:03
e15aa00 to
dcdc3ff
Compare
kube
changed the base branch from
codex/fe-1500-router
to
codex/fe-1500-oembed
August 31, 2026 01:03
|
Semgrep found 4
Detected a call to |
kube
force-pushed
the
claude/fe-1500-presentation
branch
from
August 31, 2026 02:14
dcdc3ff to
fbfaf65
Compare
kube
force-pushed
the
claude/fe-1500-presentation
branch
from
August 31, 2026 11:13
e54994a to
be652ab
Compare
kube
force-pushed
the
claude/fe-1500-presentation
branch
from
August 31, 2026 11:13
be652ab to
7035369
Compare
kube
force-pushed
the
claude/fe-1500-presentation
branch
from
August 31, 2026 12:01
7035369 to
81fb77b
Compare
kube
force-pushed
the
claude/fe-1500-presentation
branch
from
August 31, 2026 13:11
81fb77b to
b7fdbbf
Compare
kube
force-pushed
the
claude/fe-1500-presentation
branch
from
August 31, 2026 14:27
b7fdbbf to
9f34a2b
Compare
kube
force-pushed
the
claude/fe-1500-presentation
branch
from
August 31, 2026 14:28
9f34a2b to
8dc576e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Before this PR, every Petrinaut host got the full authoring editor. A read-only page could stop edits through the document handle, but subnet add, rename, and delete affordances, type-dimension mutation controls, and source-code fields still rendered. Scenario and playback controls lived inside the editor's bottom panel and bottom bar, so no other surface could compose them.
Petrinauttakes apresentationProfileprop,editororreview, that gates authoring-only controls. Scenario and playback controls become shared components that surfaces outside the full editor can compose. The defaulteditorprofile keeps every capability on, so existing hosts render as before.Links
Changes
Presentation profiles
PetrinautPresentationProvidermaps a profile to capability booleansreviewprofileShared components
SelectedItemPropertiesextracted from the properties panelSimulationScenarioControlsandsimulation-parameter-boundsextracted as a scenario picker with typed parameter controlsSimulationControlsandPlaybackSettingsMenucreateDeferredSubViewloads optional property sub-views behind a bundle boundaryTest coverage
simulation-parameter-bounds.test.ts:@hashintel/petrinautunit suiteHow to test
Editor unchanged
Review presentation
/examples/gases-1-pn