fix(plugin): screenshot limit, version/build fields, delete button, workspace scripts
- list_screenshots: bump limit 12 → 50 so users can scroll further back - Add versionString + buildId to DeckyVaultImportV1, SessionData, and buildImportPayload. Import endpoint now saves them on new game versions. - Screenshot delete button in preset detail modal: owner/admin sees a trash icon on hover that calls DELETE /api/performance/:id/screenshots/:sid - Root workspace scripts for plugin workflow: bun run plugin:build | plugin:zip | plugin:release | plugin:deploy - Add deploy.sh (SSH scripts to push plugin to Deck)
This commit is contained in:
@@ -34,6 +34,8 @@ export interface SessionData {
|
||||
hardwareName: string
|
||||
osVersion: string
|
||||
protonVersion: string
|
||||
versionString: string
|
||||
buildId: string
|
||||
// Manual inputs (filled by user in the form)
|
||||
upscalerType: string
|
||||
upscalerVersion: string
|
||||
@@ -66,6 +68,8 @@ function createEmptySession(): SessionData {
|
||||
hardwareName: "",
|
||||
osVersion: "",
|
||||
protonVersion: "",
|
||||
versionString: "",
|
||||
buildId: "",
|
||||
upscalerType: "none",
|
||||
upscalerVersion: "",
|
||||
frameGenMethod: "none",
|
||||
@@ -244,6 +248,8 @@ export function buildImportPayload(sess: SessionData): DeckyVaultImportV1 {
|
||||
fpsHigh: sess.fpsHigh,
|
||||
protonVersion: sess.protonVersion || null,
|
||||
osVersion: sess.osVersion || null,
|
||||
versionString: sess.versionString || null,
|
||||
buildId: sess.buildId || null,
|
||||
upscalerType: sess.upscalerType,
|
||||
upscalerVersion: sess.upscalerVersion || null,
|
||||
frameGenMethod: sess.frameGenMethod,
|
||||
|
||||
Reference in New Issue
Block a user