Closed Bug 1050559 Opened 10 years ago Closed 10 years ago

Need typography quotes in keyboards

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1053672
2.1 S3 (29aug)

People

(Reporter: timdream, Assigned: mail2abin, Mentored)

References

Details

(Whiteboard: [good first bug][lang=js][mentor-lang=zh])

Attachments

(1 file, 1 obsolete file)

STR:

1. Try to type typography quotes like “ ” ‘ ’

Expected:

You can.

Actual:

You can't.

I think we should put these chars on alternatives menu to the double quote key or the single quote key. Flagging Omega for opinion and spec update.
Flags: needinfo?(ofeng)
That's a good idea.
I've just updated the spec in bug 983043.
Flags: needinfo?(timdream)
Flags: needinfo?(rlu)
Flags: needinfo?(ofeng)
For default symbol panel, we need to modify apps/keyboard/js/keyboard/layout_loader.js.
Besides, we may need to go through each layout in js/layouts and modify it if it has customized "alternateLayout".
Mentor: rlu
Flags: needinfo?(rlu)
Whiteboard: [good first bug][lang=js][mentor-lang=zh]
Thanks guys!
Flags: needinfo?(timdream)
Hi, I'm new here and would like to help fixing this bug. Rudy Lu please assign to me this bug.

Thanks!
I am working on this bug on this bug as a part of Mozilla Kerala community Boot Camp .please assign this bug to me
Please Specify the OS VERSION

Keyboards.symbolLayout = {//long press ' to choose  typography quotes in keyboards bug Bug 1050559 
  keys: [
    [
      { value: '‘'[
      { value: 'Alt', ratio: 1.2, keyCode: KeyEvent.DOM_VK_ALT },
      { value: '’' },
      { value: '⌫', ratio: 1.2, keyCode: KeyEvent.DOM_VK_BACK_SPACE }
    ], }, { value: '~' }, { value: '_' }, { value: '^' },
      { value: '±' }, { value: '|' }, { value: '[' }, { value: ']' },
      { value: '{' }, { value: '}' }
    ],

//this is solved for typography quotes ‘ ’
Abin and Bruno want to take this :-) Set needinfo in case you don't aware of it.
What about using (“) & {”) as an alternative of (") and  (‘) & (’) as an alternative of (')? 

Is there anyone working on this bug?
Yuan Xulei[:yxl] please assigning this bug to me.i am working on it..

i don't think changing keyboard layout is a good option,instead we can implement in as the method which i have mentioned above comment 7 ...
(In reply to Abin Abraham from comment #11)
> Yuan Xulei[:yxl] please assigning this bug to me.i am working on it..
> 
> i don't think changing keyboard layout is a good option,instead we can
> implement in as the method which i have mentioned above comment 7 ...
Assignee: nobody → mail2abin
Please see https://bug983043.bugzilla.mozilla.org/attachment.cgi?id=8471317#18 for spec.

The spec states exactly what comment 9 suggests.
Mentor: timdream
Attached patch patch.diff (obsolete) — Splinter Review
Hi, I'm Justine. I'm a newb to OSS, this is my first bug fix. Let me know if I need to change anything. Thanks! :)
Attachment #8474152 - Flags: review?(klahnakoski)
Comment on attachment 8474152 [details] [diff] [review]
patch.diff

Oops! Posted this for the wrong bug. Please delete and disregard this.
Attachment #8474152 - Flags: review?(klahnakoski) → review?(rlu)
Attached file keyboard.js
please review the keyboard.js file
Attachment #8474159 - Flags: review?(rlu)
Attachment #8474152 - Attachment is obsolete: true
Attachment #8474152 - Flags: review?(rlu)
Comment on attachment 8474159 [details]
keyboard.js

Please follow the steps here

https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Submitting_a_Gaia_patch

to create a pull request for review. Thanks!
Attachment #8474159 - Flags: review?(rlu)
Review completed and bug is fixed and merged 

..
Severity: normal → major
Priority: -- → P1
Target Milestone: --- → 2.1 S3 (29aug)
Please take a look at comment 17 and submit a pull request based on the lastest master branch.
Thanks.
Severity: major → normal
Priority: P1 → --
Flags: needinfo?(mail2abin)
Bug is fixed and the code has been merged ([gaia] bug 1050559 fixed (#22953))..
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(mail2abin)
Resolution: --- → INVALID
I don't see https://github.com/mozilla-b2g/gaia/pull/22953 is being merged nor reviewed. Also, that pull request has no line changes.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
The right way to ask for review is documented here:

https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Submitting_a_Gaia_patch

Abin, do you still want to work on this bug?
Status: REOPENED → ASSIGNED
Flags: needinfo?(mail2abin)
dup of your fixed bug?
Flags: needinfo?(mail2abin) → needinfo?(rlu)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago10 years ago
Flags: needinfo?(rlu)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: