feat: improve HypaV3 (#727)
# PR Checklist - [x] Have you checked if it works normally in all models? *Ignore this if it doesn't use models.* - [x] Have you checked if it works normally in all web, local, and node hosted versions? If it doesn't, have you blocked it in those versions? - [x] Have you added type definitions? # Description - fix: handle null case for firstMessage in HypaV3 modal - fix: resolve mobile dual-action translation in HypaV3 modal - Implements shift+click (desktop) and double tap (mobile) for regenerating translations while maintaining regular click/tap for cached translations. - feat: add auto-scroll to translations in HypaV3 modal - feat: add settings button to HypaV3 modal header - feat: add cut-after button in HypaV3 summary header - feat: add HypaV2 to V3 conversion in HypaV3 modal - feat: add process regex script option in HypaV3 modal - when enabled, reroll function will process regex script. - fix: improve HypaV3 modal responsive for mobile - feat: add search button in HypaV3 modal
This commit is contained in:
@@ -477,7 +477,8 @@ export function setDatabase(data:Database){
|
||||
recentMemoryRatio: data.hypaV3Settings?.recentMemoryRatio ?? 0.4,
|
||||
similarMemoryRatio: data.hypaV3Settings?.similarMemoryRatio ?? 0.4,
|
||||
enableSimilarityCorrection: data.hypaV3Settings?.enableSimilarityCorrection ?? false,
|
||||
preserveOrphanedMemory: data.hypaV3Settings?.preserveOrphanedMemory ?? false
|
||||
preserveOrphanedMemory: data.hypaV3Settings?.preserveOrphanedMemory ?? false,
|
||||
processRegexScript: data.hypaV3Settings?.processRegexScript ?? false
|
||||
}
|
||||
changeLanguage(data.language)
|
||||
setDatabaseLite(data)
|
||||
@@ -890,6 +891,7 @@ export interface Database{
|
||||
similarMemoryRatio: number
|
||||
enableSimilarityCorrection: boolean
|
||||
preserveOrphanedMemory: boolean
|
||||
processRegexScript: boolean
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user