Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update api playground ctrl+` interaction and add the command to the command bar. #1874

Merged
merged 3 commits into from
Dec 7, 2024

Conversation

abvthecity
Copy link
Contributor

This PR accomplishes 2 tasks:

  1. when the user presses ctrl+`, it should do a best guess at which api it opens

fallback 1. the last opened api endpoint

fallback 2. the api endpoint that is currently being viewed in the documentation

fallback 3. the first api endpoint that is available

  1. ability to open the api playground can be controlled inside of the command bar, which instructs the user that ctrl+` is a valid keyboard shortcut
Screenshot 2024-12-06 at 9 22 23 PM

Copy link

vercel bot commented Dec 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
rbac.ferndocs.com ❌ Failed (Inspect) Dec 7, 2024 2:25am
1 Skipped Deployment
Name Status Preview Updated (UTC)
fern-shell ⬜️ Ignored (Inspect) Dec 7, 2024 2:25am

Copy link

github-actions bot commented Dec 7, 2024

📦 Next.js Bundle Analysis for fern-platform-monorepo

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link

github-actions bot commented Dec 7, 2024

PR Preview

Copy link

github-actions bot commented Dec 7, 2024

Playwright test results

passed  96 passed
flaky  1 flaky
skipped  4 skipped

Details

stats  101 tests across 10 suites
duration  1 minute, 7 seconds
commit  c6cf58a

Flaky tests

chromium › forward-proxy/nextjs.spec.ts › capture the flag

Skipped tests

chromium › posthog.spec.ts › Posthog loads successfully
chromium › proxy.spec.ts › multipart-form upload
chromium › proxy.spec.ts › json request
chromium › websockets/websocket.spec.ts › websocket test

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.

2 participants