Skip to content

About

Listora directory plugin for EmDash CMS

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Listora for EmDash

Sandboxed first slice of WB Listora. It is a new TypeScript plugin, not the WordPress PHP plugin.

Publisher: did:plc:2o6axbe264shvyedyhycyhya (@vapvarun.bsky.social). Registry name: @vapvarun.bsky.social/listora.

Source: wbcomdesigns/emdash-listora. Docs: docs/website. How to change and ship a version: CONTRIBUTING.md.

What v0.1 does

The plugin is the engine (routes, storage, hooks, Block Kit admin). It does not create /listings/ pages on install. Copy site-kit onto the EmDash site after install.

  • Engine: search, submit, reviews, claims, favorites, contact, import, privacy, renew
  • Admin: /_emdash/admin then Get started, Listora queue, reviews, claims
  • Kit pages (you copy): /listings/, /listings/{slug}/, /listings/submit/, /listings/calendar/, /account/
  • GET /_emdash/api/plugins/listora/health

Install @vapvarun.bsky.social/listora from the EmDash registry (current release 0.5.2). GitHub tag, package.json, and the registry version are the same number.

Docs

Read these on GitHub. They are the team handbook for this early release.

  1. Session handoff
  2. Docs landing
  3. What we built
  4. Improve the screens

Planning notes that fed the port stay in ops/.

Plans:

  • ops/autonomous-local-plan.md - runbook: seeded Free prototype, reset, prove, next drop
  • ops/seed-inventory.tsv - listings, reviews, claims the lab must contain
  • ops/listora-as-built.md - what WordPress Listora 1.9.0 actually ships
  • ops/free-first-plan.md - Free catalog only, what we ship next
  • ops/quality-plan.md - definition of done, workstreams, sequence
  • ops/ux-plan.md - screens, tokens, Listora presentation bar
  • ops/screen-parity.tsv - WP block vs EmDash screen status
  • ops/feature-catalog-emdash.tsv - all 76 catalog features
  • ops/typescript-plugin-plan.md - sandboxed TS plugin slices
  • ops/prototype-plan.md - site install + local engine lab

Local test

First time on a machine (creates a sibling EmDash site if needed):

git clone https://github.com/wbcomdesigns/emdash-listora.git
cd emdash-listora
npm install --legacy-peer-deps
./scripts/setup-lab.sh
./scripts/reset-lab.sh
./scripts/prove-lab.sh --all

After that:

./scripts/reset-lab.sh
./scripts/prove-lab.sh --all

Default lab folder is ../emdash-local. Override with LISTORA_LAB. Steps: Set up a new machine.

Then open:

Submit a listing:

curl -X POST http://localhost:4321/_emdash/api/plugins/listora/submit \
  -H "Content-Type: application/json" \
  -H "Origin: http://localhost:4321" \
  -d '{"title":"Test Bakery","city":"Delhi","listing_type":"business"}'

The row stays a draft until you publish it in admin.

Version control

GitHub is the source of truth. The collection is the install channel.

  1. Work on a branch, prove locally, merge to main.
  2. Bump package.json (patch / minor / major). See CONTRIBUTING.md.
  3. npx emdash-plugin publish from main.
  4. Watch listing approval. Sites then update from Admin → Registry.

Do not republish the same version. Collection page after approval: https://plugins.emdashcms.com/plugins/@vapvarun.bsky.social/listora

About

Listora directory plugin for EmDash CMS

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages