Closed Bug 1173313 Opened 9 years ago Closed 9 years ago

[SMS] Use 'copy-text' instead of 'select-text' when long-pressing sent messages in conversation history.

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: chenpighead, Assigned: chenpighead)

References

Details

Attachments

(1 file)

In the original selet-text option, we need two steps to copy a sent message:
1. use selectAllChildren() to select text
2. press selection bubble to select the texts

Since Bug 1012662 provide new api about copy/paste. We should be able to use this feature to provide a single step solution to copy a sent message.
Summary: Use 'copy-text' instead of 'select-text' when long-pressing sent messages in conversation history. → [SMS] Use 'copy-text' instead of 'select-text' when long-pressing sent messages in conversation history.
Depends on: 1012662
Attached file PR
Hi Steve, please take a look at this. Thx :)
Assignee: nobody → jeremychen
Status: NEW → ASSIGNED
Attachment #8617861 - Flags: review?(schung)
Jeremy, how do we copy only a part of a message with this change ?
(In reply to Julien Wajsberg [:julienw] from comment #2)
> Jeremy, how do we copy only a part of a message with this change ?

Once we tap 'copy-text', focus has been changed to the message, so we can long press to select partial text of the message. But, it seems not trivial for users....hmmm. 

How about keeping the original 'select-text' function as before and add 'copy-message' as a new option? In that case, users can easily select part of a message from 'select-text', and they are also able to use 'copy-message' as a shortcut to copy a whole message.
This is a question to Jenny :)
Flags: needinfo?(jelee)
(In reply to Jeremy Chen [:jeremychen] from comment #3)
> (In reply to Julien Wajsberg [:julienw] from comment #2)
> > Jeremy, how do we copy only a part of a message with this change ?
> 
> Once we tap 'copy-text', focus has been changed to the message, so we can
> long press to select partial text of the message. But, it seems not trivial
> for users....hmmm. 
> 
> How about keeping the original 'select-text' function as before and add
> 'copy-message' as a new option? In that case, users can easily select part
> of a message from 'select-text', and they are also able to use
> 'copy-message' as a shortcut to copy a whole message.

Yep I think it's a good question for UX. To me that removing the selectable text range seems a little bit inconvenience, but having both option might be a considerable choice.
Hi Jeremy,
 
Context menu as it is already pretty full, also, user can easily copy all the text with current design (just one more tap). If we add one more option (copy text), user would have to distinguish and determine which option is desired at menu level (What's the difference between "select text" and "copy text"? which one do I want?), which would potentially require more mental effort. So I wouldn't suggest adding "copy text". Thanks!
Flags: needinfo?(jelee)
Let's close this bug then. Sorry Jeremy !
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Comment on attachment 8617861 [details] [review]
PR

Clear the review request.
Attachment #8617861 - Flags: review?(schung)
(In reply to Julien Wajsberg [:julienw] from comment #7)
> Let's close this bug then. Sorry Jeremy !

It's ok. Thank you all for the quick feedbacks.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: