198 Commits

Author SHA1 Message Date
vfbd
ddc9be00d6 Attempt to fix issue where | appears in editor after pressing enter 2022-09-26 13:57:44 -04:00
vfbd
c336a43544 Fix some remaining editor whitespace-fixing issues 2022-07-01 13:45:57 -04:00
vfbd
c3eade8046 Fix editor bug in iOS when adding newline at end of the last action
Not only does iOS also have that issue that Chromium-based browsers
have, but it also has a different issue where it selects all text in the
last chunk of your story, so I added some code to deselect the text in
that case.
2022-07-01 13:12:57 -04:00
vfbd
1ff0a4b9a9 Submit button now waits for inlineedit/inlinedelete commands 2022-06-30 12:23:06 -04:00
vfbd
cccf8296fc Fix enter key sometimes putting two newlines in editor
This happens when, in a Chromium-based browser, you try to insert a
newline at the end of the last action of your story.
2022-06-30 12:03:39 -04:00
vfbd
ce5f4d3dda Click on blank part of editor to defocus in Chromium based browsers
In Chromium based browsers you can now click the blank part of the
editor to submit changes. This is to maintain consistency with the
editor behaviour in Firefox which already did this when you clicked on
the blank part of the editor.
2022-06-30 11:31:54 -04:00
vfbd
accbaea991 Fix a problem where a story with only the prompt cannot be edited 2022-06-30 11:08:22 -04:00
vfbd
d55b4d9bbc Fix the cleanupChunkWhitespace function 2022-06-28 12:18:57 -04:00
vfbd
6576f5c01d Make sure editor changes are applied before submitting
(cherry picked from commit ae41ad298cc54a1ef9972cef57dd25455b07f9fe)
2022-06-26 14:06:57 -04:00
vfbd
9d09ae5fea Clean up whitespace in the editor as well
(cherry picked from commit 6e138db1c0be03768e1c1297668260614011b9e1)
2022-06-26 14:05:04 -04:00
vfbd
e30abd209f Preserve whitespace in the editor
(cherry picked from commit 793d788706a7a35adb53fb0d22c6b629a9c1d215)
2022-06-26 14:04:16 -04:00
Gnome Ann
6231106f95 Add Samplers menu 2022-06-13 20:18:09 -04:00
Gnome Ann
fdb2a7fa4c Top-A sampling 2022-06-10 22:28:20 -04:00
Gnome Ann
ce4a785449 Allow clicking on userscripts to enable/disable them (mobile friendly) 2022-06-05 21:06:09 -04:00
Gnome Ann
b9c6c0b3bd Out-of-bounds setting values are now shown in red 2022-05-28 19:14:26 -04:00
Gnome Ann
69a28210e9 Don't cap setting values when manually entered by user 2022-05-28 18:33:57 -04:00
Gnome Ann
b1faca3686 Prevent the settings throttle from lagging the sliders 2022-04-26 21:14:44 -04:00
Henk
9cff8268b5 Lower slider latency for now 2022-04-27 00:53:55 +02:00
Gnome Ann
02e4e6be1e Fix author's note slider 2022-04-26 17:29:18 -04:00
Gnome Ann
ee8ced2f5f Allow users to type in the values for the settings 2022-04-26 15:27:28 -04:00
Gnome Ann
c7b03398f6 Merge 'nolialsea/patch-1' into settings without Colab changes 2022-04-17 12:15:36 -04:00
henk717
9ac47f6f54
Merge branch 'KoboldAI:main' into united 2022-04-10 09:05:31 +02:00
Henk
b3fea7f526 Fix Android Keyboards 2022-04-10 09:04:31 +02:00
Gnome Ann
20e48b11d7 Typical sampling 2022-03-27 16:25:50 -04:00
Noli
076c6c8efa update slider value without waiting for socketio 2022-03-25 22:18:00 +01:00
Noli
72b74d9ab6 fix tabs 2022-03-25 20:46:08 +01:00
Noli
6aaa8d026f semicolon 2022-03-25 20:44:41 +01:00
Noli
8270d92073 fix wrong this scope 2022-03-25 20:44:25 +01:00
Noli
6ed50ee1e9 make the throttle timer a dict to keep track of which slider has been changed 2022-03-25 20:37:45 +01:00
nolialsea
1de4944d46
Add throttle closure for settings sliders
Adds a throttling closure to add a waiting time before calling a callback,
Uses this closure to throttle the event fired by socketio on slider value change
2022-03-25 20:08:56 +01:00
henk717
cf99f02ca5 Merge branch 'main' into united 2022-03-20 19:22:53 +01:00
henk717
20eab085dd Fix AutoSave Toggle 2022-03-20 19:12:11 +01:00
henk717
e033b04f87 Restore United 2022-03-02 11:40:50 +01:00
Gnome Ann
d8e99b12f1 Re-enable the editor mutation observer 2022-02-28 19:00:26 -05:00
ebolam
cd00373cfb Deleted unused svg 2022-02-10 09:21:07 -05:00
ebolam
0684a221cd Changed pin icon for re-dos to be a circular arrow that is not clickable to make it clear it is a redo action and cannot be cleared. 2022-02-03 08:08:43 -05:00
Ben Fox
e2d2ebcae6 upstream merge 2022-02-02 15:04:59 -05:00
henk717
ecd7b328ec Further Polishing
Multiple smaller changes to get 1.17 in shape for its release.
2022-02-01 11:15:44 +01:00
ebolam
b0f1bdf2fd
Merge branch 'henk717:united' into united 2022-01-26 11:27:12 -05:00
Gnome Ann
3f18888eec Repetition penalty slope and range 2022-01-24 15:30:38 -05:00
ebolam
a0100ff3cc Fixed error with redo action when a list of options is on screen sometimes causing the list to disappear entirely. 2022-01-24 15:15:45 -05:00
ebolam
bd0732fbd6 Fix for redo with options.
Added debug menu
2022-01-24 12:54:44 -05:00
ebolam
bdd358f40f Merge branch 'united' of https://github.com/henk717/KoboldAI into henk717-united 2022-01-22 17:57:33 -05:00
jojorne
47dbddff78
Display the options text as A.I. writes it
When using `Gens Per Action`, display the options text as A.I. writes it. White space are preserved and break lines as necessary.
2022-01-22 17:10:35 -03:00
ebolam
8e2fab8eb0 whops. Missed a } 2022-01-22 08:48:32 -05:00
ebolam
2010e7b9bc Added saveas option for saving without metadata information
Fixed redo on an empty story erroring
Fixed redo when you're at the current end of a chain causing an error
2022-01-21 19:02:56 -05:00
ebolam
d31fb278ce Working redo and pin options 2022-01-21 15:30:37 -05:00
ebolam
c9a99adde8
Add files via upload 2022-01-21 07:41:04 -05:00
Gnome Ann
3018322963 Detect and show properly when story is unsaved 2022-01-18 17:20:45 -05:00
Gnome Ann
1951ccd2ce Show author and SP length in soft prompt menu 2022-01-18 16:30:09 -05:00