Chore/Safe Parse HTML (#4905)

Refactor: Update pnpm-lock.yaml and enhance UI components for safe HTML rendering

- Updated pnpm-lock.yaml to improve dependency management and ensure consistency.
- Refactored the JSONViewer component to utilize a new JsonToken for syntax highlighting.
- Introduced SafeHTML component to sanitize and safely render HTML content in ViewMessagesDialog and NodeExecutionDetails.
- Replaced direct HTML rendering with SafeHTML in ChatMessage component for enhanced security.
This commit is contained in:
Henry Heng
2025-07-20 10:59:44 +01:00
committed by GitHub
parent 96a57a58e7
commit 9a06a85a8d
8 changed files with 166 additions and 49 deletions
@@ -72,7 +72,7 @@ const getAllExecutions = async (filters: ExecutionFilters = {}): Promise<{ data:
const queryBuilder = appServer.AppDataSource.getRepository(Execution)
.createQueryBuilder('execution')
.leftJoinAndSelect('execution.agentflow', 'agentflow')
.orderBy('execution.createdDate', 'DESC')
.orderBy('execution.updatedDate', 'DESC')
.skip((page - 1) * limit)
.take(limit)