Fabric
Fabric copied to clipboard
[Feature request]: PROPOSED WEB UI ENHANCEMENTS - SEE VIDEO : Pattern descriptions, favorites, etc.
What do you need?
Hello I've made several improvements to the web ui in my own repo:
- Pattern window scrollable
- Pattern descriptions ( 1-2 sentences per pattern)
- Pattern list modal
- Pattern favorite list
- Populate the pattern in the drop down selector directly from the modal.
If there's interest I'll submit for consideration. Thanks, Jean
https://github.com/user-attachments/assets/5f5b256a-70e5-4e9c-8b68-6b6b6b0d1096
I like what you've done with the pattern selection. If you have time to chat at some point I'd like to discuss further enhancements
@johnconnor-sec Hi John, don't hesitate to ping me. I just proposed these changes + a few others as a pull request. Cheers. Jean
Great additions, thank you. Look forward to checking once merged.
It's now merged.
Tu use, update to the latest release. Make sure you see the fabric/web folder. If not, clone repo from parent directory and run: go install github.com/danielmiessler/fabric@latest from the fabric folder.
Install the web dependencies (if not already installed) cd web npm install npx svelte-kit sync
Then proceed with your pdf-to-markdown installation: If you want this addon. cd web
Install in this sequence: Step 1: npm install -D patch-package Step 2: npm install -D [email protected] Step 3: npm install -D github:jzillmann/pdf-to-markdown#modularize
@jmd1010 I tried bringing up the UI and running it. I'm getting this on every/any pattern:
2025/03/17 14:34:37 Received chat request with 1 prompts
2025/03/17 14:34:37 Processing prompt 1: Model= Pattern=ai Context=
2025/03/17 14:34:38 Error from chatter.Send: error, status code: 400, status: 400 Bad Request, message: Invalid value for 'content': expected a string, got null.
[GIN] 2025/03/17 - 14:34:38 | 200 | 351.905667ms | ::1 | POST "/chat"
Closing this old issue. Thank you for your UI contribution, @jmd1010 !