Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
feat(SKY-9149): add migration notice for password manager settings (#5727)
Aaron Perez9eedee85208e
diff --git a/skyvern-frontend/src/components/AzureClientSecretCredentialTokenForm.tsx b/skyvern-frontend/src/components/AzureClientSecretCredentialTokenForm.tsxindex 6a797ad50..94e847c5d 100644--- a/skyvern-frontend/src/components/AzureClientSecretCredentialTokenForm.tsx+++ b/skyvern-frontend/src/components/AzureClientSecretCredentialTokenForm.tsx@@ -31,7 +31,13 @@ const formSchema = ztype FormData = z.infer<typeof formSchema>;-export function AzureClientSecretCredentialTokenForm() {+type Props = {+ onSuccess?: () => void;+};++export function AzureClientSecretCredentialTokenForm({+ onSuccess,+}: Props = {}) {const [showClientSecret, setShowClientSecret] = useState(false);const {azureOrganizationAuthToken,@@ -52,7 +58,9 @@ export function AzureClientSecretCredentialTokenForm() {});const onSubmit = (data: FormData) => {- createOrUpdateToken(data);+ createOrUpdateToken(data, {+ onSuccess: () => onSuccess?.(),+ });};const toggleClientSecretVisibility = () => {diff --git a/skyvern-frontend/src/components/BitwardenCredentialForm.tsx b/skyvern-frontend/src/components/BitwardenCredentialForm.tsxindex 81d6902a6..652a7a269 100644--- a/skyvern-frontend/src/components/BitwardenCredentialForm.tsx+++ b/skyvern-frontend/src/components/BitwardenCredentialForm.tsx@@ -33,7 +33,11 @@ const formSchema = ztype FormData = z.infer<typeof formSchema>;-export function BitwardenCredentialForm() {+type Props = {+ onSuccess?: () => void;+};++export function BitwardenCredentialForm({ onSuccess }: Props = {}) {const [showMasterPassword, setShowMasterPassword] = useState(false);const {bitwardenOrganizationAuthToken,@@ -53,7 +57,9 @@ export function BitwardenCredentialForm() {});const onSubmit = (data: FormData) => {- createOrUpdateToken(data);+ createOrUpdateToken(data, {+ onSuccess: () => onSuccess?.(),+ });};useEffect(() => {diff --git a/skyvern-frontend/src/components/CustomCredentialServiceConfigForm.tsx b/skyvern-frontend/src/components/CustomCredentialServiceConfigForm.tsxindex 95f231ff5..824832648 100644--- a/skyvern-frontend/src/components/CustomCredentialServiceConfigForm.tsx+++ b/skyvern-frontend/src/components/CustomCredentialServiceConfigForm.tsx@@ -34,7 +34,11 @@ const formSchema = ztype FormData = z.infer<typeof formSchema>;-export function CustomCredentialServiceConfigForm() {+type Props = {+ onSuccess?: () => void;+};++export function CustomCredentialServiceConfigForm({ onSuccess }: Props = {}) {const [showApiToken, setShowApiToken] = useState(false);const {customCredentialServiceAuthToken,@@ -57,7 +61,9 @@ export function CustomCredentialServiceConfigForm() {});const onSubmit = (data: FormData) => {- createOrUpdateConfig(data);+ createOrUpdateConfig(data, {+ onSuccess: () => onSuccess?.(),+ });};const onTestConnection = async () => {diff --git a/skyvern-frontend/src/components/OnePasswordTokenForm.tsx b/skyvern-frontend/src/components/OnePasswordTokenForm.tsxindex 155643fd6..9de68251f 100644--- a/skyvern-frontend/src/components/OnePasswordTokenForm.tsx+++ b/skyvern-frontend/src/components/OnePasswordTokenForm.tsx@@ -21,7 +21,11 @@ const formSchema = z.object({type FormData = z.infer<typeof formSchema>;-export function OnePasswordTokenForm() {+type Props = {+ onSuccess?: () => void;+};++export function OnePasswordTokenForm({ onSuccess }: Props = {}) {const [showToken, setShowToken] = useState(false);const { onePasswordToken, isLoading, createOrUpdateToken, isUpdating } =useOnePasswordToken();@@ -34,7 +38,9 @@ export function OnePasswordTokenForm() {});const onSubmit = (data: FormData) => {- createOrUpdateToken(data);+ createOrUpdateToken(data, {+ onSuccess: () => onSuccess?.(),+ });};const toggleTokenVisibility = () => {diff --git a/skyvern-frontend/src/components/icons/AzureKeyVaultIcon.tsx b/skyvern-frontend/src/components/icons/AzureKeyVaultIcon.tsxnew file mode 100644index 000000000..b10dacd6a--- /dev/null+++ b/skyvern-frontend/src/components/icons/AzureKeyVaultIcon.tsx@@ -0,0 +1,69 @@+type Props = {+ className?: string;+};++function AzureKeyVaultIcon({ className }: Props) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ width="24"+ height="24"+ viewBox="0 0 256 242"+ className={className}+ >+ <defs>+ <linearGradient+ id="azureKeyVaultIconGradA"+ x1="58.972%"+ x2="37.191%"+ y1="7.411%"+ y2="103.762%"+ >+ <stop offset="0%" stopColor="#114a8b" />+ <stop offset="100%" stopColor="#0669bc" />+ </linearGradient>+ <linearGradient+ id="azureKeyVaultIconGradB"+ x1="59.719%"+ x2="52.691%"+ y1="52.313%"+ y2="54.864%"+ >+ <stop offset="0%" stopOpacity=".3" />+ <stop offset="7.1%" stopOpacity=".2" />+ <stop offset="32.1%" stopOpacity=".1" />+ <stop offset="62.3%" stopOpacity=".05" />+ <stop offset="100%" stopOpacity="0" />+ </linearGradient>+ <linearGradient+ id="azureKeyVaultIconGradC"+ x1="37.279%"+ x2="62.473%"+ y1="4.6%"+ y2="99.979%"+ >+ <stop offset="0%" stopColor="#3ccbf4" />+ <stop offset="100%" stopColor="#2892df" />+ </linearGradient>+ </defs>+ <path+ fill="url(#azureKeyVaultIconGradA)"+ d="M85.343.003h75.753L82.457 233a12.08 12.08 0 0 1-11.442 8.216H12.06A12.06 12.06 0 0 1 .633 225.303L73.898 8.219A12.08 12.08 0 0 1 85.343 0z"+ />+ <path+ fill="#0078d4"+ d="M195.423 156.282H75.297a5.56 5.56 0 0 0-3.796 9.627l77.19 72.047a12.14 12.14 0 0 0 8.28 3.26h68.02z"+ />+ <path+ fill="url(#azureKeyVaultIconGradB)"+ d="M85.343.003a11.98 11.98 0 0 0-11.471 8.376L.723 225.105a12.045 12.045 0 0 0 11.37 16.112h60.475a12.93 12.93 0 0 0 9.921-8.437l14.588-42.991l52.105 48.6a12.33 12.33 0 0 0 7.757 2.828h67.766l-29.721-84.935l-86.643.02L161.37.003z"+ />+ <path+ fill="url(#azureKeyVaultIconGradC)"+ d="M182.098 8.207A12.06 12.06 0 0 0 170.67.003H86.245c5.175 0 9.773 3.301 11.428 8.204L170.94 225.3a12.062 12.062 0 0 1-11.428 15.92h84.429a12.062 12.062 0 0 0 11.425-15.92z"+ />+ </svg>+ );+}++export { AzureKeyVaultIcon };diff --git a/skyvern-frontend/src/components/icons/BitwardenIcon.tsx b/skyvern-frontend/src/components/icons/BitwardenIcon.tsxnew file mode 100644index 000000000..812c657e8--- /dev/null+++ b/skyvern-frontend/src/components/icons/BitwardenIcon.tsx@@ -0,0 +1,27 @@+type Props = {+ className?: string;+};++function BitwardenIcon({ className }: Props) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ width="24"+ height="24"+ viewBox="0 0 300 300"+ fill="none"+ className={className}+ >+ <path+ fill="#175DDC"+ d="M300 253.125C300 279.023 279.023 300 253.125 300H46.875C20.9766 300 0 279.023 0 253.125V46.875C0 20.9766 20.9766 0 46.875 0H253.125C279.023 0 300 20.9766 300 46.875V253.125Z"+ />+ <path+ fill="#FFFFFF"+ d="M243.105 37.6758C241.201 35.7715 238.945 34.834 236.367 34.834H63.6328C61.0254 34.834 58.7988 35.7715 56.8945 37.6758C54.9902 39.5801 54.0527 41.8359 54.0527 44.4141V159.58C54.0527 168.164 55.7227 176.689 59.0625 185.156C62.4023 193.594 66.5625 201.094 71.5137 207.656C76.4648 214.189 82.3535 220.576 89.209 226.787C96.0645 232.998 102.393 238.125 108.164 242.227C113.965 246.328 120 250.195 126.299 253.857C132.598 257.52 137.08 259.98 139.717 261.27C142.354 262.559 144.492 263.584 146.074 264.258C147.275 264.844 148.564 265.166 149.971 265.166C151.377 265.166 152.666 264.873 153.867 264.258C155.479 263.555 157.588 262.559 160.254 261.27C162.891 259.98 167.373 257.49 173.672 253.857C179.971 250.195 186.006 246.328 191.807 242.227C197.607 238.125 203.936 232.969 210.791 226.787C217.646 220.576 223.535 214.219 228.486 207.656C233.438 201.094 237.568 193.623 240.938 185.156C244.277 176.719 245.947 168.193 245.947 159.58V44.4434C245.977 41.8359 245.01 39.5801 243.105 37.6758ZM220.84 160.664C220.84 202.354 150 238.271 150 238.271V59.502H220.84C220.84 59.502 220.84 118.975 220.84 160.664Z"+ />+ </svg>+ );+}++export { BitwardenIcon };diff --git a/skyvern-frontend/src/components/icons/OnePasswordIcon.tsx b/skyvern-frontend/src/components/icons/OnePasswordIcon.tsxnew file mode 100644index 000000000..b417fa9ed--- /dev/null+++ b/skyvern-frontend/src/components/icons/OnePasswordIcon.tsx@@ -0,0 +1,30 @@+type Props = {+ className?: string;+};++function OnePasswordIcon({ className }: Props) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ width="24"+ height="24"+ viewBox="48 48 928 928"+ fill="none"+ className={className}+ >+ <circle cx="512" cy="512" r="464" fill="#FFFFFF" />+ <circle cx="512" cy="512" r="336" fill="#198CFF" />+ <circle cx="512" cy="512" r="264" fill="#F2F2F2" />+ <path+ fill="#FFFFFF"+ d="M468 720a36.1 36.1 0 0 1-36-36V503.3a36.3 36.3 0 0 1 8.4-23.2l10.6-12.5a4.2 4.2 0 0 0 0-5.2l-10.6-12.5a36.3 36.3 0 0 1-8.4-23.2V340a36.1 36.1 0 0 1 36-36h88a36.1 36.1 0 0 1 36 36v180.7a36.3 36.3 0 0 1-8.4 23.2L573 556.4a4.2 4.2 0 0 0 0 5.2l10.6 12.5a36.3 36.3 0 0 1 8.4 23.2V684a36.1 36.1 0 0 1-36 36z"+ />+ <path+ fill="#0A2B4C"+ d="M468 320h88a20.1 20.1 0 0 1 20 20v180.7a20.3 20.3 0 0 1-4.7 12.9l-10.5 12.5a20 20 0 0 0 0 25.8l10.5 12.5a20.3 20.3 0 0 1 4.7 12.9V684a20.1 20.1 0 0 1-20 20h-88a20.1 20.1 0 0 1-20-20V503.3a20.3 20.3 0 0 1 4.7-12.9l10.5-12.5a20 20 0 0 0 0-25.8l-10.5-12.5a20.3 20.3 0 0 1-4.7-12.9V340a20.1 20.1 0 0 1 20-20z"+ />+ </svg>+ );+}++export { OnePasswordIcon };