Repository navigation
Add Knowledge Base screenshots to screenshots.py - #18
Merged
Merged
Conversation
shots_knowledgebase() makes its own categories, articles (live, waiting for review, with a pending revision, and a draft), forum questions and the Comments and Changelog forums, then takes the twelve shots the repository's gallery uses under the same file names. The two ACP pages are full-page, so a setting below the fold, such as the feed format, is no longer cut off. Hierarchical browsing is switched on only for the category tree. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
What this does
screenshots.pycan now take the Knowledge Base's documentation screenshots. Until now the extension had no entry, so its gallery was made with one-off scripts and could not be retaken when a page changed.How it works
shots_knowledgebase()makes its own categories, articles (live, waiting for review, one with a pending revision, and a draft), review teams, a contact group, and the Comments and Changelog forums, then three forum questions about backups so a board search shows the Knowledge Base block beside forum posts. The articles go through the extension's own text formatter and search index.01-flat-indexto12-recent-changes).--seedwith seed-forum's standard fixtures is optional; it adds members so the articles have different authors.Testing
Claude ran it against the tool's board with the standard fixtures: 12 shots saved, 0 failed, no PHP errors logged, and looked at each image.
tests/test-phpbb-test-board.shpasses with a new check that--helplists the Knowledge Base.Investigated and written by Claude on behalf of William Jacoby (bonelifer).