Commit Graph

84 Commits

Author SHA1 Message Date
RossAscends
bd7c0463f3 WIP half-fix for group VN mode + movingUI 2023-07-19 21:26:28 +09:00
kingbri
1f1af8e631 Expressions: Fix fade transitions for groups
See previous commit. Same absolute positioning applies with group
mode sprites.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-10 23:23:16 -04:00
kingbri
e5fab05309 Expressions: Fix sprite fade on mobile
Absolute positioning was causing an issue on both mobile and PC in
terms of expression image sizing. Dynamically set image width and
height along with fixing absolute position anchors.

This is not a fix for groups.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-10 23:23:15 -04:00
Cohee
57ee954ad5 Animate VN mode expression changes 2023-07-07 19:09:53 +03:00
RossAscends
0d5cdcd0b1 HR betwn WI Entries; fading for solo sprites 2023-07-07 23:12:31 +09:00
RossAscends
3426f80656 Impervious MovingUI 2023-07-04 23:00:10 +09:00
Cohee
c18008725d Fix group VN mode 2023-06-28 16:39:37 +03:00
Cohee1207
f06ca28bbf Reduce console spam on expressions 2023-06-28 15:55:53 +03:00
kingbri
346d5cfb3a Author's Notes: Add per-character author's note
Adds the option to override the chat's author's note with one set
for each character. This saves the pain of having to copy and paste
author's notes for every chat.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-14 23:00:28 -04:00
Cohee
e1dd0e8899 Consolidate expressions plugin name 2023-06-08 18:36:36 +03:00
Cohee
7532882c35 Fix waifu stacking logic 2023-06-07 00:22:34 +03:00
Cohee
c7054770df Fix mobile group waifu mode 2023-06-07 00:07:17 +03:00
Cohee
645397e355 #442 Auto-classify backgrounds based on chat context. Add string fuzzy matching library. 2023-06-06 15:06:21 +03:00
Cohee
1ba8b5b3ed Fix major slowdown in groups without sprites. Remove error handler after it's been fired 2023-06-04 22:19:05 +03:00
Cohee
8ffc4e6d51 Fix VN mode on groups where character is not found in the list. 2023-06-04 21:54:06 +03:00
RossAscends
0a65e36d1c fix for expression image grid button styles 2023-06-05 03:32:24 +09:00
Cohee
c5d51fcd3c Fix a couple of issues with Group VN & overrides 2023-06-04 20:52:34 +03:00
Cohee
446b3a4f05 Account overrides for group chats and VN mode 2023-06-04 17:27:09 +03:00
Cohee
d5e75d7c7b Merge pull request #443 from bdashore3/dev
Expressions: Add sprite aliasing for chats
2023-06-04 16:50:01 +03:00
Cohee
3cfec828ef Draggable VN sprites. Fix layering 2023-06-04 16:32:45 +03:00
Cohee
a273fcb593 Adjust VN mode width overlap calculations 2023-06-04 15:33:28 +03:00
Cohee
4935a8e46b Force flush VN wrapper on waifu mode change 2023-06-04 14:37:21 +03:00
kingbri
cf2660074d Expressions: Add sprite aliasing for single chats
Duplicate characters get handled by the system, so why not sprites?
If a sprite is duplicated, users can specify the folder name that
the changed sprites are located in.

This commit only adds support for single person chats and breaks
compatibility with group chats. Another commit is required to fix
group sprite functionality.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-03 21:51:29 -04:00
Cohee
cccca22601 Handle offline expressions for VN mode. Don't add blocks without sprites. Force empty block on chat change. 2023-06-04 00:42:16 +03:00
Cohee
faa097fabd Multiple expressions per group in waifu mode 2023-06-03 22:17:25 +03:00
kingbri
36ea41f0a6 Extras: Add API authentication support
An API key is extremely important for ST-Extras servers that are
exposed to the internet.

Add an API key field below where the user enters the extras URL. For
convenience, this key is persisted whenever the user refreshes the
page.

Also modify the fetch requests to always include API keys if present.

See ST-Extras for more information on how this works.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-03 00:00:38 -04:00
SillyLossy
745ceb0f31 Update links to organization repo 2023-06-02 21:01:26 +03:00
SillyLossy
13d012a3a2 Reduce console logs clutter 2023-06-01 01:02:51 +03:00
SillyLossy
ef90c31643 Add slash command for dice rolls. Create class for worker wrappers 2023-05-31 13:57:08 +03:00
SillyLossy
584394ded0 Upload sprites as ZIP archive 2023-05-29 02:28:09 +03:00
SillyLossy
602bceb26e Upload or delete a sprite image. 2023-05-29 01:17:52 +03:00
SillyLossy
437cf59a48 Add more options to SD plugin 2023-05-03 23:49:57 +03:00
Cohee1207
1c92fb4b00 Adjust update intervals of some extensions 2023-05-03 14:03:57 +03:00
SillyLossy
6f47b07063 Add group member defs peeking 2023-05-01 19:39:18 +03:00
SillyLossy
6615d94051 Rename character as a group member.
Unify CSRF headers usage in fetch request.
2023-04-30 22:36:18 +03:00
RossAscends
0cc4a5f736 fix for waifumode default expressions on mobile 2023-04-26 04:14:05 +09:00
RossAscends
42cc69c3ed prevent default sprites from expanding over 120px 2023-04-25 19:30:50 +09:00
SillyLossy
99d924bb2b Merge branch 'main' into dev.
Reformat all notes
2023-04-22 23:00:08 +03:00
SillyLossy
f11305367d Reduce console spam 2023-04-22 22:34:07 +03:00
RossAscends
dfe3801f79 expressions only flex center on waifu mode,
otherwise sit in left margin
2023-04-22 03:28:00 +09:00
RossAscends
b47b13b7ba fixed waifu mode expression centering for PC 2023-04-22 03:20:25 +09:00
RossAscends
7f171466c9 - fix expressions and sheld z-index
- imperfect fix to PC waifu mode expression holder positioning
2023-04-21 18:05:22 +09:00
SillyLossy
35f669d7e9 Fix hint on expressions 2023-04-20 21:42:22 +03:00
SillyLossy
9360e65606 Reload expressions list on connecting to API 2023-04-20 21:16:58 +03:00
SillyLossy
330a8cd1d6 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-04-20 20:27:48 +03:00
SillyLossy
59284a5436 New validation logic of expression images 2023-04-20 20:26:32 +03:00
RossAscends
03b3fc9fc1 - added edit message auto saving
- toggle in PowerUser settings
- removed consolelog spam from RA-mods and expressions
2023-04-21 02:14:16 +09:00
RossAscends
4b54193d3f - smarter expression display
- only show after expression is set.
2023-04-20 05:02:02 +09:00
RossAscends
4df04f3b3f added <base> tag to HTML
added observer to wait for expressions before enabling drag
2023-04-19 22:58:59 +09:00
RossAscends
f1f80812fb normal mode expression-holder no longer in front of sheld 2023-04-19 19:38:06 +09:00