Skip to content

feat: alfred home page modules and featured areas - #93

Open
kevin1024 wants to merge 1 commit into
mainfrom
alfred
Open

kevin1024 wants to merge 1 commit into
mainfrom
alfred

Conversation

@kevin1024

Copy link
Copy Markdown
Member

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=null clears)
  • home-page sections: module order, every module's rows, empty_sections
  • home-page items get|set KIND: stats, awards, press logos, the Buy/Sell cards (tile), testimonials, neighborhood photos
  • featured-areas get|set city=Brentwood ...: the areas behind alfred's Neighborhoods module and the footer
  • After a write, note: 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's empty_sections / inactive_settings (rg2 #5219, live).
  • Guide §30 (geekcli guide alfred): what people call each part to the command and field; §10/§15/§18 point there; the old --tile-group note now says alfred's Buy/Sell cards are items set tile.

Read commands checked against a live alfred demo site; writes covered by the mock tests (exact request bodies, note lines).

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant