Closed cydoval closed 5 months ago
[!WARNING]
Review failed
The pull request is closed.
The recent updates introduce a new environment variable for build versioning, enhance UI elements with updated styles, improve user interaction in chat components, and ensure consistent branding of "PolicyWonk." Additionally, the version display in the footer and sidebar now dynamically reflects the build version from the environment variable.
File(s) | Change Summary |
---|---|
.env |
Added NEXT_PUBLIC_BUILD_VERSION=0.2.4 . |
src/app/styles/_regions.scss |
Adjusted styles for various classes and added new classes .alert-tag and .alert-tag-mobile . |
src/components/chat/ask/chatBoxForm.tsx |
Updated placeholder text and label for clearer user instructions. |
src/components/chat/main.tsx |
Changed "Meet Policywonk" to "Meet PolicyWonk" for capitalization consistency. |
src/components/layout/disclaimer.tsx |
Updated name "Policywonk" to "PolicyWonk" for consistency in the disclaimer text. |
src/components/layout/footer.tsx |
Imported buildVersion and changed version display to use buildVersion . |
src/components/layout/mobileSidebar.tsx |
Added <div> with class alert-tag-mobile displaying "BETA v1.2.3.311". |
src/components/layout/sidebar.tsx |
Added <div> with class alert-tag displaying "BETA v{buildVersion}" and imported buildVersion . |
src/models/static.ts |
Introduced constant buildVersion to retrieve the build version from the environment variable. |
In fields of code, a rabbit hops,
With version tags and UI props,
PolicyWonk now stands tall,
With styles and labels, clear for all.
Dynamic builds in the footer shine,
Oh, how the updates intertwine!
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Enhancements
Bug Fixes
Chores