nprapps / nprapps/dailygraphics-next
Move to Sidechain for previews
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 72
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
We don't want to transition our live NPR embeds to Sidechain just yet--there are multiple issues to deal with. But it would be beneficial to have a limited domain in which we start to test it, and it would also make the multi-page development setup smoother (because Sidechain listens and reacts to changes for its src attribute. Let's look at using Sidechain just to host the preview for now, as a step toward eventually using it on child pages as well, and then eventually on NPR.org.
Issues to address:
- I don't think we use the Pym Loader extra features, but we should be prepared to shim them.
- The parent page doesn't currently use the JS bundler, so it doesn't have access to Node modules, and we would need that.
- Debugging needs to be solid in a shadow root.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the preview setup and how Sidechain would host it, then investigate the listed Pym Loader compatibility, Node-module bundling, and shadow-root debugging concerns. Done means previews use Sidechain without changing live NPR embeds, with the needed shims, bundler access, and reliable debugging addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100