Commit Graph

171 Commits

Author SHA1 Message Date
c336a43544 Fix some remaining editor whitespace-fixing issues 2022-07-01 13:45:57 -04:00
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
1ff0a4b9a9 Submit button now waits for inlineedit/inlinedelete commands 2022-06-30 12:23:06 -04:00
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
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
accbaea991 Fix a problem where a story with only the prompt cannot be edited 2022-06-30 11:08:22 -04:00
d55b4d9bbc Fix the cleanupChunkWhitespace function 2022-06-28 12:18:57 -04:00
6576f5c01d Make sure editor changes are applied before submitting
(cherry picked from commit ae41ad298c)
2022-06-26 14:06:57 -04:00
9d09ae5fea Clean up whitespace in the editor as well
(cherry picked from commit 6e138db1c0)
2022-06-26 14:05:04 -04:00
6231106f95 Add Samplers menu 2022-06-13 20:18:09 -04:00
fdb2a7fa4c Top-A sampling 2022-06-10 22:28:20 -04:00
ce4a785449 Allow clicking on userscripts to enable/disable them (mobile friendly) 2022-06-05 21:06:09 -04:00
b9c6c0b3bd Out-of-bounds setting values are now shown in red 2022-05-28 19:14:26 -04:00
69a28210e9 Don't cap setting values when manually entered by user 2022-05-28 18:33:57 -04:00
b1faca3686 Prevent the settings throttle from lagging the sliders 2022-04-26 21:14:44 -04:00
9cff8268b5 Lower slider latency for now 2022-04-27 00:53:55 +02:00
02e4e6be1e Fix author's note slider 2022-04-26 17:29:18 -04:00
ee8ced2f5f Allow users to type in the values for the settings 2022-04-26 15:27:28 -04:00
c7b03398f6 Merge 'nolialsea/patch-1' into settings without Colab changes 2022-04-17 12:15:36 -04:00
9ac47f6f54 Merge branch 'KoboldAI:main' into united 2022-04-10 09:05:31 +02:00
b3fea7f526 Fix Android Keyboards 2022-04-10 09:04:31 +02:00
20e48b11d7 Typical sampling 2022-03-27 16:25:50 -04:00
076c6c8efa update slider value without waiting for socketio 2022-03-25 22:18:00 +01:00
72b74d9ab6 fix tabs 2022-03-25 20:46:08 +01:00
6aaa8d026f semicolon 2022-03-25 20:44:41 +01:00
8270d92073 fix wrong this scope 2022-03-25 20:44:25 +01:00
6ed50ee1e9 make the throttle timer a dict to keep track of which slider has been changed 2022-03-25 20:37:45 +01:00
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
cf99f02ca5 Merge branch 'main' into united 2022-03-20 19:22:53 +01:00
20eab085dd Fix AutoSave Toggle 2022-03-20 19:12:11 +01:00
e033b04f87 Restore United 2022-03-02 11:40:50 +01:00
d8e99b12f1 Re-enable the editor mutation observer 2022-02-28 19:00:26 -05:00
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
b0f1bdf2fd Merge branch 'henk717:united' into united 2022-01-26 11:27:12 -05:00
3f18888eec Repetition penalty slope and range 2022-01-24 15:30:38 -05:00
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
bd0732fbd6 Fix for redo with options.
Added debug menu
2022-01-24 12:54:44 -05:00
8e2fab8eb0 whops. Missed a } 2022-01-22 08:48:32 -05:00
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
d31fb278ce Working redo and pin options 2022-01-21 15:30:37 -05:00
3018322963 Detect and show properly when story is unsaved 2022-01-18 17:20:45 -05:00
1951ccd2ce Show author and SP length in soft prompt menu 2022-01-18 16:30:09 -05:00
54a587d6a3 Show confirmation dialog when navigating away from UI window 2022-01-17 12:11:06 -05:00
1627afa8c5 Merge branch 'united' into patch 2022-01-17 10:44:34 -05:00
33f9f2dc82 Show message when TPU backend is compiling 2022-01-16 21:09:10 -05:00
03b16ed920 Merge branch 'united' into patch 2022-01-16 00:36:55 -05:00
f4eb896a69 Use original TPU backend if possible 2022-01-15 23:31:07 -05:00
43586c8f60 Fix some of the logic for generation aborting 2022-01-10 17:09:47 -05:00
f718fdf65e Allow pressing send button again to stop generation 2022-01-10 16:36:15 -05:00
2fc0bdfcba Correct a typo in restorePrompt() 2022-01-04 14:41:31 -05:00