Commit Graph

717 Commits

Author SHA1 Message Date
kwaroran
46505b8a2d [fix] send message double time by enter when input's composition is not end (#167)
# PR Checklist
- [v] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [v] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [NO] Did you added a type def?

# Description
### Bug 
send message double time by enter when writing korean. 
This issue occurs when input's composition is not end. 


https://github.com/kwaroran/RisuAI/assets/60877502/758b3168-d63c-4b64-8ca0-6a5afefad749



### fix
block send message when event is composing.
2023-06-09 09:58:54 +09:00
namda-on
38cbb8a103 fix : send message double time when writing korean
block send message when event is composing
2023-06-08 16:05:39 +09:00
kwaroran
e0e139e4ed Update to 1.24.2 (#166)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description
2023-06-08 09:03:02 +09:00
kwaroran
f06a982db2 bump version to 1.24.2 2023-06-08 09:02:24 +09:00
kwaroran
3f4b50047d [feat] added nsfw toggle, sorting option to realm 2023-06-08 09:01:37 +09:00
kwaroran
c5600dfd37 Merge branch 'dev' of https://github.com/kwaroran/RisuAI-release into dev 2023-06-08 08:49:16 +09:00
kwaroran
334b1c8a5a [feat][experimental] Add auto-translate input message, [fix] Apply markdown to AutoSuggest (#163)
# PR Checklist
- [ O ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ O ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ O ] Did you added a type def?

# Description

- This commit adds new entries in the language files and UI support for
auto-translate messages.

- The new feature uses a textarea input field to translate messages as
they are typed, and the translated text is shown in a new field. Also,
the language settings now provide an option to enable/disable auto
message translation.

- The code changes include adding a new function to update the input
sizes for both input fields and some minor code refactoring to support
new functionality.

- This commit adds the import for the ParseMarkdown function from the
parser module required for translating messages in the Suggestion chat
screen.
- The code changes also include adding a check for the translator
variable in the button toggle handling to avoid unwanted button display.
Lastly, the commit updates the template for rendering translated suggest
messages.
- Improve user prompt for AutoSuggest


![ani](https://github.com/kwaroran/RisuAI/assets/11344967/459896d4-b99d-4f23-9b18-cd9fc8e677eb)
2023-06-08 08:34:15 +09:00
kwaroran
27f935eef7 Merge branch 'dev' into autotranslateinput 2023-06-08 08:34:08 +09:00
kwaroran
4d83da91d2 Update cn.ts (#165)
# PR Checklist
- [YES] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [YES] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [NO] Did you added a type def?

# Description
2023-06-08 08:32:37 +09:00
Decikingship
dbebc58362 Update cn.ts
Update cn.ts
2023-06-07 14:44:23 +08:00
kwaroran
f45aa9dc9c [fix] removal 2023-06-07 14:56:19 +09:00
kwaroran
37bd8a9988 Update to 1.24.1 (#164)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description
2023-06-07 09:49:34 +09:00
kwaroran
37fb6c3071 conflict fix 2023-06-07 09:48:42 +09:00
kwaroran
833310ba83 bump version to 1.24.1 2023-06-07 09:48:11 +09:00
kwaroran
8829a90774 [feat] better supamemory 2 2023-06-07 09:47:27 +09:00
kwaroran
b211b256c2 [feat] better supamemory 2023-06-07 09:46:23 +09:00
kwaroran
a92e4235c9 [rm] removed novellist from menu, dude to not working 2023-06-07 09:23:59 +09:00
kwaroran
9974ff0df1 [refactor] transformer tokenizer 2023-06-07 09:23:29 +09:00
kwaroran
b631da7e72 [fix] unstringlize novellist 2023-06-07 09:00:21 +09:00
kwaroran
f37ae13d83 [feat] novellist api 2023-06-07 08:57:42 +09:00
LL
108fccbcb6 [fix]: Apply markdown for auto suggest, improve suggestion quality
This commit adds the import for the ParseMarkdown function from the parser module required for translating messages in the Suggestion chat screen.
The code changes also include adding a check for the translator variable in the button toggle handling to avoid unwanted button display. Lastly, the commit updates the template for rendering translated suggest messages.
2023-06-06 18:39:49 +09:00
LL
89dc9c8c80 [feat][experimental] Add auto-translate input message functionality and language support in chat panel and settings
This commit adds new entries in the language files and UI support for auto-translate messages.

The new feature uses a textarea input field to translate messages as they are typed, and the translated text is shown in a new field. Also, the language settings now provide an option to enable/disable auto message translation.

The code changes include adding a new function to update the input sizes for both input fields and some minor code refactoring to support new functionality.
2023-06-06 18:37:19 +09:00
kwaroran
e913a641fa [UI/UX] Add copy chat message feature in Chat panel and enable usage in 'use chat copy' setting. (#162)
# PR Checklist
- [ - ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ O ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ O ] Did you added a type def?

# Description

- Added 'copied' string to language translation in multiple translations
file.
- Added 'CopyIcon' to svelte import.
- Defined a new status message variable in Chat.svelte.
- Created a new function 'setStatusMessage' to display the current
panel's state after certain action.
- Added a new setting 'useChatCopy' in 'DisplaySettings.svelte'.
- Created a checkbox with label 'useChatCopy' to toggle the Chat message
copy.
- Integrated Clipboard API in Chat code to handle chat message copy via
button click.
2023-06-06 15:01:00 +09:00
LL
54c6a9ef9c Add copy chat message feature in Chat panel and enable usage in 'use chat copy' setting.
- Added 'copied' string to language translation in multiple translations file.
- Added 'CopyIcon' to svelte import.
- Defined a new status message variable in Chat.svelte.
- Created a new function 'setStatusMessage' to display the current panel's state after certain action.
- Added a new setting 'useChatCopy' in 'DisplaySettings.svelte'.
- Created a checkbox with label 'useChatCopy' to toggle the Chat message copy.
- Integrated Clipboard API in Chat code to handle chat message copy via button click.
2023-06-06 12:36:37 +09:00
kwaroran
257340983b Update to 1.24.0 (#161)
# PR Checklist
- [X] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [X] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [X] Did you added a type def?

# Description
Update to 1.24.0
2023-06-06 09:33:45 +09:00
kwaroran
f771fe3890 bump version to 1.24.0 2023-06-06 09:28:18 +09:00
kwaroran
0f844c118f [feat] claude simple settings 2023-06-06 09:26:06 +09:00
kwaroran
b8ed9fd1ec [feat] claude support 2023-06-06 09:19:57 +09:00
kwaroran
eac4f56213 [refactor] backgroundDom 2023-06-06 07:27:18 +09:00
kwaroran
9435675b26 [fix] sanitize src fix 2023-06-06 07:21:52 +09:00
kwaroran
35707ecc46 [feat] sanitize performace 2023-06-06 07:19:18 +09:00
kwaroran
0ff767e454 [feat] added background embedding 2023-06-06 07:17:19 +09:00
kwaroran
33ce7a7254 update Chinese translation to make it more precise (#160) 2023-06-06 05:30:36 +09:00
Decikingship
12d6cc4b2b update Chinese translation to make it more precise 2023-06-05 12:39:13 +08:00
Decikingship
1341f2c61e update Chinese translation to make it more precise 2023-06-05 11:43:17 +08:00
Decikingship
303d8fa6f1 update Chinese translation to make it more precise 2023-06-05 11:37:27 +08:00
kwaroran
e7f3ba8492 Update to 1.23.3 (#158)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description
2023-06-05 08:45:06 +09:00
kwaroran
511adcb720 bump version to 1.23.3 2023-06-05 08:41:54 +09:00
kwaroran
a61bf24e36 [feat] tag visible in realm 2023-06-05 08:40:47 +09:00
kwaroran
631635f7a7 [feat] added mail icon 2023-06-05 08:26:28 +09:00
kwaroran
b6afed33d3 [fix] realm ui 2 2023-06-05 06:16:29 +09:00
kwaroran
9e8b73be62 [fix] realm ui 2023-06-05 06:16:02 +09:00
kwaroran
c18779654b [fix] hub page button not showing/working (#157)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description
2023-06-05 02:24:30 +09:00
kwaroran
b2a7861364 [fix] hub page button not showing/working 2023-06-05 02:24:07 +09:00
kwaroran
59c275aa56 Update to 1.23.2 (#156)
# PR Checklist
- [X] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [X] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [X] Did you added a type def?

# Description
2023-06-05 02:19:43 +09:00
kwaroran
1c672a13af [feat] added hub pages 2023-06-05 02:19:13 +09:00
kwaroran
64f548515f bump version to 1.23.2 2023-06-05 02:10:36 +09:00
kwaroran
ab9d75abc2 [feat] chinese selection 2023-06-05 02:05:26 +09:00
kwaroran
4ca990a39b Merge from main (#155)
# PR Checklist
- [X] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ X Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [X] Did you added a type def?

# Description
Merge from main
2023-06-05 02:01:23 +09:00
kwaroran
37522750b5 add support for zh-CN (#154)
# PR Checklist
- [YES] Did you check if it works normally in all models? *ignore this
when it doesn't use models*
- [YES] Did you check if it works normally in all the web, local, and
node-hosted versions? if it doesn't, did you block it in those versions?
- [NO] Did you add a type def?

# Description
Simply added translation for zh-CN (Simplified Chinese)
2023-06-05 02:00:09 +09:00