[go: up one dir, main page]

Page MenuHomePhabricator

Impact module: summary panel
Closed, ResolvedPublic

Description

Description

  • A new section at the top of the impact module with two key pieces of information, made up of block scorecards (T310661)
  • Proposed key pieces of information are:
    • Total edits - with link to the Special:Contributions page for the user
    • Thanks Received count - with link to Special:Log?type=thanks filtered by the user
  • Tooltip to explain Thanks:

Wikipedia is created by a community of editors like you. You may be thanked by another contributor for an edit you’ve made, and you can thank others for their edits too.

Initial designUpdated design with streak data
Screenshot 2022-09-08 at 10.46.33.png (2×2 px, 366 KB)
Screenshot 2022-10-03 at 10.35.45.png (2×1 px, 669 KB)

Figma Design

QQQ translator instructions

Acceptance Criteria

Given I'm viewing the Impact module,
When I view the summary panel,
Then I can see my "Total edits" count and "Thanks received" count

Given I'm viewing the Impact module,
When click or tap on the info icon next to my Thanks count,
Then I can see a helpful explanation:
More information
Wikipedia is created by a community of editors like you. You may be thanked by another contributor for an edit you’ve made, and you can thank others for their edits too.

Completion checklist

Functionality

  • The patches have been code reviewed and merged
  • The task passes its acceptance criteria

Engineering

  • There are existing and passing unit/integration tests
  • Tests for every involved patch should pass
  • Coverage for every involved project should have improved or stayed the same

Design & QA

  • If the task is UX/Design related: it must be reviewed and approved by the UX/Design team
  • Must be reviewed and approved by Quality Assurance.

Documentation

  • Related and updated documentation done where necessary

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

@KStoller-WMF I think this is actionable, I will create a separate task for the "Edit quality" component, which can be built later when its specifications are finalized.

Change 819113 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] User impact: add edit count and thanks score cards

https://gerrit.wikimedia.org/r/819113

Sgs changed the status of subtask T310661: Impact module: scorecards from Open to In Progress.Sep 22 2022, 10:48 PM

Change 819113 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] User impact: add edit count and thanks score cards

https://gerrit.wikimedia.org/r/819113

We're missing the Codex replacement for the tooltip component that shows information when clicking on the info icons. We could use the Mentor dashboard dropdown style component (mind that that component does not have horizontal overflow control so we might need to restrict its width and unfolding side for some time so it works on mobile). We could also try to use mobile front end dialogs although they are a bit obtrusive. Or we could create a hidden collapsible section under the score cards. cc @KieranMcCann @kostajh

@Sgs could you send me a screenshot of what you mean by ‘Mentor dashboard dropdown style component’ as I’m not entirely clear on what that is. Thanks

@Sgs could you send me a screenshot of what you mean by ‘Mentor dashboard dropdown style component’ as I’m not entirely clear on what that is. Thanks

mentor_info_dropdown.gif (940×1 px, 538 KB)

You can enroll as a mentor and claim some users as mentees in beta and test wikis using Special:EnrollAsMentor. The mentor dashboard is not developed for mobile so we did not work on the possible horizontal overflow problems :/

An alternative that I can think of is a contextual collapsible area below the scorecards as opposite of a floating overlay. Something similar to the red tooltip in the screenshot below:

Screenshot 2022-09-30 at 15.30.28.png (1×702 px, 360 KB)

Sgs changed the status of subtask T310661: Impact module: scorecards from In Progress to Open.Sep 30 2022, 1:47 PM

@Sgs Thanks for sending those. My preference would be to use the ‘mentor dashboard dropdown style’ you mentioned.

mentor_info_dropdown.gif (940×1 px, 538 KB)

Noting here that after discussion on T310666 it has been proposed that the ‘last edited’ and ‘best streak’ data points should be styled as scorecards and moved into the summary panel. Figma designs have been updated to reflect this.

@Sgs Thanks for sending those. My preference would be to use the ‘mentor dashboard dropdown style’ you mentioned.

mentor_info_dropdown.gif (940×1 px, 538 KB)

Ack, we will use that one until Codex provides a fine replacement.

Noting here that after discussion on T310666 it has been proposed that the ‘last edited’ and ‘best streak’ data points should be styled as scorecards and moved into the summary panel. Figma designs have been updated to reflect this.

Ack, I've updated the task description with the newer screenshot.

How would this change affect the mobile summary view in T318542: Impact module: Create mobile summary view?

image.png (430×750 px, 39 KB)

Should we only display the trend chart? @RHo

Change 842848 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] User impact: display best streak data in scorecards

https://gerrit.wikimedia.org/r/842848

Sgs changed the task status from Open to In Progress.Oct 14 2022, 6:36 PM
Sgs moved this task from In Progress to Code Review on the Growth-Team (Sprint 0 (Growth Team)) board.

Change 842848 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] User impact: display best streak data in scorecards

https://gerrit.wikimedia.org/r/842848

kostajh changed the task status from In Progress to Open.Oct 18 2022, 3:11 PM
kostajh moved this task from Code Review to QA on the Growth-Team (Sprint 0 (Growth Team)) board.
Sgs changed the task status from Open to In Progress.Oct 18 2022, 6:10 PM
Sgs moved this task from QA to Code Review on the Growth-Team (Sprint 0 (Growth Team)) board.

Change 844462 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] Mentee overview: move info popover components to vue-components

https://gerrit.wikimedia.org/r/844462

Change 844463 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] User impact: add infoboxes to thanks and streak scorecards

https://gerrit.wikimedia.org/r/844463

Change 844467 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] User impact: adapt content margin/padding when displayed in the mobile overlay

https://gerrit.wikimedia.org/r/844467

Change 844462 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Mentee overview: move info popover components to vue-components

https://gerrit.wikimedia.org/r/844462

Change 844467 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] User impact: adapt content margin/padding when displayed in the mobile overlay

https://gerrit.wikimedia.org/r/844467

Change 845482 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] User impact: use config skin instead of homepagemobile to adapt mobile styles

https://gerrit.wikimedia.org/r/845482

Change 844463 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] User impact: add infoboxes to thanks and streak scorecards

https://gerrit.wikimedia.org/r/844463

Change 850033 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] New impact: delete wrong info icon label

https://gerrit.wikimedia.org/r/850033

Change 850033 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] New impact: delete wrong info icon label

https://gerrit.wikimedia.org/r/850033

Sgs changed the task status from In Progress to Open.Oct 27 2022, 10:45 AM
Sgs moved this task from Code Review to QA on the Growth-Team (Sprint 0 (Growth Team)) board.
Etonkovidova subscribed.

@Sgs - is the following spec will be implemented in another task?

Thanks Received count - with link to Special:Log?type=thanks filtered by the user

For @RHo quick review - the functionality/UI seem to be fine. The screenshots are for illustration (no issues were found):

Screen Shot 2022-11-28 at 1.39.00 PM.png (1×2 px, 673 KB)
Screen Shot 2022-11-28 at 12.40.14 PM.png (512×872 px, 45 KB)

Mobile

IMG_2737.PNG (1×640 px, 128 KB)
IMG_2736.PNG (1×640 px, 129 KB)

Below is my note on the info buttons in RTL. If no follow-up actions are needed on this task, you may move it to Test in Production.

Note:

  • just double-checking if it's intended - two types of info icons are present in RTL

Screen Shot 2022-11-28 at 12.47.13 PM.png (1×2 px, 291 KB)

The bulb info icon is present in arwiki production now too - in the Add image dialog and on the MentorDashboard.

Screen Shot 2022-11-28 at 12.45.58 PM.png (618×886 px, 192 KB)

Screen Shot 2022-11-28 at 1.04.24 PM.png (998×2 px, 243 KB)

But the presence of two types info icons on Homepage makes it more noticeable. Also, the behavior - one icon has a closing button, another one disappears when the focus is shifted, and the third one has the Cancel button.

@Sgs - is the following spec will be implemented in another task?

Thanks Received count - with link to Special:Log?type=thanks filtered by the user

I made T324087: NewImpact: Thanks Received count should be a link to Special:Log?type=thanks filtered by the user for that.

T324087 - Verified in wmf.12.
Leaving in Design Review to get feedback on https://phabricator.wikimedia.org/T310665#8426469 (re different info icons on arwiki).

@Sgs - is the following spec will be implemented in another task?

Thanks Received count - with link to Special:Log?type=thanks filtered by the user

I made T324087: NewImpact: Thanks Received count should be a link to Special:Log?type=thanks filtered by the user for that.

T324087 - Verified in wmf.12.
Leaving in Design Review to get feedback on https://phabricator.wikimedia.org/T310665#8426469 (re different info icons on arwiki).

Thanks @Etonkovidova - this is indeed not expected, it should always be the "i" info icon in arwiki as well.
Secondly, please note that the info icons here should only be 16x16px sized per the spec (as it is expected to be using the the info icons and the popup button widget in OOUI):

image.png (190×1 px, 46 KB)

I am putting back into in-progress, + @KieranMcCann for visibility and re-review of revisions while I'm OoO. Thanks again!

Thanks @Etonkovidova - this is indeed not expected, it should always be the "i" info icon in arwiki as well.

I don't think that's the correct expectation, per discussion in T178568: [Investigate] Should some OOUI-icons be different on ar-wiki? my understanding is the expectation for Arabic language is to see a light bulb icon every where. The reason for the discrepancy is we're using a non-standard non-OOUI icon called info-unpadded per alignment requirements in T236854: [mobile] Newcomer tasks - UI issues with Suggested edits module and Difficulty overlay

Secondly, please note that the info icons here should only be 16x16px sized per the spec (as it is expected to be using the the info icons and the popup button widget in OOUI):

image.png (190×1 px, 46 KB)

In the new impact module built with Vue and Codex we're using Codex icons which render at 20x20px and so is the info icon from the suggested edits module per requirements in T258020#6439128.

My proposal would be to drop "info-unpadded" custom icon in favor of standard "info" which will always display as light bulb in Arabic and do any alignment adjustments in CSS.

Thanks @Etonkovidova - this is indeed not expected, it should always be the "i" info icon in arwiki as well.

I don't think that's the correct expectation, per discussion in T178568: [Investigate] Should some OOUI-icons be different on ar-wiki? my understanding is the expectation for Arabic language is to see a light bulb icon every where. The reason for the discrepancy is we're using a non-standard non-OOUI icon called info-unpadded per alignment requirements in T236854: [mobile] Newcomer tasks - UI issues with Suggested edits module and Difficulty overlay

Secondly, please note that the info icons here should only be 16x16px sized per the spec (as it is expected to be using the the info icons and the popup button widget in OOUI):

image.png (190×1 px, 46 KB)

In the new impact module built with Vue and Codex we're using Codex icons which render at 20x20px and so is the info icon from the suggested edits module per requirements in T258020#6439128.

There was a task recent to update the smaller info that is used in these tooltip/popovers so that it shows at the smaller size https://phabricator.wikimedia.org/T311382. If we are proceeding with the lightbulb icon for Arabic, it should be similarly made smaller - is this a relatively easy fix?

My proposal would be to drop "info-unpadded" custom icon in favor of standard "info" which will always display as light bulb in Arabic and do any alignment adjustments in CSS.

Thanks, works for me.

Change 877167 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] WIP use standard info icon instead of info-unpadded

https://gerrit.wikimedia.org/r/877167

Change 877167 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] WIP use standard info icon instead of info-unpadded

https://gerrit.wikimedia.org/r/877167

@Sgs assigning to you, per the patch you've submitted.

Change 877167 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] WIP use standard info icon instead of info-unpadded

https://gerrit.wikimedia.org/r/877167

@Sgs assigning to you, per the patch you've submitted.

I have filed T327497: Standardize info icon size and RTL alternative graphic to tackle the icon discrepancies aside since there are some design questions I'd like to clarify. And also this ticket can go to QA/Test in production, if @Etonkovidova agrees.