Skip to content

Doppel: finish persona + re-enable with draggable corner position #84

Description

@manucompiles

Doppel chat is hidden everywhere as of #79 (flag: NEXT_PUBLIC_DOPPEL_ENABLED, default off in DoppelWidget.tsx) - the persona is placeholder art and the fixed bottom-right avatar collided with the journal's Evening pill on mobile.

To re-enable:

  1. Persona images (Bitmoji path, per the package README's asset spec):

    • idle (lying on beach chair): DONE - ~/Downloads/vacation.png (transparent bg, ready)
    • bonus/alternate scene: ~/Downloads/'tropical hammock.png' (baked-in background - not suitable as the floating avatar, maybe chat-panel art)
    • MISSING: hover-1..3 wave frames + active (standing beside chat) pose - export from bitmoji.com
    • Then: wire a custom PersonaConfig (or update the manu preset in the doppel repo), process PNGs (crop/resize/optimize)
  2. Draggable position with corner snapping: .doppel-root is deliberately unhashed for consumer repositioning. Add a drag handler that snaps to the four corners (or left/right x top/bottom), persists the choice in localStorage, and defaults to bottom-right. Keep clear of the journal's Evening pill and the TrackingBar (bottom-left on desktop).

  3. Flip NEXT_PUBLIC_DOPPEL_ENABLED=true (and set it in the GCP demo env if the demo should show it).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions