Repository navigation
feat: seed /public/links.jsonld on first run - #13
Merged
Merged
Conversation
After sign-in, the new /public/ tile on the welcome page used to land the user on an empty container (just an LDP listing of the .acl file). This adds a small JSON-LD doc with a couple of useful outbound links — Pilot (Solid app to use) and a directory of more Solid apps — plus the jspod / JSS source repos. Skip-if-exists, so user customizations to /public/links.jsonld survive jspod restarts. Lives alongside the existing welcome.html overwrite logic; both fire after waitForReady resolves. The data browser renders the file as a cream-card with each URI as a clickable link — the page is the data, the data is the navigation. Bumps jspod to 0.0.15. Refs #1
29 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
After sign-in the new `/public/` tile on the welcome page used to land users on an essentially-empty container (just the LDP listing of `.acl`). This seeds a small JSON-LD doc with outbound links — Pilot, more Solid apps, the jspod source, JSS source — so the tile lands on something useful instead.
Behavior
Test plan
Note on the version bump
While testing, I caught (and added a memory rule about) the pre-publish version-bump footgun: bumping `package.json` ahead of `npm publish` makes `pkg.version` reference a non-existent jsdelivr URL, so the data browser fails to load and the page renders blank. Version is now bumped right before publishing, not as PR prep.
Bumps jspod to 0.0.15.
Refs #1