Compare commits

...

3 Commits

Author SHA1 Message Date
frostbournesb c97ca265f6 setup links for future changes 2025-07-08 17:49:25 -07:00
frostbournesb ddf1921407 add dashboard url 2025-07-08 17:44:52 -07:00
Dennis Bartlett 8ddd3f46f3 Update links for account buttons 2025-07-08 17:35:34 -07:00
2 changed files with 7 additions and 5 deletions
@@ -52,6 +52,10 @@ export const ClineAccountView = () => {
const [usageData, setUsageData] = useState<UsageTransaction[]>([])
const [paymentsData, setPaymentsData] = useState<PaymentTransaction[]>([])
const dashboardAddCreditsURL = activeOrganization
? "https://app.cline.bot/dashboard/organization?tab=credits&redirect=true"
: "https://app.cline.bot/dashboard/account?tab=credits&redirect=true"
async function getUserCredits() {
setIsLoading(true)
try {
@@ -204,8 +208,7 @@ export const ClineAccountView = () => {
<div className="w-full flex gap-2 flex-col min-[225px]:flex-row">
<div className="w-full min-[225px]:w-1/2">
{/* TODO: Update to get url for dashboard from EXT */}
<VSCodeButtonLink href="https://app.cline.bot/credits" appearance="primary" className="w-full">
<VSCodeButtonLink href="https://app.cline.bot/dashboard" appearance="primary" className="w-full">
Dashboard
</VSCodeButtonLink>
</div>
@@ -237,8 +240,7 @@ export const ClineAccountView = () => {
</div>
<div className="w-full">
{/* TODO: Update to get url for dashboard from EXT */}
<VSCodeButtonLink href="https://app.cline.bot/credits/#buy" className="w-full">
<VSCodeButtonLink href={dashboardAddCreditsURL} className="w-full">
Add Credits
</VSCodeButtonLink>
</div>
@@ -30,7 +30,7 @@ const CreditLimitError: React.FC<CreditLimitErrorProps> = ({ currentBalance, tot
</div>
<VSCodeButtonLink
href="https://app.cline.bot/credits/#buy"
href="https://app.cline.bot/"
style={{
width: "100%",
marginBottom: "8px",