Fabric icon indicating copy to clipboard operation
Fabric copied to clipboard

[Feature request]: PROPOSED WEB UI ENHANCEMENTS - SEE VIDEO : Pattern descriptions, favorites, etc.

Open jmd1010 opened this issue 9 months ago • 5 comments

What do you need?

Hello I've made several improvements to the web ui in my own repo:

  1. Pattern window scrollable
  2. Pattern descriptions ( 1-2 sentences per pattern)
  3. Pattern list modal
  4. Pattern favorite list
  5. 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

jmd1010 avatar Feb 03 '25 23:02 jmd1010

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 avatar Feb 06 '25 04:02 johnconnor-sec

@johnconnor-sec Hi John, don't hesitate to ping me. I just proposed these changes + a few others as a pull request. Cheers. Jean

jmd1010 avatar Feb 13 '25 02:02 jmd1010

Great additions, thank you. Look forward to checking once merged.

starfish456 avatar Feb 20 '25 03:02 starfish456

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 avatar Mar 01 '25 17:03 jmd1010

@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"

Image

ksylvan avatar Mar 17 '25 21:03 ksylvan

Closing this old issue. Thank you for your UI contribution, @jmd1010 !

ksylvan avatar Jul 06 '25 10:07 ksylvan