feat: keyboard navigation; improvement: SEO/GEO; refactor: file structure, unused fonts; fix: chat streaming, notification stack (#2083)

* improvement: panel tabs handler on click

* fix: output break words

* feat: keyboard navigation; improvement: SEO/GEO; refactor: file structure, unused fonts; fix: chat streaming, notification stack

* feat: unresolved value handling on error; fix: layout refresh; refactor: delete old panel

* refactor: control bar delete; improvement: workflow constants; fix: clear notifications keyboard shortcut

* update developers count

* fixed relative imports

---------

Co-authored-by: waleed <walif6@gmail.com>
This commit is contained in:
Emir Karabeg
2025-11-20 19:37:09 -08:00
committed by GitHub
parent 6187561219
commit 3dbf0f5679
486 changed files with 2180 additions and 6956 deletions

View File

@@ -187,12 +187,19 @@ export class BlockExecutor {
): NormalizedBlockOutput {
const duration = Date.now() - startTime
const errorMessage = normalizeError(error)
const hasResolvedInputs =
resolvedInputs && typeof resolvedInputs === 'object' && Object.keys(resolvedInputs).length > 0
const input =
hasResolvedInputs && resolvedInputs
? resolvedInputs
: ((block.config?.params as Record<string, any> | undefined) ?? {})
if (blockLog) {
blockLog.endedAt = new Date().toISOString()
blockLog.durationMs = duration
blockLog.success = false
blockLog.error = errorMessage
blockLog.input = input
}
const errorOutput: NormalizedBlockOutput = {
@@ -215,7 +222,7 @@ export class BlockExecutor {
)
if (!isSentinel) {
this.callOnBlockComplete(ctx, node, block, resolvedInputs, errorOutput, duration)
this.callOnBlockComplete(ctx, node, block, input, errorOutput, duration)
}
const hasErrorPort = this.hasErrorPortEdge(node)