Commit Graph
93 Commits
Author SHA1 Message Date
Tanish Manku eaabaaf7a1 Add log for base64 inpainting response 2025-03-27 17:52:19 -07:00
Tanish Manku 410b1251d1 Disable bitmap testing 2025-03-27 16:14:09 -07:00
Tanish Manku c6aebd0585 Add clipping support 2025-03-27 16:13:16 -07:00
Tanish Manku 6b23eb4192 Add inpainting bitmap and invoke logic 2025-03-27 15:58:39 -07:00
Tanish Manku 318f75cb58 Support id and name attrs in ImageNode 2025-03-27 15:58:05 -07:00
Tanish Manku 834782f542 Fix a zero-length bug in CommandManager deletion logic 2025-03-27 15:57:55 -07:00
Tanish Manku 2cc587d4e9 Add slider controls 2025-03-26 00:54:38 -07:00
Tanish Manku d242c35a45 Update Edit mode UI 2025-03-25 23:08:48 -07:00
Tanish Manku 647703c673 Add edit mode painting support
Painted nodes are persistent across edit modes.
2025-03-25 23:08:32 -07:00
Tanish Manku 81a2ad65c8 Make sure selector square ignores hidden nodes 2025-03-25 23:07:02 -07:00
Tanish Manku 11e0c7f69d Add basic edit mode UI and engine 2025-03-24 23:58:49 -07:00
Brandon Thomas a5a09f3e64 fixup inpaint stub 2025-03-25 01:44:20 -04:00
49894bd9b3 Generate Mode (#461)
Co-authored-by: Tanish Manku <-h>
Co-authored-by: bflatastic <bombayapirat@gmail.com>
2025-03-25 01:38:56 -04:00
Brandon Thomas cd3c864eff runs on mac 2025-03-24 21:46:25 -04:00
Brandon Thomas f3babbcb19 if statements -> switch statements 2025-03-20 10:53:34 -04:00
Brandon Thomas f37011ffc6 remove background: frontend UX (#458) 2025-03-20 01:41:43 -04:00
bflatastic ddf6a7f54e top center ui bug fix and padding 2025-03-13 22:28:26 +07:00
Tanish Manku a8e029497f Fix context menu showing up after transforming (#453) 2025-03-12 15:18:00 -07:00
BFlat 883e32220c tabs and app mode signals (#450)
Usage example - Conditional Rendering Based on App Mode:
```typescript
import { appMode } from "~/signals";

function ConditionalComponent() {
  return (
    <div className="app-container">
      {/* Show/hide components based on current mode */}
      {appMode.value === 'image' && (
        <div className="image-tools">
          <h3>Image Mode Tools</h3>
        </div>
      )}
      
      {appMode.value === 'edit' && (
        <div className="edit-tools">
          <h3>Edit Mode Tools</h3>
        </div>
      )}
  );
}
```
2025-03-12 13:26:10 -04:00
Brandon Thomas a4f876daa9 Multithreaded downloader + notifications (#447) 2025-03-10 21:51:07 -04:00
Tanish Manku 4b309a5dd8 Render shapes as vectors and revamp rendering logic (#442) 2025-03-07 14:41:11 -08:00
Tanish Manku 08384955e4 Remove 'React-Eyedrop' and unused imports (#443)
As simple as it sounds
2025-03-06 23:05:23 -08:00
CrossPr0duct 0233105393 Merge branch 'main' of github.com:storytold/storyteller-rust 2025-03-06 15:12:28 -05:00
CrossPr0duct 8f94f81db4 Background Hack Implemented without engine refactors. 2025-03-06 15:12:04 -05:00
BFlat c2929cfdb6 color picker ux and make paint cursor visible on both dark/light bg (#441)
ux updates to color picker and paint cursor
2025-03-06 20:52:25 +07:00
bflatastic 3556dcbfd3 removed annoying focus on buttons 2 2025-03-05 23:40:33 +07:00
bflatastic 4ab6ca1caa disabled annoying focus ring 2025-03-05 23:21:11 +07:00
BFlat 74f5b14d18 added loading indicator text (#439)
added signal for loading indicator text change
2025-03-05 10:23:48 +07:00
CrossPr0duct ac6dcfbc05 Selector Square Bug fixed.
Added Loading to RealTimeDrawEngine.
2025-03-04 20:20:33 -05:00
CrossPr0duct e56ce47205 Remove eraser button 2025-03-04 18:00:55 -05:00
CrossPr0duct 606d1d2345 Added the progress bar. 2025-03-04 15:53:32 -05:00
BFlat 4d31f702b4 toaster for notifications (#437)
added toaster for notifications and alerts using sonner library

import:
```
import { toast } from 'sonner';
```

basic usage just call:
```
toast('This is an normal toast');

toast.error('This is an error toast');

toast.success('This is an success toast');

toast('This is an action toast', {
          action: {
            label: 'Action',
            onClick: () => console.log('Action!'),
          },
        });

toast('My cancel toast', {
  cancel: <Button onClick={() => console.log('Cancel!')}>Cancel</Button>,
});
```

more usage check here: https://sonner.emilkowal.ski/toast
2025-03-04 00:27:15 +07:00
CrossPr0duct 360c3a268b Fixing the flow feels more natural,
swaps to shape selection or image selection when that is added,
except for render copy.
2025-03-01 21:25:27 -05:00
CrossPr0duct e2d9600458 Ensure the drag layer sits on top. 2025-03-01 21:06:21 -05:00
CrossPr0duct 31194c6622 Fixed brush issues and fixed issues with the paint server embedding lengths. 2025-03-01 19:10:16 -05:00
CrossPr0duct 5045e44af7 Painted img2img requires rescaling the image. 2025-03-01 18:09:19 -05:00
CrossPr0duct d387a04d12 Server Changes modified So it doesn't crash.
Type Fixes.
2025-03-01 17:46:29 -05:00
CrossPr0duct 0276349b5d Add Background color wire. 2025-03-01 17:03:14 -05:00
CrossPr0duct 3c037b085b Update the server lora strength.
Add Rendering for strength and text events.
2025-03-01 15:41:39 -05:00
ArEnScandCrossPr0duct 7965afd96c Feature/live drawing (#436)
Co-authored-by: CrossPr0duct <alicextensor@gmail.com>
2025-03-01 15:27:06 -05:00
BFlat 17dd093a23 model selection modal with signals, dummy data and dummy download progress (#435) 2025-03-01 11:39:42 -05:00
BFlat 989d36dc6c loading indicator signals (#434)
added signals for the loading indicator
2025-03-01 18:07:40 +07:00
BFlat d23199c046 added loading bar (dev only) (#433) 2025-02-27 23:48:58 +07:00
CrossPr0duct 5d9358103c Brush Size added in. 2025-02-26 20:29:22 -05:00
CrossPr0duct c36bfeb47c Merge branch 'main' of github.com:storytold/storyteller-rust 2025-02-26 19:25:46 -05:00
CrossPr0duct ad289122e0 Add Copy Canvas. 2025-02-26 19:25:15 -05:00
Tanish Manku 35a8920db8 Show context menu at right click position (#432) 2025-02-26 15:39:47 -08:00
Tanish Manku 701d84602f Add an eyedrop to all color pickers (#431) 2025-02-26 15:39:34 -08:00
CrossPr0duct 1d2a52556d Remove loading bar in context menu 2025-02-26 14:16:08 -05:00
bflatastic af44de74bc text prompt area to force blur on outside click 2025-02-26 23:17:15 +07:00