Skip to content

Commit 765ebf1

Browse files
committed
PR fixes, remove trending, and redirects
1 parent 1469ae1 commit 765ebf1

33 files changed

+228
-194
lines changed

docs/docs.json

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@
423423
"mini-apps/quickstart/existing-apps/add-minikit",
424424
"mini-apps/quickstart/existing-apps/configure-environment",
425425
"mini-apps/quickstart/existing-apps/manifest-cli",
426-
"mini-apps/quickstart/existing-apps/create-farcaster-json",
426+
"mini-apps/quickstart/existing-apps/create-manifest",
427427
"mini-apps/quickstart/existing-apps/add-frame-metadata",
428428
"mini-apps/quickstart/existing-apps/test-and-deploy"
429429
]
@@ -2325,6 +2325,86 @@
23252325
{
23262326
"source": "/wallet-app/:slug*",
23272327
"destination": "/base-app/:slug*"
2328+
},
2329+
{
2330+
"source": "/base-app/introduction/what-are-mini-apps",
2331+
"destination": "/mini-apps/overview"
2332+
},
2333+
{
2334+
"source": "/base-app/introduction/why-mini-apps",
2335+
"destination": "/mini-apps/overview"
2336+
},
2337+
{
2338+
"source": "/base-app/miniapps/overview",
2339+
"destination": "/mini-apps/technical-reference/minikit/overview"
2340+
},
2341+
{
2342+
"source": "/base-app/build-with-minikit/overview",
2343+
"destination": "/mini-apps/technical-reference/minikit/overview"
2344+
},
2345+
{
2346+
"source": "/base-app/miniapps/existing-app-integration",
2347+
"destination": "/mini-apps/quickstart/existing-apps/install"
2348+
},
2349+
{
2350+
"source": "/base-app/build-with-minikit/existing-app-integration",
2351+
"destination": "/mini-apps/quickstart/existing-apps/install"
2352+
},
2353+
{
2354+
"source": "/base-app/miniapps/quickstart",
2355+
"destination": "/mini-apps/quickstart/new-apps/install"
2356+
},
2357+
{
2358+
"source": "/base-app/build-with-minikit/quickstart",
2359+
"destination": "/mini-apps/quickstart/new-apps/install"
2360+
},
2361+
{
2362+
"source": "/base-app/miniapps/mini-apps",
2363+
"destination": "/mini-apps/overview"
2364+
},
2365+
{
2366+
"source": "/base-app/build-with-minikit/mini-apps",
2367+
"destination": "/mini-apps/overview"
2368+
},
2369+
{
2370+
"source": "/base-app/miniapps/search-and-discovery",
2371+
"destination": "/mini-apps/features/search-and-discovery"
2372+
},
2373+
{
2374+
"source": "/base-app/build-with-minikit/search-and-discovery",
2375+
"destination": "/mini-apps/features/search-and-discovery"
2376+
},
2377+
{
2378+
"source": "/base-app/miniapps/sharing-your-miniapp",
2379+
"destination": "/mini-apps/features/sharing-and-social-graph"
2380+
},
2381+
{
2382+
"source": "/base-app/build-with-minikit/sharing-your-miniapp",
2383+
"destination": "/mini-apps/features/sharing-and-social-graph"
2384+
},
2385+
{
2386+
"source": "/base-app/miniapps/how-manifest-work",
2387+
"destination": "/mini-apps/features/manifest"
2388+
},
2389+
{
2390+
"source": "/base-app/build-with-minikit/how-manifest-work",
2391+
"destination": "/mini-apps/features/manifest"
2392+
},
2393+
{
2394+
"source": "/base-app/miniapps/thinking-social",
2395+
"destination": "/mini-apps/growth/build-viral-mini-apps"
2396+
},
2397+
{
2398+
"source": "/base-app/build-with-minikit/thinking-social",
2399+
"destination": "/mini-apps/growth/build-viral-mini-apps"
2400+
},
2401+
{
2402+
"source": "/base-app/miniapps/debugging",
2403+
"destination": "/mini-apps/troubleshooting/common-issues"
2404+
},
2405+
{
2406+
"source": "/base-app/build-with-minikit/debugging",
2407+
"destination": "/mini-apps/troubleshooting/common-issues"
23282408
}
23292409
],
23302410
"integrations": {

docs/mini-apps/features/Authentication.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ All hosts return context data (including user). Use it for analytics or lightwei
3131

3232
## Implementation Example
3333

34-
```tsx
34+
```tsx App.tsx
3535
import { useMiniKit, useAuthenticate } from '@coinbase/onchainkit/minikit';
3636

3737
function MyComponent() {

docs/mini-apps/features/embeds-and-previews.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Every share:
1919

2020
- **Increases reach** — friends and followers see your app instantly
2121
- **Drives engagement** — visually compelling embeds get more clicks than plain links
22-
- **Improves ranking** — shared apps are more likely to appear in "Trending" and category leaderboards
22+
- **Improves ranking** — shared apps are more likely to appear in category leaderboards
2323
- **Creates viral loops** — great experiences encourage users to share with their networks
2424

2525
## Metadata and Embeds
@@ -58,7 +58,7 @@ The metadata acts as instructions that tell the platform exactly how to display
5858

5959
Your metadata consists of specific HTML meta tags that define each part of the embed:
6060

61-
```html
61+
```html index.html
6262
<meta name="fc:frame" content='{
6363
"version":"next",
6464
"imageUrl":"https://your-app.com/embed-image",
@@ -106,7 +106,7 @@ Purpose: Embed generation when shared
106106

107107
Located in your HTML `<head>` tags, this metadata creates the rich embeds when users share your app.
108108

109-
```html
109+
```html index.html
110110
<meta name="fc:frame" content='{
111111
"version":"next",
112112
"imageUrl":"https://your-app.com/embed-image",
@@ -137,7 +137,7 @@ This controls how your embeds appear in social feeds.
137137

138138
Prompt users to share during key accomplishment moments using MiniKit’s compose hook.
139139

140-
```ts
140+
```ts ComposeCastButton.tsx
141141
import { useComposeCast } from '@coinbase/onchainkit/minikit';
142142

143143
export default function ComposeCastButton() {
@@ -224,7 +224,7 @@ export async function generateMetadata(): Promise<Metadata> {
224224

225225
### Without MiniKit
226226

227-
```html
227+
```html index.html
228228
<meta name="fc:frame" content='{"version":"next","imageUrl":"https://your-app.com/embed-image","button":{"title":"Play Now","action":{"type":"launch_frame","name":"Your App Name","url":"https://your-app.com"}}}' />
229229
```
230230

docs/mini-apps/features/links.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Avoid using direct HTML links (`<a href="">`, `<Link href="">`) or static URLs i
2121

2222
Use `sdk.actions.openUrl()` to safely open external websites in the client's in-app browser:
2323

24-
```javascript
25-
import { sdk } from '@farcaster/frame-sdk';
24+
```typescript App.tsx
25+
import { sdk } from '@@farcaster/miniapp-sdk';
2626

2727
// Correct: Use SDK action
2828
const openExternalSite = () => {
@@ -37,10 +37,10 @@ const openExternalSite = () => {
3737

3838
Use `sdk.actions.composeCast()` instead of composer intent URLs:
3939

40-
```javascript
41-
import { sdk } from '@farcaster/frame-sdk';
40+
```typescript App.tsx
41+
import { sdk } from '@farcaster/miniapp-sdk';
4242

43-
// Correct: Use SDK action
43+
// Correct: Use SDK action
4444
const shareContent = () => {
4545
sdk.actions.composeCast({
4646
text: 'Check out this Mini App!',
@@ -66,8 +66,8 @@ Before implementing any navigation or linking functionality:
6666

6767
When using features that may not be supported in all clients:
6868

69-
```javascript
70-
import { sdk } from '@farcaster/frame-sdk';
69+
```javascript App.tsx
70+
import { sdk } from '@@farcaster/miniapp-sdk';
7171

7272
const handleExternalLink = (url) => {
7373
try {
@@ -87,8 +87,8 @@ Don't hardcode URLs specific to particular clients (like Warpcast URLs). Instead
8787

8888
### Navigation Buttons
8989

90-
```javascript
91-
import { sdk } from '@farcaster/frame-sdk';
90+
```javascript NavigationComponent.tsx
91+
import { sdk } from '@@farcaster/miniapp-sdk';
9292

9393
const NavigationComponent = () => {
9494
const handleExternalLink = () => {
@@ -117,8 +117,8 @@ const NavigationComponent = () => {
117117

118118
### Conditional Navigation
119119

120-
```javascript
121-
import { sdk } from '@farcaster/frame-sdk';
120+
```javascript ConditionalNavigation.tsx
121+
import { sdk } from '@@farcaster/miniapp-sdk';
122122

123123
const ConditionalNavigation = () => {
124124
const context = sdk.context;

docs/mini-apps/features/manifest.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description: Define and configure your Mini App’s manifest to power search, di
1515

1616
Your `/.well-known/farcaster.json` file is the manifest for your Mini App. It contains all the metadata Base App uses to:
1717

18-
- Display your app in search results, trending sections, and category listings
18+
- Display your app in search results and category listings
1919
- Generate rich, clickable embeds when your app is shared
2020
- Show your app in users’ saved apps for quick access
2121

@@ -25,7 +25,7 @@ If the manifest is missing, incomplete, or invalid, your app won’t appear in B
2525

2626
Serve your manifest over HTTPS at:
2727

28-
```
28+
```bash Terminal
2929
https://your-domain.com/.well-known/farcaster.json
3030
```
3131

@@ -48,7 +48,7 @@ If your Mini App does not show in search, follow the debugging guide [here](/min
4848

4949
## Example manifest
5050

51-
```json
51+
```json farcaster.json
5252
{
5353
"accountAssociation": {
5454
"header": "eyJmaWQiOjkxNTIsInR5cGUiOiJjdXN0b2R5Iiwia2V5IjoiMHgwMmVmNzkwRGQ3OTkzQTM1ZkQ4NDdDMDUzRURkQUU5NDBEMDU1NTk2In0",

docs/mini-apps/features/search-and-discovery.mdx

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Learn how users discover and access Mini Apps in the Base ecosystem
66
> **What you’ll learn**
77
> By the end of this guide, you’ll be able to:
88
> - Get your Mini App indexed in Base App search and understand how indexing works.
9-
> - Choose the right categories and implement strategies to rank higher in “Trending Today.”
9+
> - Choose the right categories and implement strategies to improve visibility across discovery surfaces.
1010
> - Apply best practices to increase discoverability across Base App surfaces.
1111
1212
## Search
@@ -33,14 +33,6 @@ If your Mini App does not show in search please follow the debugging guide [here
3333

3434
## Discovery Surfaces
3535

36-
### Trending Today
37-
The "Trending Today" section showcases the most popular Mini Apps being actively used and shared.
38-
39-
<Frame caption="Trending Today">
40-
<img src="/images/minikit/trending_today.jpg" alt="Mini App showing trending view" height="200"/>
41-
</Frame>
42-
43-
Signals include social sharing frequency and current user engagement metrics.
4436

4537
### Saved Apps
4638
Personal launcher and quick access hub
@@ -70,19 +62,15 @@ Choose your primaryCategory carefully as it determines where your app appears in
7062
<img src="/images/minikit/ranking.jpeg" alt="app categories" className="h-18 w-auto" />
7163
</Frame>
7264

73-
<Tip> The Base app uses aggregated data (7-day rolling window) to generate dynamic category rankings and identify trending applications.</Tip>
65+
<Tip> The Base app uses aggregated data (7-day rolling window) to generate dynamic category rankings.</Tip>
7466

7567
## Visual Specifications
7668

7769
For detailed visual mapping of how metadata translates to UI elements, see the [Figma specification file](https://www.figma.com/design/4wx6s24NB0KLgprQAyMT8R/TBA-Mini-App-Specs).
7870

7971
## Optimization Strategies
8072

81-
### Ranking Higher in Trending
82-
- **Focus on social sharing frequency** during key user moments (completions, achievements, milestones)
83-
- **Optimize for current user engagement metrics** rather than all-time stats
84-
- **Time your launches** for maximum social velocity during peak usage hours
85-
- **Create viral loops** where user success naturally leads to sharing
73+
8674

8775
### Category Optimization
8876
- **Choose primaryCategory strategically** based on your target audience and competition

docs/mini-apps/features/sharing-and-social-graph.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Enable native share flows and social navigation
77

88
Prompt users to share during key accomplishment moments using MiniKit’s compose hook.
99

10-
```ts
10+
```ts ComposeCastButton.tsx
1111
import { useComposeCast } from '@coinbase/onchainkit/minikit';
1212

1313
export default function ComposeCastButton() {

docs/mini-apps/growth/build-viral-mini-apps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ For each dimension that scored well, confirm the feedback includes clear, action
212212
**Examples to look for:**
213213

214214
- "Posts inspire similar content from others"
215-
- "Trending topics emerge naturally"
215+
- "Popular topics emerge naturally"
216216
- "User‑generated content feeds itself"
217217

218218
**Red flag:** Content relies entirely on individual creators

docs/mini-apps/quickstart/existing-apps/add-frame-metadata.mdx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ title: Add Frame Metadata
33
description: Define fc:frame metadata to render rich embeds with launch buttons
44
---
55

6-
Add `fc:frame` metadata so shared links render an embed with a launch button.
6+
Metadata is critical for your app to be discovered. It enables rich embeds shared in the social feed and allows it to be properly indexed.Add `fc:frame` metadata so shared links render an embed with a launch button.
7+
8+
<Frame caption="Metadata enables rich embeds and discovery">
9+
<img src="/images/minikit/social_finding.gif" alt="Image of social feed with Mini Apps" />
10+
</Frame>
711

812
<Warning>
913
Place the meta tag in `<head>` and ensure all referenced assets use HTTPS.
@@ -37,13 +41,5 @@ export async function generateMetadata(): Promise<Metadata> {
3741
}
3842
```
3943

40-
<CardGroup cols={2}>
41-
<Card title="Test & deploy" icon="rocket" href="/mini-apps/quickstart/existing-apps/test-and-deploy">
42-
Validate configuration and ship
43-
</Card>
44-
<Card title="Embeds & Previews" icon="image" href="/mini-apps/features/embeds-and-previews">
45-
Minimal metadata and validation steps
46-
</Card>
47-
</CardGroup>
4844

4945

docs/mini-apps/quickstart/existing-apps/add-minikit.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,5 @@ export default function HomePage() {
6464
The provider configures wagmi and react‑query and uses the Farcaster connector when available.
6565
</Tip>
6666

67-
<CardGroup cols={2}>
68-
<Card title="Configure environment" icon="cog" href="/mini-apps/quickstart/existing-apps/configure-environment">
69-
Add required and optional env vars
70-
</Card>
71-
<Card title="Create manifest" icon="id-badge" href="/mini-apps/quickstart/existing-apps/manifest-cli">
72-
Generate account association and frame metadata
73-
</Card>
74-
</CardGroup>
7567

7668

0 commit comments

Comments
 (0)