mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Hardcode version in announcement
This commit is contained in:
parent
7b668277fa
commit
66909b5c36
1 changed files with 1 additions and 4 deletions
|
|
@ -12,7 +12,6 @@ interface AnnouncementProps {
|
|||
You must update the latestAnnouncementId in ClineProvider for new announcements to show to users. This new id will be compared with whats in state for the 'last announcement shown', and if it's different then the announcement will render. As soon as an announcement is shown, the id will be updated in state. This ensures that announcements are not shown more than once, even if the user doesn't close it themselves.
|
||||
*/
|
||||
const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
|
||||
const minorVersion = version.split(".").slice(0, 2).join(".") // 2.0.0 -> 2.0
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
|
|
@ -29,9 +28,7 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
|
|||
style={{ position: "absolute", top: "8px", right: "8px" }}>
|
||||
<span className="codicon codicon-close"></span>
|
||||
</VSCodeButton>
|
||||
<h2 style={{ margin: "0 0 8px" }}>
|
||||
🎉{" "}Introducing Roo Code {minorVersion}
|
||||
</h2>
|
||||
<h2 style={{ margin: "0 0 8px" }}>🎉{" "}Introducing Roo Code 3.2</h2>
|
||||
|
||||
<p style={{ margin: "5px 0px" }}>
|
||||
Our biggest update yet is here - we're officially changing our name from Roo Cline to Roo Code! After
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue