Commit Graph
14 Commits
Author SHA1 Message Date
.CooCoo 7ef977e883 Build each app's sidebar groups from its pages (#22)
* List the second set of VectorCraft guides in the sidebar

Adds nine guides under Workflows, in the order of the Workflows table, and
the Keyboard shortcuts and Preferences reference pages before
Troubleshooting.

* Build each app's sidebar groups from its pages

The sidebar now lists every page in an app's folder, sorted by
sidebar.order and then by title, with Troubleshooting last. A page with
`parent: <slug>` in its frontmatter is listed under that page. This
replaces the extraGuides and childGuides lists in src/data/apps.mjs.
The previous and next links on app pages follow the same order.

VectorCraft's task guides carry `parent: workflows`. The visual editor
gains Sidebar section and Sidebar order fields, and leaves empty optional
fields out of the frontmatter.
2026-11-08 22:39:10 -05:00
Dylan M. Taylor e90f32766b Authenticate editor commits using Craft Wiki GitHub App 2026-11-08 20:45:13 -05:00
Yarila b44b538ad0 Add segmented navigation to wiki header 2026-11-07 16:51:43 +05:00
SoldierPePe 32ea6b68e3 Group the sidebar's apps by the home page's categories (#8)
* Group the sidebar's apps by the home page's categories

* Keep the Official apps heading over the categories

The categories become smaller sub-headings under OFFICIAL APPS, the way
the home page nests them under The Craft Apps, so the sidebar still
tells the official apps from the third-party ones.
2026-11-07 01:11:34 -05:00
dotCooCoo eb291f1c60 Nest the VectorCraft task guides under Workflows in the sidebar
The sidebar now lists the 14 VectorCraft task guides under the
Workflows link, in the order of the Workflows page's table. The list
expands on the Workflows page and on each of the 14 pages, marks the
current page with aria-current, and collapses with the toggle next to
the Workflows link.

childGuides in src/data/apps.mjs maps an app slug and a guide slug to
the pages nested under that guide. WikiGuideLinks.astro renders each
app's guide links, with any nested pages, for both app lists.

The AI agents, Print a large poster and Troubleshooting pages move to
sidebar.order 30 to 32, so the previous and next links go from
Workflows through the 14 task guides before them.
2026-11-06 20:33:28 -08:00
Dylan M. Taylor 4856f3d2b9 Remove obsolete scaffold note and TileDocs section from README 2026-11-06 21:05:37 -05:00
Martin BallandClaude Opus 5.5 3d50b86f14 Write the WordCraft guides and add four WordCraft topic pages
Replaces the five placeholder guides with full end-user guides and adds
Languages and spelling, Zotero, Document recovery and AI agents pages,
written from WordCraft's README and docs on main and checked against its
source. Screenshots come from WordCraft's repo, converted to WebP.

The sidebar lists an app's extra pages (extraGuides) before
Troubleshooting, and sidebar.order keeps the previous and next links in
the same order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 00:43:15 +00:00
Dylan M. Taylor eff49c56fe Harden the sign-in page and check Safe Browsing status
Chrome warns because Safe Browsing lists some craft.wiki pages as phishing, and
the Worker's sign-in page was a bare "Craft Wiki sign-in" title served from an
/api/ path with no branding, no explanation and no security headers. Give it the
wiki's branding, say that the password prompt belongs to discord.com, and send a
CSP with framing, referrer and content-type headers.

Add a script and a daily workflow that report Google's verdict for the domain,
so a listing is noticed without waiting for a browser to show it.
2026-11-06 18:31:29 -05:00
Dylan M. Taylor fb6c81485d Label the editor's sign-in buttons for Discord and GitHub tokens
Sveltia labels its buttons after the backend, so the top one read "Sign In with
GitHub" even though it starts this Worker's Discord sign-in, and the lower one
never said which token it wanted. Rewrite both labels while the CMS bundle is
prepared, failing the build if a bundle update drops a label.
2026-11-06 18:24:33 -05:00
FredAppsandClaude Opus 5.5 49481ddecc Finish Discord sign-in when the callback has no opener
Save the session where Sveltia looks for it and open the editor when no editor window answers, and show text instead of a blank page. Run the Worker test file directly, because the directory form ran no tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 23:32:02 +01:00
FredAppsandClaude Opus 5.5 64b3c3b7c6 Let Senior Contributors edit the wiki with Discord sign-in
Add a Worker that signs editors in with Discord, checks the Senior Contributor role, and serves the editor's GitHub API with a server-side token limited to wiki content. GitHub tokens pass through unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 21:41:07 +01:00
Dylan M. Taylor 60a00b0f6e Enable open authoring for wiki contributors 2026-11-06 14:27:31 -05:00
Dylan M. Taylor 2bb5273eb8 Document wiki architecture and editor access 2026-11-06 14:23:55 -05:00
Dylan M. Taylor 34427bb122 Initial commit 2026-11-06 13:22:58 -05:00