Skip to content

feat(editor): favorites strip and tested catalog filters (#29) - #353

Open
Aduersarius wants to merge 1 commit into
Bitcoindefi:mainfrom
Aduersarius:feat/editor-favorites-catalog-29
Open

feat(editor): favorites strip and tested catalog filters (#29)#353
Aduersarius wants to merge 1 commit into
Bitcoindefi:mainfrom
Aduersarius:feat/editor-favorites-catalog-29

Conversation

@Aduersarius

Copy link
Copy Markdown

Summary

Addresses remaining #29 acceptance after Stage 4 landed via #109: the issue asked for favoritos o recientes, and main only had recientes.

  • favorites on objects / NPCs / terrain tiles (persisted in localStorage as editor.favorites.v1)
  • FavoritesStrip on /construccion for one-click re-select across sessions
  • Pure frontend/lib/editor/catalogFilter.ts helpers (search, type filter, counts, toggle/parse favorites)
  • Unit tests: node --test --experimental-strip-types frontend/lib/editor/catalogFilter.test.ts (10/10)
  • Licensing note: favorites helpers are original (AO-object-editor used as conceptual reference only)

Refs #29 (issue already closed by #109; this is the favorites gap fill).

Differentiation vs open PRs

Test plan

  • cd frontend && node --test --experimental-strip-types lib/editor/catalogFilter.test.ts
  • Open /construccion as game-data admin → star an object/NPC/tile → FavoritesStrip shows it after reload
  • Click a favorite → tool re-selects; unstar removes it
  • Object search + type chips still filter the full catalog fluently

No txs/keys/funds involved.

)

Fill the remaining Bitcoindefi#29 “favoritos o recientes” gap on top of the merged
Stage 4 palette: star favorites with localStorage, FavoritesStrip re-select,
and pure catalogFilter helpers covered by node:test.
@gitar-bot

gitar-bot Bot commented Sep 6, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

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