Skip to content

✨ Version number display #1231#1304

Merged
Phinease merged 1 commit intodevelopfrom
jpl/jpl_0822
Sep 28, 2025
Merged

✨ Version number display #1231#1304
Phinease merged 1 commit intodevelopfrom
jpl/jpl_0822

Conversation

@porkpink
Copy link
Contributor

✨ Version number display #1231
页面展示版本号:
image

后端打印版本号:
image

文档指南:
image

image

@porkpink porkpink requested a review from Phinease as a code owner September 26, 2025 14:00
Copilot AI review requested due to automatic review settings September 26, 2025 14:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements version number display functionality across the frontend and backend, adding the ability to show the application version on the web interface and in backend logs during startup.

  • Frontend displays version information in the footer by fetching from backend API
  • Backend logs APP version during server initialization
  • Added comprehensive test coverage for version-related functionality

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
test/backend/test_main_service.py Added comprehensive test suite for startup initialization including version logging
test/backend/app/test_tenant_config_app.py Updated tests to include app_version in API response validation
frontend/services/versionService.ts New service to fetch application version from backend API
frontend/const/constants.ts Added fallback APP_VERSION constant
frontend/app/[locale]/page.tsx Integrated version display in footer with API fetch logic
docker/.env.example Minor formatting cleanup
doc/docs/zh/version/version-management.md Chinese documentation for version management
doc/docs/en/version/version-management.md English documentation for version management
doc/docs/.vitepress/config.mts Added version management section to documentation navigation
backend/main_service.py Added version logging during startup initialization
backend/consts/const.py Added APP_VERSION constant
backend/apps/tenant_config_app.py Updated deployment version endpoint to include app_version

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@codecov
Copy link

codecov bot commented Sep 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

✨ Version number display #1231

✨ Version number display #1231
@Phinease Phinease merged commit 567dec5 into develop Sep 28, 2025
10 checks passed
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.

2 participants

Comments