-
Notifications
You must be signed in to change notification settings - Fork 207
Add store copy show
command to view operation details
#6192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add store copy show
command to view operation details
#6192
Conversation
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.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
store copy show
command to view operation details
0825e92
to
9a99a7d
Compare
88156ea
to
2508b82
Compare
9a99a7d
to
0613898
Compare
2508b82
to
b882204
Compare
0613898
to
4cd82c2
Compare
b882204
to
b662b24
Compare
93ad902
to
448f69d
Compare
c5f3cb1
to
87d37f6
Compare
448f69d
to
3bfee13
Compare
87d37f6
to
8bf8bce
Compare
3bfee13
to
1120afe
Compare
…for new subcommand alongside it!
…ganization ID as identifier
8bf8bce
to
3840b96
Compare
1120afe
to
c48d147
Compare
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 declarationspackages/cli-kit/dist/public/node/progress-indicators.d.ts/**
* Creates a colored progress bar showing completion percentage.
*
* @param percentage - The completion percentage (0-100).
* @param width - The width of the progress bar in characters.
* @returns The colored progress bar string.
*/
export declare function createColoredProgressBar(percentage: number, width?: number): string;
/**
* Creates an animated gradient progress bar for indeterminate operations.
*
* @param animationIteration - The animation counter for gradient cycling.
* @param width - The width of the progress bar in characters.
* @returns The animated gradient progress bar string.
*/
export declare function createIndeterminateProgressBar(animationIteration: number, width?: number): string;
/**
* Creates an animated dots string for loading indicators.
*
* @param animationIteration - The animation counter that gets incremented over time.
* @returns A string with 0-3 dots for animation.
*/
export declare function createAnimatedDots(animationIteration: number): string;
packages/cli-kit/dist/public/node/terminal-layout.d.ts/**
* Creates right-aligned text by padding between left and right text.
*
* @param leftText - The text to display on the left.
* @param rightText - The text to display on the right.
* @param width - The total width for the aligned text.
* @returns The formatted string with proper alignment.
*/
export declare function createRightAlignedText(leftText: string, rightText: string, width?: number): string;
/**
* Clears the specified number of lines from the terminal by moving cursor up and clearing each line.
*
* @param lineCount - The number of lines to clear.
*/
export declare function clearLines(lineCount: number): void;
/**
* Calculates an appropriate width to use for terminal content like progress bars.
* Tries to use two-thirds of the available width, but never less than 20 characters.
*
* @returns The calculated terminal width.
*/
export declare function twoThirdsOfTerminalWidth(): number;
Existing type declarationspackages/cli-kit/dist/public/node/ui.d.ts@@ -380,4 +380,6 @@ interface IsTTYOptions {
export declare function isTTY({ stdin, uiDebugOptions }?: IsTTYOptions): boolean;
export type Key = InkKey;
export type InfoMessage = InfoMessageProps['message'];
-export { Token, Task, TokenItem, InlineToken, LinkToken, TableColumn, InfoTableSection, ListToken, render, handleCtrlC };
\ No newline at end of file
+export { Token, Task, TokenItem, InlineToken, LinkToken, TableColumn, InfoTableSection, ListToken, render, handleCtrlC };
+export { createRightAlignedText, clearLines } from './terminal-layout.js';
+export { createColoredProgressBar, createIndeterminateProgressBar, createAnimatedDots } from './progress-indicators.js';
\ No newline at end of file
|
1 similar comment
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 declarationspackages/cli-kit/dist/public/node/progress-indicators.d.ts/**
* Creates a colored progress bar showing completion percentage.
*
* @param percentage - The completion percentage (0-100).
* @param width - The width of the progress bar in characters.
* @returns The colored progress bar string.
*/
export declare function createColoredProgressBar(percentage: number, width?: number): string;
/**
* Creates an animated gradient progress bar for indeterminate operations.
*
* @param animationIteration - The animation counter for gradient cycling.
* @param width - The width of the progress bar in characters.
* @returns The animated gradient progress bar string.
*/
export declare function createIndeterminateProgressBar(animationIteration: number, width?: number): string;
/**
* Creates an animated dots string for loading indicators.
*
* @param animationIteration - The animation counter that gets incremented over time.
* @returns A string with 0-3 dots for animation.
*/
export declare function createAnimatedDots(animationIteration: number): string;
packages/cli-kit/dist/public/node/terminal-layout.d.ts/**
* Creates right-aligned text by padding between left and right text.
*
* @param leftText - The text to display on the left.
* @param rightText - The text to display on the right.
* @param width - The total width for the aligned text.
* @returns The formatted string with proper alignment.
*/
export declare function createRightAlignedText(leftText: string, rightText: string, width?: number): string;
/**
* Clears the specified number of lines from the terminal by moving cursor up and clearing each line.
*
* @param lineCount - The number of lines to clear.
*/
export declare function clearLines(lineCount: number): void;
/**
* Calculates an appropriate width to use for terminal content like progress bars.
* Tries to use two-thirds of the available width, but never less than 20 characters.
*
* @returns The calculated terminal width.
*/
export declare function twoThirdsOfTerminalWidth(): number;
Existing type declarationspackages/cli-kit/dist/public/node/ui.d.ts@@ -380,4 +380,6 @@ interface IsTTYOptions {
export declare function isTTY({ stdin, uiDebugOptions }?: IsTTYOptions): boolean;
export type Key = InkKey;
export type InfoMessage = InfoMessageProps['message'];
-export { Token, Task, TokenItem, InlineToken, LinkToken, TableColumn, InfoTableSection, ListToken, render, handleCtrlC };
\ No newline at end of file
+export { Token, Task, TokenItem, InlineToken, LinkToken, TableColumn, InfoTableSection, ListToken, render, handleCtrlC };
+export { createRightAlignedText, clearLines } from './terminal-layout.js';
+export { createColoredProgressBar, createIndeterminateProgressBar, createAnimatedDots } from './progress-indicators.js';
\ No newline at end of file
|
This PR seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. |
WHY are these changes introduced?
Fixes #0000
WHAT is this pull request doing?
How to test your changes?
Post-release steps
Measuring impact
How do we know this change was effective? Please choose one:
Checklist