Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/kilo-docs/source-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@
<!-- packages/kilo-vscode/webview-ui/src/components/marketplace/MarketplaceContribute.tsx -->
- <https://github.com/Kilo-Org/kilocode>
<!-- packages/kilo-vscode/webview-ui/src/components/settings/AboutKiloCodeTab.tsx -->
- <https://github.com/Kilo-Org/kilocode/>
<!-- packages/kilo-vscode/webview-ui/src/context/notifications.tsx -->
- <https://github.com/Kilo-Org/kilocode/issues/6986>
<!-- packages/kilo-vscode/src/agent-manager/constants.ts -->
- <https://github.com/Kilo-Org/kilocode/issues/9618>
Expand Down
13 changes: 12 additions & 1 deletion packages/kilo-vscode/webview-ui/src/context/notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ import {
import { useVSCode } from "./vscode"
import type { KilocodeNotification, ExtensionMessage } from "../types/messages"

// Static notifications always shown unconditionally (not fetched from API)
const STATIC_NOTIFICATIONS: KilocodeNotification[] = [
{
id: "star-giveaway-june-2026",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

SUGGESTION: This notification promotes a time-limited event ("June 24th") but has no expiry mechanism. After June 24, 2026 passes, this notification will continue showing to all users indefinitely until the code is manually removed in a follow-up PR. Consider adding a date guard so it automatically stops displaying after the event ends, or ensure a follow-up PR is planned to remove it.


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

title: "GitHub Star Giveaway",
message: "We're giving away $500 of AI Credits when we reach 25,000 stars on GitHub. Support us:",
action: { actionText: "github.com/Kilo-Org/kilocode", actionURL: "https://github.com/Kilo-Org/kilocode/" },
},
]

interface NotificationsContextValue {
notifications: Accessor<KilocodeNotification[]>
filteredNotifications: Accessor<KilocodeNotification[]>
Expand Down Expand Up @@ -53,7 +63,8 @@ export const NotificationsProvider: ParentComponent = (props) => {

const filteredNotifications = createMemo(() => {
const dismissed = dismissedIds()
return notifications().filter((n) => !dismissed.includes(n.id))
const all = [...STATIC_NOTIFICATIONS, ...notifications()]
return all.filter((n) => !dismissed.includes(n.id))
})

const dismiss = (id: string) => {
Expand Down
Loading