mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #19673] [CLOSED] feat: add keyboard shortcuts to Playground #64161
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/19673
Author: @pxkundu
Created: 12/2/2025
Status: ❌ Closed
Base:
dev← Head:fix/issue-1008-playground-shortcuts📝 Commits (2)
13c234cfeat: add keyboard shortcuts to Playground0f2b03cchore: update .gitignore to exclude testing docs📊 Changes
5 files changed (+370 additions, -3 deletions)
View changed files
📝
.gitignore(+2 -0)➕
cypress/e2e/playground.cy.ts(+172 -0)📝
src/lib/components/playground/Chat.svelte(+88 -1)📝
src/lib/components/playground/Completions.svelte(+64 -1)📝
src/lib/shortcuts.ts(+44 -1)📄 Description
Pull Request Checklist
Description
This PR adds keyboard shortcuts to the Playground feature, addressing issue #1008. The Playground previously had no keyboard shortcuts, making it inefficient for keyboard-focused users.
Changes
Added 6 new shortcut definitions to
src/lib/shortcuts.ts:Implemented shortcut handlers in:
src/lib/components/playground/Chat.sveltesrc/lib/components/playground/Completions.svelteAdded Cypress E2E tests in
cypress/e2e/playground.cy.ts(11 test cases)Changelog Entry
Added
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
Closes #1008
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.