Andrea:
Jukka and I went over your feedback for the following preview, I will add some additional notes inline:

A full tree cannot work, breaks support for pageability (ever seen a pageable tree? I did not).
While I like a tree presentation (and believe we may be able to make it work if we load the layer groups into memory and keep them in mind when displaying layers). It is off topic for your goal of handling long titles …
The title is often not filled properly, and it’s not even mandatory, especially users that manage GeoServer by a REST API might
have no use for it at all (GeoServer as a map server for a specific app, rather than open OGC service).
Mock up now shows layer name under the title.
The first layer shows an idea for presentation when title is empty (showing the layer name). While this is an improvement in usability for admin, it should be really clear that title is missing and (and that usability for end users of the WMS service is impacted).
Users that use geoserver via the rest api are probably not intending to share the layer preview with end-users so I do not wish to worry too much about title being missing. They are primarily making use of the web services, and not focused on the GetCapabilities functionality and appearance.
I assume Leaflet and MapML are examples of what could be added by plugins.
Yes, I reduced this to just OpenLayers and Tiles.
I’m not sure “Tiles” can be provided as a link, we don’t have a single “tiles” preview…
I think we should take the first one, for specific format selection tiles are listed under formats.
Keep in mind that the primary use here is as an interactive preview - the user wants to see the layer contents, and zoom into an area of interest to them to see if the data is of value (or being displayed correctly). Choosing the first format should accomplish this?
we need the “tiled layers” drop down with the choice of what is actually cached (if anything is cached at all).
The Tile format (now presented as a radio button) can list the available formats (and indeed it makes sense to do so).
I guess you’d like to choose one as the default, probably thinking web mercator (oh the horror), but
unlike “openlayers”, cached tiles can be configured by layer and might not have a common gridset or format.
Would it be safe/appropriate to choose the first one? We can also leave off tiles if no we cannot agree on a good approach here…
Good idea. “sample” could be removed if the maximum number of elements for preview is configured to be 0 or negative?
(it’s a configurable setting in the WFS panel).
Nice
I find repeating “details” over and over is visually annoying. A simple icon with a hover description should do.
I tried that and it did not work so well; I found repeat “formats” was accurate and helpful (and similar to what we have now so any hand written instructions out there on the web will still work!)
- in order to have more space, the list shows all formats, and the filters at the top filter the list
This cannot work, the same format can appear in two different protocols with different meanings (e.g., TIFF is available
for both WMS and WCS, with different outputs).
We can have a sort of choice at the top, but choice must be compulsory.
Good point, changed to a radio button to keep this as a single click workflow; and radio button is obviously a single choice.
- the filter names are taken from GSIP-202 data directory titles (rather than just WMS
As said before, I want to retain the ability to filter on more than just workspace and layer name.
I am sorry, there was some confusion here. I ment the ability to choose what formats are listed - now effectively captured by the radio button choice.
The names of the radio button labels: Map, Tiles, Vector, Raster match GISP-202 data directory service titles.
- From ne:coatlines layer Tiles navigate to layer preview page with ?workspace=ne&layer=coastline&formats=tiles (this would navigate to the layer preview page as shown listing ne workspace, with coastline layer details expanded
“navigate to the layer preview page” from where?
If you look at GISP-202 each service heading can have a button to navigate to associated pages or demos. With the radio button approach: Each one can have a “Preview” that would navigate to the layer preview page with the appropriate radio button already selected.
So Tiles could have “GeoWebCache” and “Layer Preview” (going to layer preview page). While Raster has “WCS Request Builder” (and “Layer Preview” if we choose to support that use-case).
- Filtering with the tree structure is fine (some of the search result content may show indented and that is okay)
- Should make the formats into blue links so it is obvious they are clickable
Well they could be simply a
with actual text rather than a list control at this point (and would allow to copy the links, that is actually something
quite annoying about the existing “all formats” dropdown.
Yes exactly so, so they are now drawn blue (our color for links).
It will use more space, but this design is already using a lot more vertical real estate than the one I originally suggested, when opened… I guess a div
can also be given its low local scrolls, if we want to limit vertical size.
Scrolls are added; I also tried to draw it as a slide out panel that would just be shown under the row … I could not make it work visually, but you may consider it?
Gosh no, some layers might have hundreds of parts. If you want a “full” download, it would be achievable by playing with the content disposition parameters,
Fair enough.
Sidenote, I started this conversation out of a personal desire to make cache tiled views more evident (right now hidden in admin panels).
I am trying to return to original scope 
All the best,
Jody