Page MenuHomePhabricator

Show pageview graphs directly on the action=info page
Open, Needs TriagePublic

Description

The pageview graph is only shown when the user clicks the page view count, which is not particularly intuitive.

Instead, the graph could show on the page directly in its own section without needing an extra click.

Relevant extension: https://www.mediawiki.org/wiki/Extension:PageViewInfo

Screenshots of current behavior:

Event Timeline

Tgr created this task.Mar 22 2017, 12:16 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 22 2017, 12:16 AM
MZMcBride added a subscriber: Legoktm.

Thanks for filing this task. I discussed this with @Legoktm in January 2016.

12:54 <Leah> MatmaRex_mobile: https://imgur.com/a/fHtjz
12:54 <Leah> Is the graph I meant.
12:55 <MatmaRex_mobile> oooh, legoktm, you've got the dialog working? yay
12:55 <legoktm> MatmaRex_mobile: yeah :D
12:55 <Leah> The dialog seems weird to me.
12:55 <Leah> I thought that was just for debugging.
12:56 <legoktm> Leah: er, why? how would you display the graph?
12:57 <Leah> On the page?
12:57 <Leah> I'm not sure I understand why it would use a dialog box.
12:59 <legoktm> like just display it by default?
12:59 <legoktm> without requiring any clicks?
12:59 <Leah> Yeah.
12:59 <Leah> If you want to see page information, why make the graphs an extra click?
13:02 <legoktm> so...just stick it on the right side of the page then?
13:02 <Leah> Why right side?
13:02 <Leah> legoktm: I'd probably just add an <h2> for now?
13:02 <legoktm> ok
13:02 <Leah> == Page views == or something.
13:04 <legoktm> that'll probably be easier to implement
13:04 <legoktm> :D
13:08 <Leah> Nice.
Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptMar 22 2017, 2:29 AM

@MZMcBride: good first task tasks are self-contained, non-controversial issues with a clear approach and should be well-described with pointers to help the new contributor. Given the current short task description I'm removing the good first task tag. Please re-add the tag once the task description has been polished and provides sufficient information for a new contributor. Thanks!

MZMcBride updated the task description. (Show Details)

Please re-add the tag once the task description has been polished and provides sufficient information for a new contributor.

I added some details to the task description.