mathesar icon indicating copy to clipboard operation
mathesar copied to clipboard

Move "Object not found" error logic to client

Open seancolsen opened this issue 1 year ago • 1 comments

Current behavior

  • ❌ Visiting a Database Page for a non-existent database renders a Django error page (Bad)

    http://localhost:8000/this_database_does_not_exist/

    image

  • ❌ Visiting a Schema Page for a non-existent schema renders a Django error page (Bad)

    http://localhost:8000/mathesar_tables/999

    image

  • ✅ Visiting a Table Page for a non-existent table renders a Svelte error page (Good)

    http://localhost:8000/mathesar_tables/1/999

    image

Desired behavior

  • All of these "object not found" types of errors should caught on the front end so that we can render a page with navigation.

seancolsen avatar Aug 11 '22 20:08 seancolsen

This is still relevant.

seancolsen avatar Jan 05 '24 01:01 seancolsen