Skip to content

Center welcome version below logo and remove prerelease warnings - #295

Merged
Mike Krüger (mkrueger) merged 3 commits into
mainfrom
dev/mkrueger/fix/welcome-version-label
Nov 10, 2026
Merged

Mike Krüger (mkrueger) merged 3 commits into
mainfrom
dev/mkrueger/fix/welcome-version-label

Conversation

@mkrueger

@mkrueger Mike Krüger (mkrueger) commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Display a clear VERSION label for both stable and prerelease versions, without repeating PREVIEW before the existing version suffix.
  • Center the version below the SHELL artwork in light gray, separated by a blank line. Respect localized display widths and preserve long labels.
  • Remove explanatory prerelease warnings from the welcome screen and compact startup status.
  • Update the English localization catalog, command documentation, and regression tests.

Validation

  • Release builds of the shell and test project passed with no warnings or errors.
  • All 56 welcome-screen and localization tests passed for the centered layout; all 24 welcome-screen tests passed after the final light-gray adjustment.
  • Final layout visually tested and approved.
  • git diff --check passed.
Image
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the change adding a localized version label to stable-release welcome screens.

No open issues 🎉

What changed in this PR

Adds a localized VERSION label to stable-release welcome screens while preserving the existing prerelease label and warning.

Changes:

  • Supports separate stable and prerelease sections in the welcome template.
  • Adds the English version label and documents the stable-release display.
  • Extends regression tests to cover localized labels for both release variants.
File Description
l10n/​CosmosDBShell.json Adds the stable version label to the localization catalog.
docs/​commands.md Documents the VERSION 1.2.3 display for stable releases.
CosmosDBShell/​lang/​en.ftl Defines the English VERSION label.
CosmosDBShell/​cosmos_welcome.ans Adds a conditional stable-release label.
CosmosDBShell/​Azure.Data.Cosmos.Shell.Core/​WelcomeScreen.cs Handles both preview and release template sections.
CosmosDBShell.Tests/​CommandTests/​WelcomeCommandTests.cs Verifies localized labels and rejects unlabeled version lines.

Review effort: Balanced

@github-code-quality

github-code-quality Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Code coverage overview

Languages: C#

C# / code-coverage/dotnet

main 47c33e3 dev/mkrueger/fix/wel... a2083d0 +/-
75% 75% 0%
View coverage of the 2 most impacted files.
File main 47c33e3 dev/mkrueger/fix/wel... a2083d0 +/-
D:\a\CosmosDBSh...elcomeScreen.cs 97% 96% -1%
D:\a\CosmosDBSh...lInterpreter.cs 80% 80% 0%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.


Updated November 10, 2026 10:03 UTC

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 09:49
@mkrueger Mike Krüger (mkrueger) changed the title Label stable welcome screen versions Nov 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the welcome-screen version placement and startup-output changes.

No open issues 🎉

Review effort: Balanced

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 09:55
@mkrueger Mike Krüger (mkrueger) changed the title Position welcome version below logo and remove prerelease warnings Nov 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block the welcome-screen and startup-output changes.

No open issues 🎉

Review effort: Balanced

@mkrueger
Mike Krüger (mkrueger) enabled auto-merge (squash) November 10, 2026 10:02
@mkrueger
Mike Krüger (mkrueger) merged commit be6892a into main Nov 10, 2026
13 checks passed
@mkrueger
Mike Krüger (mkrueger) deleted the dev/mkrueger/fix/welcome-version-label branch November 10, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants