[
https://issues.apache.org/jira/browse/FELIX-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Valentin Valchev updated FELIX-1959:
------------------------------------
Attachment: tb6.jar
Ok, I've added the LogService refactored to use JQueryUI internally. Of course,
the JQueryUI is exported temporally by plug-in resource, since it is not yet
exported by the console itself.
You can check the themes in a very simple way:
- set the system property 'webconsole.alternative.theme=true'
- update the bundle
- refresh the web browser (Ctrl+F5)
This is just proof of concept and is just code copied from the original log
service with some modifications but it's not optimized to run at it's best
performance. There are a number of optimizations that can be performed, if it
is supposed to replace the original LogService. As example it can improved by:
- caching of the loaded resource (data.html)
- adding possibility to load the resource using the request locale (load
data_en.html, data_fr.html, depending on request.getLocales()).
> Move towards unified L&F and extended branding support
> ------------------------------------------------------
>
> Key: FELIX-1959
> URL: https://issues.apache.org/jira/browse/FELIX-1959
> Project: Felix
> Issue Type: New Feature
> Components: Web Console
> Reporter: Valentin Valchev
> Assignee: Carsten Ziegeler
> Priority: Minor
> Attachments: jqueryui-vs-default-lnf.png, tb6.jar
>
>
> Currently the Web Console uses heavily on the JQuery framework. Using a
> unified JavaScript framework simplifies development of all plugins and
> unifies the used approach.
> However, when talking about visual styling, there are number of differences
> because each plugin developer uses own styles.
> My suggestion is to adopt the JQuery UI . The benefits of using it as unified
> widget/css framework are:
> - no time to spend on writing widgets already in the library
> - clean CSS visual styling
> - easy way to change the L&F by changing the theme (extended branding
> support!)
> - improved cross-browser support (JQuery UI takes care of CSS differences)
> Using the JQuery UI framework the developer shouldn't care about color but
> only for layout - components position; and for data being displayed.
> To illustrate the benefits I've saved the "Log Service" page, modified it to
> use JQuery UI, took screen-shot, modified the theme CSS only, and again took
> screen-shot, and finally added the original L&F for reference, so you can
> easily compare the result.
> The attached image contains the combined screen-shots.
> "
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.