diff --git a/packages/app/src/components/dialog-changelog.css b/packages/app/src/components/dialog-changelog.css index f3f50bfda1..9b3c4df09e 100644 --- a/packages/app/src/components/dialog-changelog.css +++ b/packages/app/src/components/dialog-changelog.css @@ -128,11 +128,6 @@ .dialog-changelog-markdown a.external-link { color: var(--text-interactive-base); font-weight: 500; - text-decoration: none; -} - -.dialog-changelog-markdown .external-link:hover { - text-decoration: none !important; } .dialog-changelog-markdown a.external-link[href^="https://github.com/anomalyco/opencode/pull/"], diff --git a/packages/app/src/components/dialog-changelog.tsx b/packages/app/src/components/dialog-changelog.tsx index 29d97a613b..b9e23adbdc 100644 --- a/packages/app/src/components/dialog-changelog.tsx +++ b/packages/app/src/components/dialog-changelog.tsx @@ -105,10 +105,7 @@ export function DialogChangelog() { } return ( - +

Loading...

@@ -119,14 +116,12 @@ export function DialogChangelog() {

No releases found.

0}> - - -
- -
-
+
) diff --git a/packages/app/src/components/release-list.tsx b/packages/app/src/components/release-list.tsx index 46b7c32d58..da3a5cec83 100644 --- a/packages/app/src/components/release-list.tsx +++ b/packages/app/src/components/release-list.tsx @@ -1,6 +1,7 @@ import { Component, createEffect, createSignal, onCleanup } from "solid-js" import { List } from "@opencode-ai/ui/list" import { Markdown } from "@opencode-ai/ui/markdown" +import { Button } from "@opencode-ai/ui/button" import "./dialog-changelog.css" type Release = { @@ -11,6 +12,9 @@ type Release = { interface ReleaseListProps { releases: Release[] + hasMore: boolean + loadingMore: boolean + onLoadMore: () => void } function StickyHeader(props: { tag: string; date: string }) { @@ -51,6 +55,16 @@ export const ReleaseList: Component = (props) => { emptyMessage="No releases found" loadingMessage="Loading..." class="dialog-changelog-list" + add={{ + render: () => + props.hasMore ? ( +
+ +
+ ) : null, + }} > {(item) => ( <>