Bug 1190751

Summary: Make possible embedded editors to hide the path to projects
Product: [Retired] JBoss BPMS Platform 6 Reporter: Alexandre Porcelli <porcelli>
Component: Business CentralAssignee: Alexandre Porcelli <porcelli>
Status: CLOSED EOL QA Contact: Jakub Schwan <jschwan>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.1.0CC: alazarot, kverlaen, mbaluch, rrajasek
Target Milestone: DR1   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1218301 (view as bug list) Environment:
Last Closed: 2020-03-27 19:13:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1218301    

Description Alexandre Porcelli 2015-02-09 15:11:51 UTC
Description of problem:

The authoring perspective when embeeded should be able to hide the control  of organization unit, repository or project change.

Comment 2 Alexandre Porcelli 2015-02-10 05:31:51 UTC
Feature pushed:

(6.2.x) http://github.com/droolsjbpm/kie-wb-common/commit/f751b6b56
(6.2.x) http://github.com/droolsjbpm/kie-wb-distributions/commit/9b0b0651c

(master) http://github.com/droolsjbpm/kie-wb-common/commit/ce5ebacae
(master) http://github.com/droolsjbpm/kie-wb-distributions/commit/455b86340

In order to give more control over Authoring perspective, a new one was created and some new URL based parameter are expected.

New perspective name: AuthoringPerspectiveNoContext

New Parameter:

no_context_navigation = defines that project explorer should not allow change context (hide context breadcrumb)
explorer_mode = business_tree, business_explorer, tech_tree or tech_explorer
no_search = hides search text box from context menu area
path = project root path

Example of standalone mode:

http://localhost:8080/kie-wb//kie-wb.html?standalone=true&perspective=AuthoringPerspectiveNoContext&no_context_navigation=true&explorer_mode=business_tree&header=ComplementNavArea&no_search&path=git://uf-playground/mortgages

Comment 4 Alexandre Porcelli 2015-03-16 18:07:03 UTC
Improvements (as requested by email) now if path is a file.. it opens it:

(master) http://github.com/uberfire/uberfire/commit/b045dcf3c
(master) http://github.com/droolsjbpm/kie-wb-distributions/commit/e6ce14855

Comment 7 Jakub Schwan 2015-10-02 11:26:06 UTC
Verified in 6.2 ER3