#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
Portal Agent Builder: SVG upload icon (#7001)
Anthony Stirling52358c5bf906
diff --git a/frontend/editor/src/portal/components/agent-builder/BootstrapDialog.tsx b/frontend/editor/src/portal/components/agent-builder/BootstrapDialog.tsxindex a6b28688e6..27b076eb69 100644--- a/frontend/editor/src/portal/components/agent-builder/BootstrapDialog.tsx+++ b/frontend/editor/src/portal/components/agent-builder/BootstrapDialog.tsx@@ -1,5 +1,6 @@import { useState } from "react";import { useTranslation } from "react-i18next";+import FileUploadRounded from "@mui/icons-material/FileUploadRounded";import { Button, Modal } from "@app/ui";import "@portal/views/AgentBuilder.css";@@ -58,7 +59,7 @@ export function BootstrapDialog({ open, onClose }: BootstrapDialogProps) {onChange={(e) => setFileName(e.target.files?.[0]?.name ?? null)}/><span className="portal-agents__dropzone-icon" aria-hidden>- ⇪+ <FileUploadRounded style={{ fontSize: "1.5rem" }} /></span><span className="portal-agents__dropzone-text">{fileName ?? t("portal.agentBuilder.bootstrap.dropzoneText")}diff --git a/frontend/editor/src/portal/views/AgentBuilder.tsx b/frontend/editor/src/portal/views/AgentBuilder.tsxindex efa319c146..30a8f5e14e 100644--- a/frontend/editor/src/portal/views/AgentBuilder.tsx+++ b/frontend/editor/src/portal/views/AgentBuilder.tsx@@ -1,5 +1,6 @@import { useState } from "react";import { useTranslation } from "react-i18next";+import FileUploadRounded from "@mui/icons-material/FileUploadRounded";import { Button, EmptyState, Skeleton } from "@app/ui";import { useTier } from "@portal/contexts/TierContext";import { useAsync, useSectionFlags } from "@portal/hooks/useAsync";@@ -41,7 +42,7 @@ export function AgentBuilder() {</div><ButtononClick={() => setBootstrapOpen(true)}- leftSection={<span aria-hidden>⇪</span>}+ leftSection={<FileUploadRounded style={{ fontSize: "1.2rem" }} />}>{t("portal.agentBuilder.bootstrapFromDocument")}</Button>