Lukasz Lenart created WW-5860:
---------------------------------

             Summary: Modernize the Config Browser UI
                 Key: WW-5860
                 URL: https://issues.apache.org/jira/browse/WW-5860
             Project: Struts 2
          Issue Type: Improvement
          Components: Plugin - Config Browser
            Reporter: Lukasz Lenart
             Fix For: 7.6.0


The Config Browser still uses the Tigris page theme from around 2005: an XHTML 
1.0 Transitional doctype, table-based layout, presentational body attributes, 
{{ISO-8859-1}} charset and about 700 lines of copied CSS in 
{{config-styles.ftl}}. It is also hard to find an action in a namespace with 
many actions.

*Scope*
* Keep the current structure: left menu with Configuration (Constants, Beans, 
Jars), Namespaces and the actions of the selected namespace; details on the 
right.
* Replace the Tigris markup and styles with HTML5, UTF-8 and a small modern 
stylesheet.
* Add a filter box to the action list that narrows the actions of the current 
namespace as you type. It filters the already-rendered list in the browser; no 
new server action.
* Leave room in the layout for the fields and pages added by WW-5857 (HTTP 
methods and extensions on the action page) and WW-5858 (package view, linked 
from the action page and the menu).

*Constraints*
* No JavaScript library (no jQuery) and no front-end build step: plain CSS and 
a little vanilla JS, served as static files from the plugin JAR.
* No inline scripts or inline event handlers, so the pages work under a strict 
Content-Security-Policy. This includes moving the validator-details popup 
script out of {{showValidators.ftl}}.
* FreeMarker templates, action names and URLs stay the same, so existing links 
keep working.

*Order*

Should land before WW-5857 and WW-5858 so those are built on the new layout. 
Global search across all namespaces is a separate follow-up.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to