Developer Docs

Mall Sections & Taxonomy

How Mallnline organizes Malets into discoverable categories, mimicking a physical mall directory.


๐Ÿ“ Two-Layer Taxonomy

  • Layer 1: Sections: Structural divisions (mall wings). A Malet can now belong to multiple sections simultaneously (multi-vertical).
  • Layer 2: Tags: Flexible cross-cutting descriptors for discovery and search. Curated suggestions plus user-contributed custom tags.

๐Ÿฌ Mall Sections

Below is the current list of sections defined in the platform.

[[Demo:SectionsTable]]


๐Ÿท๏ธ Section Tags

Tags are non-hierarchical descriptors that power search filtering and cross-section discovery. A Malet can have many tags.

[[Demo:TagsGrid]]


๐Ÿ—บ๏ธ Roadmap

Phase 1: Frontend-Only (โœ… Complete)

  • Static mapping from verticalTypes โ†’ sections.
  • Section pages at /sections/{slug}.

Phase 2: Multi-Vertical + Open Tags (โœ… Complete)

  • verticalTypes: string[] on Malet entity โ€” Malets can belong to multiple verticals.
  • SectionTagService.validateAndRegister() โ€” auto-creates valid custom tags.
  • 5-step Malet creation wizard at /create-malet.
  • Search integration with tag filters.

Phase 3: Self-Service (In Progress)

  • Malet Owner chooses verticals during creation wizard (โœ… done).
  • Custom tag input with slug format validation (โœ… done).
  • Tag popularity analytics and trending suggestions (๐Ÿšง planned).
  • Vertical Intelligence Reindexer โ€” background job to reindex Malets when verticals evolve (๐Ÿšง planned).

๐Ÿ“‚ File Reference

File Purpose
src/lib/utils/mallSections.ts Section definitions, classification, tags
src/routes/lobby/Floor.svelte Section strip component
src/routes/sections/[slug]/* Section pages
docs/architecture/mall-sections.md Backend architecture doc