Page MenuHomePhabricator

Design Jade entity UI
Open, NormalPublic

Description

Create a complete design of a Jade entity page that allows viewing/editing proposals and endorsements.

Event Timeline

Harej created this task.Dec 19 2018, 11:24 PM
Harej removed a project: User-Testing.

We already have some code which implements the judgment view mode using a Mustache template, so maybe it would be easier to just tweak this template rather than write a JS layer for prototyping?

That will depend on what the wireframe ends up looking like; if it's a big radical change, it might be worth just prototyping first before implementing.

if it's a big radical change, it might be worth just prototyping first before implementing.

Great, I'm okay either way here. Another potential reason to write a JS prototype would be that we need to guarantee repeatable data for each test.

Link to the current template for reference:
https://phabricator.wikimedia.org/diffusion/EJAD/browse/master/templates/judgment_page.wiki.mustache

Harej triaged this task as High priority.Mar 19 2019, 9:48 PM
awight removed a subscriber: awight.Mar 21 2019, 4:05 PM
Harej removed a subscriber: Harej.Jul 4 2019, 9:26 AM
Halfak renamed this task from Jade Mockups: Entry view mode to Design Jade entity UI.Aug 6 2019, 8:08 PM
Halfak updated the task description. (Show Details)
Halfak added subscribers: Harej, Jeroen_N, Halfak, He7d3r.
Halfak added a comment.Aug 6 2019, 8:10 PM

Copied from T199128:

I'm not a designer, but I figured that it would help jump-start our design conversation if I took a stab at some layouts. Below are three wireframes that I have worked out to demonstrate some approaches we might take to generating a nice layout for a entity view. Note that the vertical "..." is intended to represent a menu tab that, when clicked, would display a pop-over menu pane containing options such as "edit", "remove", or "move". I couldn't find any standard way to represent such a thing so I made due.

Tabs

This view is inspired by the tab-based navigation of Special:Preferences. The tabs contain the consensus data. When a tab is selected, the proposals and endorsements are visible. One clear downside to this is that tabs will quickly run out of space horizontally. This can be dealt with by stacking tabs, but that is visually unappealing.

Table

This view was designed to experiment with strategies for mitigating the too-many-tabs problem. The idea is that a table of schemas would be visible. Each row would show the consensus data and some basic stats about the # of proposals/endorsements. When a row is expanded, the proposals and endorsements are visible.

Two Column

This wireframe was developed to explore a mobile compatible entity view. The vector image demonstrates two potential views of an entity. One uses the single-column mobile diff. The other uses a two column default diff view. Each schema is contained within a block that can stack and flow as the browser width changes. The blocks are initially compressed and only show the consensus data but they can be expanded to show reasoning behind the consensus proposal as well as counter-proposals and endorsements.

Copied from: T212374

https://docs.google.com/drawings/d/1fP-4Tmn4bDDLWKD_Uu_W0xQNM-QyRc4LDKQTkKNp_fc/edit covers a few different types of edits someone might do.

Menu items allow "edit", "details", "move", and "remove" where relevant. Editing happens within the view with a "✔ publish" and "✗ cancel" buttons inline. The "details" dialog makes metadata available to the UI. The goal here is not to replicate all of history but instead to provide some useful details for review.

My thought is that "move" only shows up for one's own endorsements. It's really just a convenience since "remove" and "endorse" perform roughly the same action.

Editing someone else's endorsement could be discouraged through the UI by a modal interruption ("You're editing someone else's endorsement. Are you sure?").

https://docs.google.com/drawings/d/1urHCaEycUs0n-63bTcWLOJtaRE7D08yWd8nQS6W6Jd0/edit covers the creation of endorsements and proposals.

Prtksxna removed a subscriber: Prtksxna.Aug 7 2019, 5:06 AM
Halfak lowered the priority of this task from High to Normal.Wed, Sep 11, 9:21 PM
Halfak claimed this task.Mon, Sep 16, 4:45 PM
Halfak moved this task from Active to Review on the Scoring-platform-team (Current) board.