feat(web): display installed version in settings#712
feat(web): display installed version in settings#712saidMounaim wants to merge 2 commits intopingdotgg:mainfrom
Conversation
Add an "About" section to the Settings page that shows the currently installed version of T3 Code. The version is injected at build time from package.json via Vite's define config. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Use new URL('./package.json', import.meta.url) instead of relative
path so package.json resolves correctly regardless of cwd when vite
runs from the monorepo root.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Great minds think alike, I made a similar PR here at the same time #720 |
Add an "About" section to the Settings page that shows the currently installed version of T3
Code. The version is injected at build time from package.json via Vite's define config.
What Changed
apps/web/vite.config.ts- InjectAPP_VERSIONfrom package.json at build timeapps/web/src/branding.ts- ExportAPP_VERSIONconstantapps/web/src/routes/_chat.settings.tsx- Add new "About" section with version display atbottom of Settings page
Why
Users need a way to quickly check what version of T3 Code they have installed. This is useful
for:
The version is injected at build time, so it always reflects the actual installed version with
zero runtime overhead.
UI Changes
The new "About" section appears at the bottom of the Settings page:
Layout:
Checklist
Note
Display installed app version in the settings About section
Reads the version from
package.jsonat build time via Vite'sdefineconfig, injecting it asimport.meta.env.APP_VERSION. The settings page (_chat.settings.tsx) now includes an About section that displays this value at runtime.Macroscope summarized 29dd3b5.