Biblicus

Make your documents usable by your assistant, then decide later how you will search and retrieve them.

Stack Navigation Animation Brief (Sub-Agent Task)

Goal

Build a simplified, isolated demo that proves a reusable UI/animation model for stack-based navigation. The demo must focus only on the animation and layout behavior, decoupled from the current app logic and data fetching.

This demo will become the reference for a reusable framework that:

Core Model (Data Structure)

Define a single source of truth for navigation state:

UI Layout Model

The UI must always render:

  1. Breadcrumb List (Top)

    • Visualizes stack as a linear breadcrumb row.
    • The breadcrumb row represents the stack order exactly.
  2. Content Stack (Below)

    • A horizontal stack of content panels, one per stack level.
    • Panels slide left/right as the stack changes.
    • The panel for the active stack node is centered; deeper nodes appear to the right when drilling down.

Animation Rules

Push (Drill Down)

Pop (Go Up)

When loading a deep link (e.g., /corpora/<name>/items/<id>):

Demo Requirements

  1. A small, isolated page (no dependencies on app routing or data).
  2. Hard-coded sample data for 3+ stack levels.
  3. Controls for:
    • Push next level
    • Pop level
    • Load a deep link (simulate full stack)
  4. Logs or simple visual markers for current stack state.

Non-Goals

Success Criteria

The demo must: