Closed
Bug 1095358
Opened 10 years ago
Closed 10 years ago
Add subject to direct calls (aka as conversations)
Categories
(Hello (Loop) :: Server, defect)
Hello (Loop)
Server
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: oteo, Assigned: frsela)
References
Details
(Whiteboard: [loop-server 0.14])
Attachments
(2 files)
Product team wants users making direct calls to have the option to include a subject for the call so that they can tell the other party what the communication is going to be about. At a glance, it seems this requires changes in: - POST /calls (to indicate the subject when making the call) - GET /calls?version=<version> (to retrieve the subject when receiving the call) - POST /call-url (not sure if this is going to be really used with the new room model but maybe we should add it for the sake of consistency)
Comment 1•10 years ago
|
||
In addition, PUT /call-url/{token} should also be able to get this new "subject" option. I also need some more information in order to cap the value to a maximum. Would 124 chars be enough for a subject? I'm okay with this change, but would need a seal of approval by Adam ;)
Flags: needinfo?(oteo)
Flags: needinfo?(adam)
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(oteo)
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Alexis Metaireau (:alexis) from comment #1) > In addition, PUT /call-url/{token} should also be able to get this new > "subject" option. Thanks for taking care of it!! > > I also need some more information in order to cap the value to a maximum. > Would 124 chars be enough for a subject? I've checked with Product ream and it's more than enough :) > I'm okay with this change, but would need a seal of approval by Adam ;) of course!!
Comment 3•10 years ago
|
||
Is this a change for mobile only or would desktop need to make the same change? Our (desktop's) development schedule for the next few weeks is very tight, and I'd need to discuss with Darrin what the UX implications are for desktop if we make this change. Plus, I'd have to get a new UX design from Darrin for direct calls. If this can be a mobile-only change (at least for the short term), then many of my concerns and objections go away.
Comment 4•10 years ago
|
||
AFAIK, I think it can be an optional thing so if desktop do implements it they can still continue to use loop-server as they are doing today.
Comment 5•10 years ago
|
||
Yes, this is an optional parameter. In case it's not present, it won't be used.
Comment 6•10 years ago
|
||
Hi Maria, Can you catch me up on which product team discussion/decision this bug is around? This has impact on desktop implementation and UX as well. Can we catch up before we make server changes, to make sure all the parts work together? :)
Flags: needinfo?(rtestard)
Flags: needinfo?(oteo)
Reporter | ||
Comment 7•10 years ago
|
||
Hi Shell, this is one of the User Stories for 1.1.1 Loop Mobile version, so clearing my ni and setting it to Jorge as this is a Product call. Anyway, as far as I know, this subject field is an optional parameter so there should not be any problem if Desktop does not use it.
Flags: needinfo?(oteo) → needinfo?(jorge.munuera)
Hi Shell, this field is optional and we would like to use it in the mobile app. As Alexis said, is it not present, it wont be used.
Flags: needinfo?(jorge.munuera)
Comment 9•10 years ago
|
||
Sorry for the delay here. This makes perfect sense from a protocol perspective, and I think we should plan to support it on the Desktop as time allows (i.e., we should open and schedule a bug to handle this on the desktop client -- one UX, one implementation). No rush, of course -- but it would be good to make sure they don't get dropped on the floor. Maire: can I have you open these desktop bugs and make sure they get tracked? Alexis: can I have you update the docs with a new parameter?
Flags: needinfo?(mreavy)
Flags: needinfo?(alexis+bugs)
Flags: needinfo?(adam)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → frsela
Assignee | ||
Comment 10•10 years ago
|
||
This is a WIP patch. Pending Unit-Tests
Attachment #8522866 -
Flags: feedback?(alexis+bugs)
Comment 11•10 years ago
|
||
Comment on attachment 8522866 [details] [review] Proposed patch (WIP) I did a first round of feedback on the pull request, thanks!
Flags: needinfo?(alexis+bugs)
Attachment #8522866 -
Flags: feedback?(alexis+bugs) → feedback+
Assignee | ||
Comment 12•10 years ago
|
||
Comment on attachment 8522866 [details] [review] Proposed patch (WIP) Tests updated.
Attachment #8522866 -
Flags: review?(alexis+bugs)
Assignee | ||
Comment 13•10 years ago
|
||
Attachment #8525177 -
Flags: review?(alexis+bugs)
Comment 14•10 years ago
|
||
Comment on attachment 8522866 [details] [review] Proposed patch (WIP) The way tests are done is not correct. Please see the pull request comments for reference.
Attachment #8522866 -
Flags: review?(alexis+bugs) → review-
Comment 15•10 years ago
|
||
Comment on attachment 8525177 [details] [review] Documentation update Needs to be revised, thanks!
Attachment #8525177 -
Flags: review?(alexis+bugs) → review-
Assignee | ||
Comment 16•10 years ago
|
||
Comment on attachment 8525177 [details] [review] Documentation update Changes done.
Attachment #8525177 -
Flags: review- → review?(alexis+bugs)
Assignee | ||
Comment 17•10 years ago
|
||
Comment on attachment 8522866 [details] [review] Proposed patch (WIP) Changes done.
Attachment #8522866 -
Flags: review- → review?(alexis+bugs)
Comment 18•10 years ago
|
||
Comment on attachment 8525177 [details] [review] Documentation update thanks, doc is correct!
Attachment #8525177 -
Flags: review?(alexis+bugs) → review+
Comment 19•10 years ago
|
||
Comment on attachment 8522866 [details] [review] Proposed patch (WIP) We're almost there. I've made other comments there. You need to update the tests to not create new blocks when they're not needed and also update the documentation of the function which takes new parameters. Thanks!
Attachment #8522866 -
Flags: review?(alexis+bugs) → review-
Assignee | ||
Comment 20•10 years ago
|
||
Thank you alexis. Tests fixed and function documentation too. I cann't land the doc since I haven't write access.
Assignee | ||
Updated•10 years ago
|
Attachment #8522866 -
Flags: review- → review?(alexis+bugs)
Comment 21•10 years ago
|
||
Comment on attachment 8522866 [details] [review] Proposed patch (WIP) https://github.com/mozilla-services/loop-server/commit/6a27bad10eba44e38d5bf6e043a6f8822707457c https://github.com/mozilla-services/docs/commit/0e5c784dc98509c346d1966842d08ae06c1019b0
Attachment #8522866 -
Flags: review?(alexis+bugs) → review+
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(rtestard)
Flags: needinfo?(mreavy)
Resolution: --- → FIXED
Whiteboard: [loop-server 0.14]
Reporter | ||
Comment 22•10 years ago
|
||
Alexis, this bug has the [loop-server 0.14] whiteboard but if I am not wrong is not in that release (it's in development server) when do you plan push it to Production?
Flags: needinfo?(alexis+bugs)
Reporter | ||
Comment 23•10 years ago
|
||
Removing the ni, I am seeing that will be part of 0.14.0 https://github.com/mozilla-services/loop-server/releases (10th Dec) and now Production is 0.13.2
Flags: needinfo?(alexis+bugs)
You need to log in
before you can comment on or make changes to this bug.
Description
•