Skip to content

Studio: suggest Unsloth Docs in the web UI browser panel - #14324

Merged
shimmyshimmer merged 1 commit into
mainfrom
studio-browser-docs-suggestion
Oct 20, 2026
Merged

shimmyshimmer merged 1 commit into
mainfrom
studio-browser-docs-suggestion

Conversation

@shimmyshimmer

@shimmyshimmer shimmyshimmer commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

What changed

The browser panel's new tab page in the web UI now suggests Unsloth Docs (https://unsloth.ai/docs) first, ahead of Unsloth on GitHub and Hugging Face. Until now the web UI left out both Unsloth sites because Cloudflare blocked them in the proxied view. Since #14279 the docs load there, so the docs come back; the Unsloth home page still answers the proxied view with a 403 browser check, so it stays a Desktop-only suggestion.

The suggestion uses unsloth.ai/docs, where docs.unsloth.ai now redirects. The Desktop list is unchanged: it keeps docs.unsloth.ai beside unsloth.ai, since suggestions are deduplicated and hidden per host and the two would otherwise share one.

Verification

  • npm run typecheck and npm run build pass; the 230 browser tests pass. Biome reports nothing new in new-tab-page.tsx.
  • Isolated Studio built from this branch (main with Studio: open the Unsloth docs and Next.js sites in the browser panel #14279), Playwright (Chromium), web UI browser panel:
    • Suggested lists Unsloth Docs, Unsloth on GitHub, Hugging Face,
    • clicking Unsloth Docs loads the docs at unsloth.ai/docs,
    • unsloth.ai itself still shows the "This site checks for a real browser" page (HTTP 403), which is why the home page is not suggested.

The Desktop native browser view is not exercised from this host; its list is unchanged.

Web UI browser panel: the new tab page with Unsloth Docs first, and the docs open after clicking it.

Unsloth Docs suggested and opened

shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 20, 2026
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T10:11:07.848345Z 84139a8 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 84139a8325

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@shimmyshimmer
shimmyshimmer merged commit 3c68c2a into main Oct 20, 2026
@shimmyshimmer
shimmyshimmer deleted the studio-browser-docs-suggestion branch October 20, 2026 10:19
danielhanchen added a commit that referenced this pull request Oct 20, 2026
## Problem

`Frontend build + bundle sanity` is red again for PRs based on current
main. Main builds over the startup budget:

```
eager startup JS: 6684.5 KB raw, 2012.8 KB transfer, 96 chunks
over the startup budget: raw 6684.5 KB > 6684.4 KB
```

## Measurement

Exact totals, one machine and build, Node 24, 96 chunks throughout:

| Commit | Raw (B) | Transfer (B) |
|---|---|---|
| 3c68c2a (#14324) | 6,844,622 | 2,061,046 |
| ad2fc06 (#14329) | 6,844,459 | 2,061,006 |
| 37f5374 (#14322, modern toggles) | 6,844,908 | 2,061,092 |

#14322 adds 449 B raw / 86 B transfer. `switch.tsx` is a shared
primitive that is already in the startup chunks, so this is ordinary
growth and the chunk count is unchanged. #14329 had removed 163 B just
before.

## Change

`BUDGET` in `studio/frontend/scripts/check-bundle-budget.ts` is raised
to the main build plus the same 160 B raw / 189 B transfer margin:
`rawBytes` 6,845,068 and `transferBytes` 2,061,281. A comment entry
records the numbers.

## Testing

`npm ci && npm run build && npx tsx scripts/check-bundle-budget.ts` on
this branch: `within budget (0.2 KB transfer, 0.2 KB raw to spare)`. On
main, the over-budget output above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant