Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

add example for installing FPF plugin components that aren't published to NPM

Open
#12 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
Half a day
Newbie friendliness
52/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

Start with the README slot examples and the build-contexts approach referenced from openedx-ai-extensions/tutor/openedx_ai_extensions/plugin.py at line 32. Document an example showing how to use FPF slots when frontend code is not published to NPM, and ensure the example reflects the existing build-contexts solution.

Written by the indexing model from the issue text.

Description

I had a conversation with Felipe where he asked:

Do you know of any tutor plugin that loads the code of a UIslot without requiring that the code is first published to NPM?

I didn't know any examples. The README examples for the slots all use inline RenderWidget code, and the other examples use NPM packages.

The solution used for openedx-ai-extensions ended up being Tutor's build-contexts.

https://github.com/openedx/openedx-ai-extensions/blob/main/tutor/openedx_ai_extensions/plugin.py#L32


I definitely think "make a plugin that utilizes FPF slots but doesn't have frontend code published to NPM" is a reasonable use case that we should (and apparently already do) support, so it'd be great to document that.

Dominant language
Python
Stars
1
Forks
4
Avg merge
3d 1h
Merged PRs (30d)
8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openedx/sample-plugin

All issues in openedx/sample-plugin

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.