neos / flow-development-collection

The unified repository containing the Flow core packages, used for Flow development.
https://flow.neos.io/
MIT License
137 stars 189 forks source link

Create a embracing and welcoming StandardView if no routes are present #2110

Open sorenmalling opened 4 years ago

sorenmalling commented 4 years ago

Description

The current "Standard View" looks like this

image

and is resolved via this controller

https://github.com/neos/flow/blob/master/Classes/Mvc/Controller/StandardController.php

We can create a more embracing look and feel of this and provide help to get going (similar to the work on the new Neos.Welcome package)

mrimann commented 2 years ago

I struggle to “reproduce” the problem with a fresh flow-developmend-distribution, when I call it in a browser, it first showed the nice fresh Welcome-Package content (fine). Once I removed the Welcome package, I only get a 404 “Sorry, the page you requested was not found.” view but not this view shown above as a screenshot (the same old visual style, but not the same content).

As far as I could track it down, this StandardController is not getting found because there’s no Route matching. I now got it to show this welcome page out Flow by setting the following config to include Flow’s Routes:

Neos:
  Flow:
    mvc:
      routes:
        'Neos.Flow':
          position: 'start'

So I wonder whether this is really worth the effort to fix this issue, when this view is basically not rendered to the user at all (without fiddling with the config first). Or am I overlooking something?

Would be cool to hear your thoughts about this and maybe a pointer on how to proceed

albe commented 2 years ago

Right, you're not wrong that this only is visible when someone enables the Flow route and doesn't have an own view already. The StandardView is part of Flow and it would be nice to have that more aesthetically matching with the new Welcome package. Surely not anything urgent, but a little detail we could improve.