diff --git a/resources/restlab-icon.png b/resources/restlab-icon.png index 0a9dd6e..0422464 100644 Binary files a/resources/restlab-icon.png and b/resources/restlab-icon.png differ diff --git a/resources/restlab-icon.svg b/resources/restlab-icon.svg index 5019293..8b2cee9 100644 --- a/resources/restlab-icon.svg +++ b/resources/restlab-icon.svg @@ -10,22 +10,25 @@ - + - + - - + + + + :// - diff --git a/resources/sidebar-icon.svg b/resources/sidebar-icon.svg index 161e1d1..0d46a30 100644 --- a/resources/sidebar-icon.svg +++ b/resources/sidebar-icon.svg @@ -1,11 +1,8 @@ - + - - - - - + + :// diff --git a/src/webview/components/icons/DotIcon.tsx b/src/webview/components/icons/DotIcon.tsx new file mode 100644 index 0000000..87087eb --- /dev/null +++ b/src/webview/components/icons/DotIcon.tsx @@ -0,0 +1,8 @@ +import React from "react"; +const DotIcon = () => ( + + + +); + +export default DotIcon; diff --git a/src/webview/components/icons/WarningIcon.tsx b/src/webview/components/icons/WarningIcon.tsx index 6cbe294..894527b 100644 --- a/src/webview/components/icons/WarningIcon.tsx +++ b/src/webview/components/icons/WarningIcon.tsx @@ -1,12 +1,17 @@ import React from "react"; -const WarningIcon = () => ( +type WarningIconProps = { + size?: number; + className?: string; +}; +const WarningIcon = ({ size = 48, className }: WarningIconProps) => ( diff --git a/src/webview/editor/EnvironmentsTab.tsx b/src/webview/editor/EnvironmentsTab.tsx index be7e836..27b0075 100644 --- a/src/webview/editor/EnvironmentsTab.tsx +++ b/src/webview/editor/EnvironmentsTab.tsx @@ -73,7 +73,10 @@ const EnvironmentsTab: React.FC = ({ {envs.length > 0 && (

- ✓ = active  ·  double-click name to rename + + + {" "} + = active  ·  double-click name to rename

)} {envs.length === 0 ? ( diff --git a/src/webview/editor/styles.css b/src/webview/editor/styles.css index dd69bc1..bc3ba48 100644 --- a/src/webview/editor/styles.css +++ b/src/webview/editor/styles.css @@ -159,7 +159,6 @@ body { } .save-btn.dirty:hover { - transform: translateY(-2px); box-shadow: 0 8px 24px var(--restlab-accent-glow); } @@ -771,6 +770,10 @@ fieldset.form-section { text-align: center; letter-spacing: 0.02em; } +.env-list-hint-icon { + display: inline-flex; + vertical-align: -1px; +} .env-section-label { font-size: 11px; font-weight: 600; diff --git a/src/webview/history/styles.css b/src/webview/history/styles.css index b9dcd8d..2aa160b 100644 --- a/src/webview/history/styles.css +++ b/src/webview/history/styles.css @@ -464,7 +464,6 @@ body { background: var(--restlab-gradient); border-color: transparent; color: #ffffff; - transform: translateY(-1px); box-shadow: 0 4px 12px var(--restlab-accent-glow); } diff --git a/src/webview/request/FormFieldEditor.tsx b/src/webview/request/FormFieldEditor.tsx index 8914a56..ce3a7e9 100644 --- a/src/webview/request/FormFieldEditor.tsx +++ b/src/webview/request/FormFieldEditor.tsx @@ -6,6 +6,7 @@ import PlusIcon from "../components/icons/PlusIcon"; import TextIcon from "../components/icons/TextIcon"; import TrashIcon from "../components/icons/TrashIcon"; import UploadIcon from "../components/icons/UploadIcon"; +import WarningIcon from "../components/icons/WarningIcon"; import { hasFileFields } from "../helpers/helper"; import { useRequestContext } from "./RequestContext"; @@ -107,7 +108,8 @@ const FormFieldEditor = () => { {hasFileFields(config.formData) && (

- ⚠️ File uploads require multipart/form-data. + + File uploads require multipart/form-data.

)} diff --git a/src/webview/request/RequestEditor.tsx b/src/webview/request/RequestEditor.tsx index 3bc7f3d..a931402 100644 --- a/src/webview/request/RequestEditor.tsx +++ b/src/webview/request/RequestEditor.tsx @@ -1,6 +1,8 @@ import React, { useEffect, useRef, useState } from "react"; import Tooltip from "../components/Tooltip"; +import ChevronIcon from "../components/icons/ChevronIcon"; import CodeIcon from "../components/icons/CodeIcon"; +import DotIcon from "../components/icons/DotIcon"; import MoreActionIcon from "../components/icons/MoreActionIcon"; import SaveIcon from "../components/icons/SaveIcon"; import SendIcon from "../components/icons/SendIcon"; @@ -195,7 +197,15 @@ const RequestEditorContent: React.FC = () => { )} {hasVars && resolvedUrl && ( <> - → + + + {resolvedUrl} @@ -257,7 +267,9 @@ const RequestEditorContent: React.FC = () => { > Auth {config.auth !== undefined && ( - • + + + )}