1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-01-19 09:27:27 +01:00

Refactor LeftPaneImageSteps component

This commit is contained in:
Nayam Amarshe 2024-01-15 18:43:16 +05:30
parent f7803f7c9e
commit eec704c479

View File

@ -235,19 +235,21 @@ function LeftPaneImageSteps({
className="animate-step-in"
data-tooltip-content={outputPath}
data-tooltip-id="tooltip">
<div className="step-heading flex items-center gap-2">
<span>Step 3</span>
{featureFlags.APP_STORE_BUILD && (
<button
className="badge badge-sm badge-outline cursor-pointer"
onClick={() =>
alert(
"Due to MacOS App Store security restrictions, Upscayl requires you to select an output folder everytime you start it.\n\nTo avoid this, you can permanently save a default output folder in the Upscayl 'Settings' tab."
)
}>
?
</button>
)}
<div className="flex flex-col pb-2">
<div className="step-heading flex items-center gap-2">
<span className="leading-none">Step 3</span>
{featureFlags.APP_STORE_BUILD && (
<button
className="badge badge-sm badge-outline cursor-pointer"
onClick={() =>
alert(
"Due to MacOS App Store security restrictions, Upscayl requires you to select an output folder everytime you start it.\n\nTo avoid this, you can permanently save a default output folder in the Upscayl 'Settings' tab."
)
}>
?
</button>
)}
</div>
{!outputPath && featureFlags.APP_STORE_BUILD && (
<div className="text-xs">
<span className="bg-base-200 font-medium uppercase text-base-content/50 rounded-btn px-2">