Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert "Pages & Resources" page to a plugin system #638

Merged
merged 25 commits into from Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
b15ade4
feat: Make "Pages & Resources" course apps into plugins
bradenmacdonald Oct 13, 2023
371aa1d
feat: move ora_settings
bradenmacdonald Oct 16, 2023
c2fc5c9
feat: move proctoring
bradenmacdonald Oct 16, 2023
e7af283
feat: move progress
bradenmacdonald Oct 16, 2023
447dfbf
feat: move teams
bradenmacdonald Oct 16, 2023
2ccc8cf
feat: move wiki
bradenmacdonald Oct 16, 2023
c81182f
feat: move Xpert settings
bradenmacdonald Oct 17, 2023
d1be807
fix: add webpack.prod.config.js
bradenmacdonald Oct 27, 2023
f89c60a
chore: update with latest changes from master
bradenmacdonald Nov 3, 2023
0a0695b
fix: clean up unused parts of package.json files
bradenmacdonald Nov 3, 2023
48ba65e
feat: Add an error message when displaying a Course App Plugin fails
bradenmacdonald Nov 6, 2023
86b538a
chore: fix various eslint warnings
bradenmacdonald Nov 7, 2023
b385541
chore: fix jest tests
bradenmacdonald Nov 7, 2023
dab1291
chore: update with latest changes from master
bradenmacdonald Nov 7, 2023
6d0481c
fix: error preventing "npm ci" from working
bradenmacdonald Nov 7, 2023
8d26ef2
feat: better tests for <SettingsComponent>
bradenmacdonald Nov 8, 2023
dd45ac1
chore: update with latest master
bradenmacdonald Nov 15, 2023
2ab6b2d
chore: move xpert_unit_summary into same dir as other plugins
bradenmacdonald Nov 15, 2023
7257af9
fix: eslint-import-resolver-webpack is a dev dependency
bradenmacdonald Nov 15, 2023
10d6f3e
chore: update with latest master
bradenmacdonald Dec 14, 2023
3235066
Merge branch 'master' into braden/plugin-test
bradenmacdonald Feb 16, 2024
833845f
chore: move learning_assistant to be a plugin too
bradenmacdonald Feb 16, 2024
d869816
feat: for compatibility, install 2U plugins by default
bradenmacdonald Feb 16, 2024
15ec549
chore: update with latest master
bradenmacdonald Feb 16, 2024
decd291
fix: bug with learning_assistant package.json
bradenmacdonald Feb 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 17 additions & 0 deletions .eslintrc.js
@@ -1,3 +1,4 @@
const path = require('path');
// eslint-disable-next-line import/no-extraneous-dependencies
const { createConfig } = require('@openedx/frontend-build');

Expand All @@ -13,5 +14,21 @@ module.exports = createConfig(
indent: ['error', 2],
'no-restricted-exports': 'off',
},
settings: {
// Import URLs should be resolved using aliases
'import/resolver': {
webpack: {
config: path.resolve(__dirname, 'webpack.dev.config.js'),
},
},
},
overrides: [
{
files: ['plugins/**/*.test.jsx'],
rules: {
'import/no-extraneous-dependencies': 'off',
},
},
],
},
);
1 change: 1 addition & 0 deletions jest.config.js
Expand Up @@ -11,6 +11,7 @@ module.exports = createConfig('jest', {
],
moduleNameMapper: {
'^lodash-es$': 'lodash',
'^CourseAuthoring/(.*)$': '<rootDir>/src/$1',
},
modulePathIgnorePatterns: [
'/src/pages-and-resources/utils.test.jsx',
Expand Down