Commit Graph

93 Commits

Author SHA1 Message Date
94c30837a2 Fix attaching files to permanent assistant from welcome screen 2025-05-21 22:39:49 +03:00
31e2cf714a Permanent assistant autocreation and temporary chat restore 2025-05-12 02:14:54 +03:00
5e31a21d8d Decouple "click to edit" from document mode 2025-05-06 22:02:20 +03:00
7987f02dee Exclude <style> tags from quote and underscore italics processing
Fixes #3808
2025-04-04 13:53:56 +00:00
b31a53ab99 Fix selector 2025-04-01 22:01:12 +03:00
864859dd6b Made attached images clickable — no more fiddling with the spyglass pictogram. Augmented the "Enlarge" button's function to retain it. 2025-04-01 05:35:24 +03:00
1026e1f8e9 Add "name" argument to /hide and /unhide. Add default value for unnamed argument 2025-03-11 23:14:31 +02:00
90cfdebff8 Remove unnecessary markdown icon 2025-03-11 10:39:14 +01:00
0cde7e7a7f Add md hotkey support for expando editor
- When original textarea supports markdown, the textarea of the expanded popup will also have markdown support
- Also add the small markdown icon at the top
2025-03-11 04:42:03 +01:00
b17fdcbfd9 Fix assistant chat export format 2025-02-21 12:46:49 +00:00
d5bdf1cb90 Add settings.json-backed KV string storage
Fixes #3461, #3443
2025-02-11 20:17:48 +02:00
a2cfcd4ca6 feat: Delete image swipes at once or one by one 2025-02-08 22:55:38 +02:00
6aaeb754ef Exportable temporary assistant chats 2025-01-24 00:12:00 +02:00
9be04fd69f Fix <code> tag structure 2025-01-09 20:58:36 +02:00
ba73d278ae Allow zoomed in images be closed by click outside
- Add event listener to close image enlarge popup when clicked outside of image or description
- Change img div to not be width:100% by default, was useless and just confusing when you could click next to the image and it zoomed in
2025-01-09 19:16:48 +01:00
f5bdb52c25 Merge branch 'staging' into webpack 2024-10-26 19:11:29 +03:00
7e9f5b8ee2 Indicate connected textarea for expanded editor 2024-10-21 11:01:55 +03:00
ec4763b0c5 unvendor: Replace popperjs/core 2024-10-17 08:03:58 +00:00
c3f62b8699 unvendor: Replace css-tools 2024-10-17 00:40:11 +03:00
7f9023d3c2 Work on tl 2024-10-01 21:25:20 +07:00
4e907ff3e8 Fix /hide not targeting not visible messages 2024-09-21 23:14:31 +02:00
08f2b73ab8 Preserve neutral chat on reloading with commands (#2848)
* Preserve neutral chat on reloading

* Restore neutral on deleting character with bulk
2024-09-16 00:38:41 +03:00
37bee43075 Allow expanding contenteditables 2024-09-04 03:16:47 +03:00
f7de495321 Chat without character selected (#2757)
* WIP: Enable chatting without character selected

* Add burger menu item

* Neutral assistant chat space

* Revert "Neutral assistant chat space"

This reverts commit be2da4a629.

* Revert "Add burger menu item"

This reverts commit d4e8d990c1.

* Use simple ephemeral chats

* Only start a new assistant chat if not already in it

* Don't emit event not to clear pending files

* Allow edits, disable checkpoints and branches

* Exclude from tags, allow copy

* Allow hide/unhide

* Allow zooming avatar

* Suppress warning

* Rename neutral character

* Rename neutral back to Assistant
2024-09-03 20:36:30 +03:00
542a13a01b More Safari weirdness cope 2024-07-03 22:28:42 +03:00
67d2bb9891 Fix file pasting not working if Firefox 2024-06-30 19:13:13 +03:00
336674b724 Ensure unique files name for pasted images 2024-06-30 01:00:43 +03:00
7149f46c9a Add automatic image captioning mode 2024-06-30 00:06:17 +03:00
7fe329b5cf Allow paste file and images into chat input form 2024-06-29 23:14:55 +03:00
5075534b2e Fix vertical scrolling in data bank 2024-06-27 08:42:23 +00:00
d0f59edf09 Update forbid media and field extend to new popup 2024-06-25 21:24:03 +03:00
7642b66a0e Improve enlarge inline image
- Make enlarge inline image popup zoomable
- Add optional popup class for transparent popups
2024-06-23 12:26:52 +02:00
42766a715d Popup type "DISPLAY" & image enlarge changes
- New popup type "DISPLAY", for showing content with an X in the corner, without buttons
- Rework popup result controls to automatically support click (or other) events to close complete the popup
- Fix inline image icons/actions being keyboard interactable
- Switch inline image enlarge popup to new DISPLAY type
2024-06-23 02:32:06 +02:00
b814ba5b35 Merge branch 'staging' into smol-tag-improvements 2024-06-10 01:45:15 +02:00
230215a211 Bulk enable/disable databank attachments 2024-06-09 19:10:18 +03:00
9318f94f08 Merge branch 'staging' into smol-tag-improvements 2024-06-02 21:07:46 +02:00
89d1bc8341 Drag&Drop handler utility and animation 2024-06-02 05:54:41 +02:00
c939c544e2 Rename popup css classes 2024-05-31 21:59:26 +02:00
886f5adce7 Add /db-enable and /db-disable commands 2024-05-30 22:18:00 +03:00
2c911a3ea2 Add more Data Bank script commands 2024-05-30 14:49:57 +03:00
bc94bcb25c Add data bank management commands 2024-05-30 01:47:33 +03:00
965dac6514 #2296 Add data bank bulk edit 2024-05-27 22:22:21 +03:00
80e104e723 Don't open click to edit in document mode if text selected 2024-05-27 21:50:42 +03:00
66db820c9e Fix external style declaration filtering 2024-05-27 19:55:55 +03:00
62a1919402 Use recursive stylesheet sanitation 2024-05-27 14:28:40 +03:00
99e09f0b91 Improve external media removal in style blocks 2024-05-27 14:28:28 +03:00
2c049e5611 Remove imports from embedded styles 2024-05-27 13:26:24 +03:00
993284f9c1 #2164 Disable-able data bank attachments 2024-04-30 00:06:14 +03:00
fc158ca176 Merge branch 'staging' into staging 2024-04-27 21:49:02 +01:00
5dcfda0514 Cut UI labels. Add expand to custom CSS 2024-04-27 20:02:30 +03:00