Page MenuHomePhabricator

[S] Adapt the "Edit summary" existing view and add new pre-populated summary options for Image Recs
Open, MediumPublic

Description

Create the Save Changes (Edit Summary) screen according to figma reference

image.png (1×2 px, 572 KB)

Requirements:
  • 'Publish' is deemphasized until edit summary is added. (This pattern should apply everywhere).
  • Add tapable pre-populated edit summaries "Added image" and "Added image and caption" which autofill into field (Parity with Android edit summary)
  • Incorporate the guidance in T354219 and apply to all edit summary screens

Testing Notes

Please test in TestFlight Wikipedia app 7.5.0 (3509).

Event Timeline

This comment was removed by Mazevedo.
JTannerWMF triaged this task as Medium priority.Mar 5 2024, 3:56 PM
JTannerWMF updated the task description. (Show Details)
Tsevener renamed this task from [M/L] Adapt the "Edit summary" existing view and add new pre-populated summary options for Image Recs to Adapt the "Edit summary" existing view and add new pre-populated summary options for Image Recs.Mar 5 2024, 4:55 PM

@HNordeenWMF @OTichonova I want to confirm this requirement:

'Publish' is disabled until edit summary is added. (This pattern should apply everywhere).

By disabled do you mean the user cannot tap it, or just that it's de-emphasized with the gray color (as T354219 suggests)?

Hi @Tsevener, I think this has been updated to de-emphasized rather than disabled.
So 'Publish' would be gray500 in the de-emphasized state.

@HNordeenWMF

thanks, yes it should read deemphasized! Updated it in the task as well.

Tsevener renamed this task from Adapt the "Edit summary" existing view and add new pre-populated summary options for Image Recs to [S] Adapt the "Edit summary" existing view and add new pre-populated summary options for Image Recs.Mar 25 2024, 6:51 PM

Eng Note: For this view, I want us to try preventing the "Publish" button from actually posting an edit to the backend, only for the Experimental build. This is so that design review can occur against EN Image Recommendations without actually making edits.

Experimental build is #108 for design review.

Note: Test Wiki does not have image recommendations, so I am hiding the actual posting of edits in this experimental build so that design can play with it on other Wikis without updating live data.

Hi @Tsevener!
A couple small things.

  1. Can we get rid of the line between the two toggles?
  2. Could the text in the confirmation toast be gray 700 rather than blue 600?
  3. To Glauco's feedback (from here T354219). Could we make the margins on these screens (in the editing flow also) 16points?
{F47258737}{F47258756}

I just realized the relationship between this ticket and T354219. I left additional comments in T354219.

Can be tested in Staging build 7.4.11 (77).

Please test in TestFlight Wikipedia app 7.5.0 (3509).