Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@ jobs:
- name: Install npm dependencies
run: npm ci

- name: Run linting
run: npm run lint

- name: Run tests
run: npm run test:ci || echo "⚠️ Tests skipped — no workspaces available"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ requirements/private.txt
*.mo
*.pot
*.po

# Node modules
node_modules/
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ Change Log

Unreleased
**********
0.11.0 - 2026-01-26
**********************************************

Added
=====

* Implemented PDF Block, extracted from third party plugin.

0.6.0 – 2025-08-13
**********************************************

Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ These are the XBlocks being moved here, and each of their statuses:
* ``word_cloud`` -- Ready to Use
* ``annotatable`` -- Ready to Use
* ``lti`` -- In Development
* ``pdf`` -- In Development
* ``html`` -- Ready to Use
* ``discussion`` -- Placeholder
* ``problem`` -- In Development
Expand Down
28 changes: 28 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import { defineConfig, globalIgnores } from "eslint/config";


export default defineConfig([
globalIgnores([
// Blocks not yet brought into linting compliance.
"xblocks_contrib/annotatable/",
"xblocks_contrib/discussion/",
"xblocks_contrib/html/",
"xblocks_contrib/lti/",
"xblocks_contrib/poll/",
"xblocks_contrib/problem/",
"xblocks_contrib/video/",
"xblocks_contrib/word_cloud/",
// Other irrelevant files.
"docs/_build/",
"node_modules/",
".venv/",
".tox/",
]),
{
files: ["xblocks_contrib/**/static/**/*.js"],
languageOptions: {sourceType: "script", globals: {...globals.browser, ...globals.jquery}},
},
pluginJs.configs.recommended,
]);
Loading