add example for installing FPF plugin components that aren't published to NPM
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với các ví dụ về slot trong README và phương pháp build-contexts được tham chiếu từ openedx-ai-extensions/tutor/openedx_ai_extensions/plugin.py at line 32. Ghi lại một ví dụ cho thấy cách sử dụng các slot FPF khi mã frontend không được phát hành lên NPM, đồng thời đảm bảo ví dụ phản ánh giải pháp build-contexts hiện có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 4
- Merge trung bình
- 3 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 8
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openedx/sample-plugin
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
openedx/sample-plugin#46 · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
openedx/sample-plugin#65 ·
-
Add logos, etc. to brand-sample Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
openedx/sample-plugin#51 · 1 bình luận ·
-
Add fonts to brand-sample Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
openedx/sample-plugin#50 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
openedx/sample-plugin#33 ·
Tất cả issue của openedx/sample-plugin
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
anthropics/skills#1811 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
speaches-ai/speaches#678 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
datalayer/mcp-compose#42 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
conda-forge/spacy-feedstock#177 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
UKGovernmentBEIS/inspect_evals#2523 ·