Skip to content

Add Dev Console shortcut for non-embedded apps in app dev#7256

Closed
nickwesselman wants to merge 6 commits intonwesselman/graphql-codegen-updatefrom
nwesselman/dev-console-shortcut
Closed

Add Dev Console shortcut for non-embedded apps in app dev#7256
nickwesselman wants to merge 6 commits intonwesselman/graphql-codegen-updatefrom
nwesselman/dev-console-shortcut

Conversation

@nickwesselman
Copy link
Copy Markdown
Contributor

@nickwesselman nickwesselman commented Apr 13, 2026

WHY are these changes introduced?

Improves the app dev experience for non-embedded apps. The default preview link opens the app outside of admin for non-embedded apps, so there is not an easy way to navigate to the Dev Console. They'd need to open admin themselves.

WHAT is this pull request doing?

Conditionally adds an additional (c) action and preview link for opening the Dev Console, which opens admin w/ ?dev-console=show to ensure it's not minimized.

I also simplified/clarified the existing preview and GraphiQL link descriptions. in browser seems unecessary.

How to test your changes?

Run app dev on a non-embeddeed app.

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact
  • The change is user-facing, so I've added a changelog entry with pnpm changeset add

Copy link
Copy Markdown
Contributor Author

nickwesselman commented Apr 13, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

nickwesselman and others added 6 commits April 13, 2026 11:41
For non-embedded apps, adds a (c) keyboard shortcut and URL link in the
DevSessionUI footer that opens the store admin with ?dev-console=show,
giving developers quick access to extension previews.

Also fixes AppManagementClient.appFromIdentifiers() to extract the
embedded field from the app home module config, and makes the embedded
state reactive via DevSessionStatusManager so it updates live when the
toml changes during dev.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nickwesselman nickwesselman changed the base branch from main to graphite-base/7256 April 13, 2026 15:41
@nickwesselman nickwesselman force-pushed the nwesselman/dev-console-shortcut branch from 6fe15bf to b2880a1 Compare April 13, 2026 15:41
@nickwesselman nickwesselman changed the base branch from graphite-base/7256 to nwesselman/graphql-codegen-update April 13, 2026 15:41
@nickwesselman nickwesselman deleted the branch nwesselman/graphql-codegen-update April 13, 2026 15:44
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