Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IVYPORTAL-17431 Remove Express from Portal #1050

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2674,11 +2674,7 @@
"at" : { "x" : 224, "y" : 96 }
},
"connect" : [
{ "id" : "S10-f8", "to" : "S10-f7", "label" : {
"name" : "Express end page",
"segment" : 0.47,
"offset" : { "y" : -11 }
} },
{ "id" : "S10-f8", "to" : "S10-f7" },
{ "id" : "S10-f2", "to" : "S10-f68", "via" : [ { "x" : 288, "y" : 192 } ] },
{ "id" : "S10-f3", "to" : "S10-f17", "via" : [ { "x" : 288, "y" : 288 } ] },
{ "id" : "S10-f4", "to" : "S10-f19", "via" : [ { "x" : 256, "y" : 384 } ] },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
public class ChatRendererBean implements Serializable {

private static final long serialVersionUID = 4691697531600235758L;
private static final String EXPRESS_CREATION_TASK = "isExpressCreationTask";

private Boolean isGroupChatRendered;
private Boolean isPrivateChatRendered;
Expand Down Expand Up @@ -56,8 +55,4 @@ public void getGroupChatName() {
String groupChatName = Ivy.cms().co("/ch.ivy.addon.portalkit.ui.jsf/common/case") + "-{caseId}" + " {caseName}";
PrimeFaces.current().executeScript("var groupChatFormat = '" + groupChatName + "'");
}

public boolean isExpressCreationTask() {
return Ivy.wfTask().customFields().stringField(EXPRESS_CREATION_TASK).get().isPresent();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
icon="si si-move-to-bottom" onclick="PF('adhoc-task-reset-confirmation-dialog').show()" />

<p:menuitem id="chat-group" icon="si si-messages-bubble-add" action="#{chatAssigneeBean.createGroupChatForConfiguredRoleList(currentTask)}"
rendered="#{chatRendererBean.isGroupChatRendered and !(currentTask.state eq 'CREATED') and !chatRendererBean.isExpressCreationTask()}"
rendered="#{chatRendererBean.isGroupChatRendered and !(currentTask.state eq 'CREATED')}"
value="#{ivy.cms.co('/ch.ivy.addon.portalkit.ui.jsf/chat/createProcessChat')}" update="chat-assignee-dialog" />

<p:divider styleClass="separator"
Expand Down
Loading