diff --git a/.changeset/witty-sails-film.md b/.changeset/witty-sails-film.md new file mode 100644 index 0000000..79ccb74 --- /dev/null +++ b/.changeset/witty-sails-film.md @@ -0,0 +1,5 @@ +--- +"@1git/gpuix": patch +--- + +Keep blocked-close notices compact by aligning the message and actions, leaving more room for file review. diff --git a/.github/assets/compact-close-notice.png b/.github/assets/compact-close-notice.png new file mode 100644 index 0000000..63e955f Binary files /dev/null and b/.github/assets/compact-close-notice.png differ diff --git a/apps/gpuix/src/feature/repository-workspace/components/repository-close-notice.tsx b/apps/gpuix/src/feature/repository-workspace/components/repository-close-notice.tsx index 6b3ce8e..cc0a6f4 100644 --- a/apps/gpuix/src/feature/repository-workspace/components/repository-close-notice.tsx +++ b/apps/gpuix/src/feature/repository-workspace/components/repository-close-notice.tsx @@ -40,16 +40,52 @@ export function RepositoryCloseNotice({ return (
- - {operations.length - ? "Git is still working. Keep this window open until it finishes." - : "Git operations have finished. Review the results; you can close the window now."} - + + {operations.length + ? "Git is still working. Keep this window open until it finishes." + : "Git operations have finished. Review the results; you can close the window now."} + + +
{operations.map(({ id, name, workspace }) => (
- + {`${name} · ${ workspace.commit.pending ? "Committing…" @@ -89,22 +133,17 @@ export function RepositoryCloseNotice({
))} {operations.some(({ workspace }) => workspace.sync.pending) ? ( - + Stopping may not undo remote changes. The window stays open until status is refreshed. ) : null} -
- -
); }