Spaces:
Running
Running
rewrite diff patch updates
Browse files
components/editor/ask-ai/follow-up-tooltip.tsx
CHANGED
@@ -17,14 +17,17 @@ export const FollowUpTooltip = () => {
|
|
17 |
>
|
18 |
<header className="bg-neutral-950 px-4 py-3 border-b border-neutral-700/70">
|
19 |
<p className="text-base text-neutral-200 font-semibold">
|
20 |
-
|
21 |
</p>
|
22 |
</header>
|
23 |
<main className="p-4">
|
24 |
-
<p className="text-
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
28 |
</p>
|
29 |
</main>
|
30 |
</PopoverContent>
|
|
|
17 |
>
|
18 |
<header className="bg-neutral-950 px-4 py-3 border-b border-neutral-700/70">
|
19 |
<p className="text-base text-neutral-200 font-semibold">
|
20 |
+
⚡ Faster, Smarter Updates
|
21 |
</p>
|
22 |
</header>
|
23 |
<main className="p-4">
|
24 |
+
<p className="text-neutral-300 text-sm">
|
25 |
+
Using the Diff-Patch system, allow DeepSite to intelligently update
|
26 |
+
your project without rewritting the entire codebase.
|
27 |
+
</p>
|
28 |
+
<p className="text-neutral-500 text-sm mt-2">
|
29 |
+
This means faster updates, less data usage, and a more efficient
|
30 |
+
development process.
|
31 |
</p>
|
32 |
</main>
|
33 |
</PopoverContent>
|
components/editor/ask-ai/index.tsx
CHANGED
@@ -429,17 +429,17 @@ export function AskAI({
|
|
429 |
{html !== defaultHTML && (
|
430 |
<div className="absolute top-0 right-0 -translate-y-[calc(100%+8px)] select-none text-xs text-neutral-400 flex items-center justify-center gap-2 bg-neutral-800 border border-neutral-700 rounded-md p-1 pr-2.5">
|
431 |
<label
|
432 |
-
htmlFor="
|
433 |
className="flex items-center gap-1.5 cursor-pointer"
|
434 |
>
|
435 |
<Checkbox
|
436 |
-
id="
|
437 |
checked={isFollowUp}
|
438 |
onCheckedChange={(e) => {
|
439 |
setIsFollowUp(e === true);
|
440 |
}}
|
441 |
/>
|
442 |
-
|
443 |
</label>
|
444 |
<FollowUpTooltip />
|
445 |
</div>
|
|
|
429 |
{html !== defaultHTML && (
|
430 |
<div className="absolute top-0 right-0 -translate-y-[calc(100%+8px)] select-none text-xs text-neutral-400 flex items-center justify-center gap-2 bg-neutral-800 border border-neutral-700 rounded-md p-1 pr-2.5">
|
431 |
<label
|
432 |
+
htmlFor="diff-patch-checkbox"
|
433 |
className="flex items-center gap-1.5 cursor-pointer"
|
434 |
>
|
435 |
<Checkbox
|
436 |
+
id="diff-patch-checkbox"
|
437 |
checked={isFollowUp}
|
438 |
onCheckedChange={(e) => {
|
439 |
setIsFollowUp(e === true);
|
440 |
}}
|
441 |
/>
|
442 |
+
Diff-Patch Update
|
443 |
</label>
|
444 |
<FollowUpTooltip />
|
445 |
</div>
|