Branch: refs/heads/ui-subsystems-customization
Home:
https://github.com/rhq-project/rhq
Commit: 29b6bbcd6ad3135ef7c86cc0595c5347ccd74332
https://github.com/rhq-project/rhq/commit/29b6bbcd6ad3135ef7c86cc0595c534...
Author: Jirka Kremser <jkremser(a)redhat.com>
Date: 2014-11-14 (Fri, 14 Nov 2014)
Changed paths:
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/admin/AdministrationView.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/admin/users/UserEditView.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/components/form/AbstractRecordEditor.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/components/selector/AbstractSelector.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/DashboardView.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/DashboardsView.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/PortletFactory.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/groups/detail/ResourceGroupContextMenu.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/groups/detail/ResourceGroupDetailView.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/groups/detail/ResourceGroupTreeView.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/resource/detail/ResourceDetailView.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/resource/detail/ResourceTreeView.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/menu/MenuBarView.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/util/message/MessageBar.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/util/preferences/UserPreferenceNames.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/util/preferences/UserPreferences.java
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_cs.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_de.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_ja.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_ko.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_pt.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_zh.properties
M modules/enterprise/gui/coregui/src/main/webapp/CoreGUI.html
A modules/enterprise/gui/coregui/src/main/webapp/css/bootstrap-switch.min.css
A modules/enterprise/gui/coregui/src/main/webapp/js/bootstrap-switch.min.js
M
modules/enterprise/gui/coregui/src/main/webapp/org.rhq.coregui.CoreGUI/sc/skins/CoreGUI/skin_styles.css
Log Message:
-----------
[BZ 1160775] - RFE Adding a way to show/hide RHQ subsystems in UI
Current UI is overcomplicated. RHQ does lots of things and
different users use it for different purposes. Although many
subsystems are interconnected and may depend on each other
(e.g. metrics and alerts). This is not the case for all of them
and in the sake of simplicity some of them could be hidden in
UI if user wants to.
This PR allows to hide following subsystems/features in UI:
* content
* reports
* administration
* events
* operations
* alerts
* config
* drift
NOTE: This change is only about hiding it in UI, the subsystems
are still working and can be acessed via REST, CLI or direct
URL.
The subsystems can be shown/hidden on the user page
${host}/coregui/#Administration/Security/Users/${userId}
and this information is saved to the user preferences.
It is orthogonal to the access rights that are specified for
roles. Each user may decide what to hide to make the UI
cleaner for him/her.
it's 1 squashed commits of following:
This is the 2nd commit message:
[BZ 1160775] - RFE Adding a way to show/hide RHQ subsystems in UI - fixing FF issues and
changing the switches according to UX proposal
This is the 3rd commit message:
[BZ 1160775] - RFE Adding a way to show/hide RHQ subsystems in UI - i18n and improving CSS
for the switches
This is the 4th commit message:
[BZ 1160775] - RFE Adding a way to show/hide RHQ subsystems in UI - rewriting it to use
the bootstrap-switch library; messages
This is the 5th commit message:
[BZ 1160775] - RFE Adding a way to show/hide RHQ subsystems in UI - final tunning of the
timing