Made copy button and cmd+c work for cmd+v and cmd+shift+v (#3693)

* Made copy button and cmd+c work for cmd+v and cmd+shift+v

* made sub selections work as well

* ok it works

* fixed npm run build

* im not from earth

* added logging

* more logging

* bye logs

* should work now

* whoops

* added stuff

* made it robust

* ctrl shift v behavior
This commit is contained in:
hagen-danswer
2025-01-18 10:34:32 -08:00
committed by GitHub
parent af953ff8a3
commit da43abe644
7 changed files with 3347 additions and 24 deletions

11
web/jest.config.js Normal file
View File

@@ -0,0 +1,11 @@
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
moduleNameMapper: {
"^@/(.*)$": "<rootDir>/src/$1",
},
testPathIgnorePatterns: ["/node_modules/", "/tests/e2e/"],
transform: {
"^.+\\.tsx?$": "ts-jest",
},
};