Skip to content

refactor: overhaul admin ux and ui #133

refactor: overhaul admin ux and ui

refactor: overhaul admin ux and ui #133

Triggered via pull request October 31, 2024 15:08
Status Success
Total duration 1m 18s
Artifacts

admin.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
lint: ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L261
React Hook useEffect has a missing dependency: 'notionSource?.state'. Either include it or remove the dependency array
lint: ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L283
React Hook useEffect has a missing dependency: 'onedriveSource?.state'. Either include it or remove the dependency array
lint: ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L305
React Hook useEffect has a missing dependency: 'websiteSource?.state'. Either include it or remove the dependency array
lint: ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L308
Assignments to the 'notionSource' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
lint: ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L319
Assignments to the 'onedriveSource' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
lint: ui/admin/app/components/knowledge/AgentKnowledgePanel.tsx#L332
Assignments to the 'websiteSource' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect