Skip to content

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

Open
nickwesselman wants to merge 2 commits intomainfrom
nwesselman/dev-console-shortcut
Open

Add Dev Console shortcut for non-embedded apps in app dev#7263
nickwesselman wants to merge 2 commits intomainfrom
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

@nickwesselman nickwesselman marked this pull request as ready for review April 13, 2026 15:48
@nickwesselman nickwesselman requested review from a team as code owners April 13, 2026 15:48
@nickwesselman nickwesselman changed the base branch from main to graphite-base/7263 April 13, 2026 16:09
@nickwesselman nickwesselman force-pushed the nwesselman/dev-console-shortcut branch from 9a408b5 to 5e5ddf6 Compare April 13, 2026 16:09
@nickwesselman nickwesselman changed the base branch from graphite-base/7263 to nwesselman/update-graphql-codegen April 13, 2026 16:09
Base automatically changed from nwesselman/update-graphql-codegen to main April 13, 2026 17:00
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>
@nickwesselman nickwesselman force-pushed the nwesselman/dev-console-shortcut branch from 5e5ddf6 to 880c5f8 Compare April 13, 2026 19:11
allExtensions includes config extensions (app_home, webhooks, etc.)
that always exist, causing hasExtensions to always be true. Use
nonConfigExtensions which only includes user-defined extensions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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