Add current queue position and queue name to incoming chat offers

RESOLVED FIXED

Status

support.mozilla.org Graveyard
Chat
--
enhancement
RESOLVED FIXED
9 years ago
5 years ago

People

(Reporter: zzxc, Assigned: zzxc)

Tracking

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

9 years ago
Each chat offer should be displayed with the current position in the queue to allow helpers to answer older questions first.  A lot of older chats currently time out since Fastpath doesn't always send questions in order.
(Assignee)

Comment 1

9 years ago
Created attachment 333188 [details] [diff] [review]
Add current queue information to <offer/>

A small patch to add a "queueInfo" field to each chat offer in a queue.  This is currently a hardcoded phrase such as "3 in Default Queue".  (This does not affect chats sent outside of a queue via a direct invite to a workgroup.)  If this is to be implemented upstream, this patch should be changed to return the actual data with a corresponding patch to Spark.  By using a server-side-only patch, we avoid having to push a patched Spark build to all helpers.

Instructions to apply:

1) Obtain the source code via SVN for the Openfire 3.5.x branch  (The latest Fastpath security update, 4.0.0, isn't in the Openfire 3.5.2 source tarball)

2) Apply the patch

3) Build the plugins using "ant plugins" in the build directory.  (ant must be installed for building)

4) Upload the built fastpath.jar file to the Openfire server using the admin console.

5) From the Openfire admin panel, create a hidden variable called queueInfo in Fastpath->Workgroups->Support->Form UI  (If this step is omitted, the queue information can still be seen by the helper using "View more information" in the chat request window)
Matthew-

Only the fastpath plugin needs to be rebuilt with this, yes?
(Assignee)

Comment 3

9 years ago
(In reply to comment #2)
> Only the fastpath plugin needs to be rebuilt with this, yes?

That is correct, the fastpath plugin is the only one that is changed with this.
(Assignee)

Comment 4

9 years ago
Created attachment 333847 [details] [diff] [review]
The first position in the queue should be 1, not 0

The previous patch displayed the first person in the queue as position 0, this increments it by one.
Attachment #333188 - Attachment is obsolete: true
(Assignee)

Updated

9 years ago
Depends on: 458797
(Assignee)

Updated

9 years ago
Depends on: 452646
(Assignee)

Comment 5

9 years ago
Patch checked in to trunk, r20210
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
(Assignee)

Updated

9 years ago
Depends on: 466601
Component: Chat → Chat
Product: support.mozilla.org → support.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.