cylc-ui icon indicating copy to clipboard operation
cylc-ui copied to clipboard

404 error

Open oliver-sanders opened this issue 5 years ago • 2 comments

Handle 404 states (e.g. viewing a workflow which doesn't exist).

Proposal to close the 404 component of #111

Cases:

  • Workflow doesn't exist
    • => Display a placeholder screen - "no workflow" (#332)
    • Workflow stopped (until the UI server lists stopped workflows)
    • Workflow deleted
    • Typing error
    • Internal error
  • View doesn't exist
    • => Display an error screen - "internal error"
    • Typing error
    • Internal error
  • Malformed URL
    • => Display an error screen - "internal error"
    • Typing error
    • Internal error

Pull requests welcome!

oliver-sanders avatar Dec 16 '19 00:12 oliver-sanders

Currently we have a "Page not found" view when you navigate to a non-existent URL.

~But I think it returns HTTP 200 when it should be 404~ Actually as this is a single-page application that is irrelevant

MetRonnie avatar Jan 13 '23 15:01 MetRonnie

Could do with a nicer 404 page too.

oliver-sanders avatar Jan 16 '23 09:01 oliver-sanders