Page MenuHomePhabricator

[Task] Update NativeEditor related Icons, text formatting and fonts
Closed, ResolvedPublic

Assigned To
Authored By
OTichonova
Aug 18 2023, 4:03 PM
Referenced Files
F41729743: Group 427318309.png
Jan 29 2024, 11:49 PM
F41729730: IMG_3188.png
Jan 29 2024, 11:49 PM
F41534395: botfrt colotd.png
Jan 29 2024, 11:49 PM
File Not Attached
F41729718: Group 427318306.png
Jan 29 2024, 11:49 PM
F41729723: Group 427318308.png
Jan 29 2024, 11:49 PM
F41596558: Nice to have.mov
Dec 12 2023, 4:45 PM
F41596563: Full page formatting.png
Dec 12 2023, 4:45 PM
F41596586: Full page formatting.png
Dec 12 2023, 4:45 PM

Description

V1 improvements to the native text editor

Initial improvements include updated -> icons, text formatting and fonts based on our component library.

Designs
Figma file
The icon audit and additional information can be found -> T299794

Toolbar, text formatting, and text sizes

Toolbar view 1Toolbar view: selectedToolbar view 2Text formatting sheetText formatting: sizesToolbar 3: Double tap on textSizes 2
Toolbar 1.png (667×375 px, 47 KB)
Toolbar 1 Selected.png (667×375 px, 47 KB)
Toolbar 2.png (667×375 px, 46 KB)
Text formatting.png (667×375 px, 44 KB)
Sizes 1.png (667×375 px, 42 KB)
Toolbar 3.png (667×375 px, 55 KB)
Sizes 2.png (667×375 px, 43 KB)

Syntax color

  • Don't think the purple or the red-100 were part of the earlier color update (both colors are found on desktop. Slight chance these might be updated
DefaultSepiaDarkBlack
Syntax default.png (667×375 px, 38 KB)
Syntax sepia.png (667×375 px, 41 KB)
Syntax dark.png (667×375 px, 62 KB)
Syntax black.png (667×375 px, 56 KB)

Colors

Colors.png (1×2 px, 125 KB)

Event Timeline

Seddon renamed this task from Icons, text formatting and Fonts are updated based on our component library to [Task] Update NativeEditor related Icons, text formatting and fonts.Oct 3 2023, 1:33 AM

Some of this work was covered in prototype prep done as part of: https://github.com/wikimedia/wikipedia-ios-components/pull/8

This task is focused on bringing alignment between the components and the design system.

Icons work is merged, the syntax highlighting will be done as the various formatters are added. Moving back into Ready for Dev for input view changes.

Input view rework PR: https://github.com/wikimedia/wikipedia-ios/pull/4696

@OTichonova as discussed between ourselves and @JTannerWMF, please update this ticket's mocks to reflect your ideal designs for the keyboard input view.

Before (two keyboard views):

IMG_0300.PNG (2×1 px, 245 KB)

IMG_0301.PNG (2×1 px, 253 KB)

Current PR (one view):

Screenshot 2023-12-07 at 4.50.23 PM.jpeg (2×1 px, 957 KB)

Tsevener added a subscriber: Mazevedo.

Hi @Tsevener, thank you for sharing!

The mocks below and in the Figma file

Keyboard viewSelected formattingToolbar 1
Full page formatting-2.png (667×375 px, 45 KB)
Full page formatting.png (667×375 px, 47 KB)
Full page formatting.png (667×375 px, 47 KB)

Per discussion, there is no more 'clear formatting'. One can select and deselect formatting options.

@Mazevedo I have made progress on this new keyboard input design in https://github.com/wikimedia/wikipedia-ios/pull/4696. Can you review and merge that, then start on a followup-PR to get closer to Olga's designs in https://phabricator.wikimedia.org/T344508#9400570? Feel free to incorporate any PR feedback you had in #4696 into your followup PR.

If you run into merge conflicts, the native-editor-prs branch might help you decide what to keep. It has all Native Editor PRs merged into one branch.

Thanks!

Tsevener raised the priority of this task from Low to Medium.Jan 19 2024, 9:41 PM

@OTichonova I kicked off a new build with my progress on this. I still have these small things left to do, which is why this isn't in the design review column yet:

  1. Update the icons for undo, redo, and opening the reading themes popover.
  2. Improve the top spacing in the reading themes popover.
  3. Fix bug where reading themes text circles are truncated on larger dynamic type sizes.
  4. Maybe add a shadow on top of the keyboard formatting menus so that they don't disappear as much.

Feel free to design review all other parts of this ticket. Thanks!

@OTichonova Completed work on this ticket will be in Experimental build #77.

@Tsevener, great work! This is so exciting!
I just have a couple of comments about color.

  1. Could the background colors and selected state colors in the toolbar match the colors in the text formatting sheet?
Current example from black theme
Group 427318308.png (667×792 px, 154 KB)
Updated toolbar background colors and selected state colors
Group 427318306.png (289×447 px, 68 KB)

Selected Default -> gray 200, EAECF0
Selected Sepia -> beige 400, EAECF0
Selected Dark & Black -> gray 600, 54595D

  1. The dividers in the toolbar are different thicknesses. Could they be thickness -> 0.5 and match the colors proposed in this ticket T351943?
Proposed colors
botfrt colotd.png (196×806 px, 16 KB)
Dividers currentlyNew
IMG_3188.png (61×375 px, 4 KB)
.
Group 427318309.png (60×375 px, 4 KB)
JTannerWMF claimed this task.