enzostvs HF Staff commited on
Commit
019c633
·
1 Parent(s): c908126

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
- What is a Follow-Up?
21
  </p>
22
  </header>
23
  <main className="p-4">
24
- <p className="text-sm text-neutral-400">
25
- A Follow-Up is a request to DeepSite to edit the current HTML
26
- instead of starting from scratch. This is useful when you want to
27
- make small changes or improvements to the existing design.
 
 
 
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="follow-up-checkbox"
433
  className="flex items-center gap-1.5 cursor-pointer"
434
  >
435
  <Checkbox
436
- id="follow-up-checkbox"
437
  checked={isFollowUp}
438
  onCheckedChange={(e) => {
439
  setIsFollowUp(e === true);
440
  }}
441
  />
442
- Follow-Up
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>