Skip to content

Commit

Permalink
chore: remove UnitTranslationPlugin (#1352)
Browse files Browse the repository at this point in the history
* chore: remove UnitTranslationPlugin

* chore: add plugin slot for sequence
  • Loading branch information
leangseu-edx authored Apr 22, 2024
1 parent 75f56ea commit 72381a7
Show file tree
Hide file tree
Showing 36 changed files with 9 additions and 1,937 deletions.
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
NODE_ENV='production'

ACCESS_TOKEN_COOKIE_NAME=''
AI_TRANSLATIONS_URL=''
BASE_URL=''
CONTACT_URL=''
CREDENTIALS_BASE_URL=''
Expand Down
1 change: 0 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
NODE_ENV='development'

ACCESS_TOKEN_COOKIE_NAME='edx-jwt-cookie-header-payload'
AI_TRANSLATIONS_URL='http://localhost:18760'
BASE_URL='http://localhost:2000'
CONTACT_URL='http://localhost:18000/contact'
CREDENTIALS_BASE_URL='http://localhost:18150'
Expand Down
1 change: 0 additions & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
NODE_ENV='test'

ACCESS_TOKEN_COOKIE_NAME='edx-jwt-cookie-header-payload'
AI_TRANSLATIONS_URL='http://localhost:18760'
BASE_URL='http://localhost:2000'
CONTACT_URL='http://localhost:18000/contact'
CREDENTIALS_BASE_URL='http://localhost:18150'
Expand Down
2 changes: 1 addition & 1 deletion example.env.config.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import UnitTranslationPlugin from '@plugins/UnitTranslationPlugin';
import UnitTranslationPlugin from '@edx/unit-translation-selector-plugin';
import { PLUGIN_OPERATIONS, DIRECT_PLUGIN } from '@openedx/frontend-plugin-framework';

// Load environment variables from .env file
Expand Down
1 change: 0 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const config = createConfig('jest', {
// See https://stackoverflow.com/questions/72382316/jest-encountered-an-unexpected-token-react-markdown
'react-markdown': '<rootDir>/node_modules/react-markdown/react-markdown.min.js',
'@src/(.*)': '<rootDir>/src/$1',
'@plugins/(.*)': '<rootDir>/plugins/$1',
},
testTimeout: 30000,
globalSetup: "./global-setup.js",
Expand Down
17 changes: 0 additions & 17 deletions plugins/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions plugins/UnitTranslationPlugin/__snapshots__/index.test.jsx.snap

This file was deleted.

90 changes: 0 additions & 90 deletions plugins/UnitTranslationPlugin/data/api.js

This file was deleted.

125 changes: 0 additions & 125 deletions plugins/UnitTranslationPlugin/data/api.test.js

This file was deleted.

Loading

0 comments on commit 72381a7

Please sign in to comment.