PictoPy icon indicating copy to clipboard operation
PictoPy copied to clipboard

BUG: Memories page wrapper renders placeholder instead of real Memories screen

Open Ashvin-KS opened this issue 8 months ago • 2 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

What happened?

Is there an existing issue for this?

  • [x] I have searched the existing issues

What happened? frontend/src/pages/Memories/Memories.tsx returns an empty fragment, while routing uses the real MemoriesPage from components. Page-level tests import the page wrapper, so they can pass without rendering the real Memories UI.

This creates misleading route/page coverage and inconsistent page-layer structure.

Expected behavior:

  • pages/Memories/Memories.tsx should render MemoriesPage
  • route and tests should use the same page entrypoint

I agree to follow this project's Code of Conduct:

  • [x] I agree

Record

  • [x] I agree to follow this project's Code of Conduct

Ashvin-KS avatar Mar 19 '26 12:03 Ashvin-KS

👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)

github-actions[bot] avatar Mar 19 '26 12:03 github-actions[bot]

@rohan-pandeyy I'd like to take this one. Confirmed the cause: frontend/src/pages/Memories/Memories.tsx returns an empty fragment (<></>), while AppRoutes.tsx:26 renders the real MemoriesPage from @/components/Memories. So the page-layer wrapper is dead and any test importing it passes without rendering the real screen.

Plan: make pages/Memories/Memories.tsx re-export / render MemoriesPage, point the route at that single entrypoint, and update the page-level test to assert the real UI renders.

VanshajPoonia avatar Jun 27 '26 18:06 VanshajPoonia