DRY up shortcut and link rendering in DevSessionUI#7260
Merged
nickwesselman merged 1 commit intomainfrom Apr 15, 2026
Merged
Conversation
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Apr 13, 2026
26db21d to
57096e2
Compare
44a9b4a to
84802e4
Compare
84802e4 to
b127d42
Compare
fe40fdc to
660d519
Compare
42be84b to
ed07bb8
Compare
660d519 to
880aac9
Compare
4 tasks
ed07bb8 to
99a5c61
Compare
880aac9 to
672c0d4
Compare
4 tasks
99a5c61 to
ec24a22
Compare
672c0d4 to
a8b0bbc
Compare
a8b0bbc to
e126d1d
Compare
ec24a22 to
710266f
Compare
e126d1d to
dbabaf1
Compare
710266f to
d14eb0a
Compare
dbabaf1 to
476e642
Compare
d14eb0a to
70a41c4
Compare
craigmichaelmartin
approved these changes
Apr 15, 2026
70a41c4 to
6eee91f
Compare
6eee91f to
a4a2150
Compare
476e642 to
6e6b8d4
Compare
Extract devStatusShortcuts array with shortcutLabel, linkLabel, url, condition, and action fields. Both the keyboard shortcut hints and the URL list are now rendered by iterating over the same collection, eliminating duplicated conditions and labels. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
a4a2150 to
0ab66c4
Compare
6e6b8d4 to
1fe29dd
Compare
Contributor
Author
|
/snapit |
Contributor
Differences in type declarationsWe detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:
New type declarationsWe found no new type declarations in this PR Existing type declarationspackages/cli-kit/dist/public/node/system.d.ts@@ -87,6 +87,12 @@ export declare function exec(command: string, args: string[], options?: ExecOpti
* @returns A Promise resolving after the number of seconds.
*/
export declare function sleep(seconds: number): Promise<void>;
+/**
+ * Check if the terminal supports OSC 8 hyperlinks.
+ *
+ * @returns True if the terminal supports hyperlinks.
+ */
+export declare function terminalSupportsHyperlinks(): boolean;
/**
* Check if the standard input and output streams support prompting.
*
|
Contributor
|
🫰✨ Thanks @nickwesselman! Your snapshot has been published to npm. Test the snapshot by installing your package globally: i -g --@shopify:registry=https://registry.npmjs.org @shopify/cli@0.0.0-snapshot-20260415180405Caution After installing, validate the version by running |
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.

WHY are these changes introduced?
The
app devfooter content had an increasing number of redundant checks.WHAT is this pull request doing?
Proposed update to make the
app devfooter more DRY.Checklist
pnpm changeset add