Repository navigation
Conversation
alfred builds its home page from modules, which the CLI had no way to reach: agents fell back to the browser. home-page update gains --sections, --section-effect MODULE=EFFECT (merged onto the page's current effects, since the API resets a module left out) and --area KEY=VALUE for the extra content areas; home-page sections shows the modules and their rows; home-page items get|set edits one module's rows (stats, press logos, the Buy and Sell cards...); featured-areas get|set edits the areas behind the Neighborhoods module and the footer. A switched-on module with nothing to show stays off the page without an error, so after a write a note: line on stderr names it and what it needs (empty_sections), and any setting that does nothing yet (inactive_settings). Guide §30 maps what people call each part of alfred to the command.
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.
alfred's home page is a stack of modules the CLI couldn't reach, so testers' agents fell back to driving the admin in a browser.
home-page update --sections,--section-effect MODULE=EFFECT(merged onto the current effects; the API resets any module left out) and--area KEY=VALUE(KEY=nullclears)home-page sections: module order, every module's rows,empty_sectionshome-page items get|set KIND: stats, awards, press logos, the Buy/Sell cards (tile), testimonials, neighborhood photosfeatured-areas get|set city=Brentwood ...: the areas behind alfred's Neighborhoods module and the footernote:lines on stderr (every output mode) name each switched-on module that isn't on the page and what it needs, and any setting that does nothing yet. These come from the API'sempty_sections/inactive_settings(rg2 #5219, live).geekcli guide alfred): what people call each part to the command and field; §10/§15/§18 point there; the old--tile-groupnote now says alfred's Buy/Sell cards areitems set tile.Read commands checked against a live alfred demo site; writes covered by the mock tests (exact request bodies, note lines).