Repository navigation
README: presentation and descriptions - #12
Merged
Merged
Conversation
Four demo shortcodes (ScbShowcase*) and a seeded "Plan your visit" page, registered only when SCB_README_SHOWCASE is set (fixtures/_config/showcase.yml). The specs' own fixture shortcodes are left out on such a host, so the dialog lists only the showcase ones. Without the variable nothing changes for the browser specs or CI (22/22 green on Silverstripe 6).
Sell first, technical last; three Playwright screenshots of the editor and the dialog (tests/browser/screenshots/ regenerates them). Corrected: the simpler version a Silverstripe 5 install gets, the placeholder example now returns its response, plain classes need Extensible.
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.
Docs only: README restructured to the module README standard (sell first, technical last), with generated screenshots, plus the composer.json description and keywords. No code changes.
Commits
ScbShowcase*) and a seeded "Plan your visit" page, registered only whenSCB_README_SHOWCASEis set. On such a host the specs' own fixture shortcodes are left out (Except: envvarsetonfixtures/_config/shortcodable.yml), so the dialog in the screenshots lists only the demo ones. Without the variable nothing changes: 22/22 browser specs green on Silverstripe 6 locally with the new fixtures in place.descriptionandkeywordsonly.Screenshots (
docs/images/) are Playwright captures from a Silverstripe 6 host, regenerated bytests/browser/screenshots/readme.shot.tswith its own config (never run by the specs or CI); seetests/browser/screenshots/README.md. The olddocs/screens/images (Silverstripe 3 era) are no longer referenced but are left in place.Corrected in the README
silverstripe/framework ^5 || ^6);~0.2only lets an existing 0.2/0.3 install stay.getShortcodePlaceHolder()example now returns its response (the endpoint returns whatever the method returns); the old example called->output()itself and returned nothing.Extensible, because the module callshasMethod()on it; a missing parser method is anE_USER_ERROR.updateShortcodeFormextension hook, the record dropdown namedidfor DataObjects, and thedefault_placeholderdefaults.Repo metadata set alongside this PR (live immediately)