1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 02:08:47 +02:00
phorge-phorge/src/applications
epriestley 4dd87f1ad3 Drive Differential landing page with DifferentialRevisionQuery, simplify UI
Summary:
  - Use DifferentialRevisionQuery, not DifferentialRevisionListData, to select
revisions.
  - Make UI simpler (I hope?) and more flexible, similar to Maniphest. It now
shows "Active", "Revisions", "Reviews" and "Subscribed" instead of a hodge-podge
of miscellaneous stuff. All now really has all revisions, not just open
revisions.
  - Allow views to be filtered and sorted more flexibly.
  - Allow anonymous users to use the per-user views, just don't default them
there.

NOTE: This might have performance implications! I need some help evaluating
them.

@nh / @jungejason / @aran, can one of you run some queries agianst FB's corpus?

The "active revisions" view is built much differently now. Before, we issued two
queries:

  - SELECT (open revisions you authored that need revision) UNION ALL (open
revisions you are reviewing that need review)
  - SELECT (open revisions you authored that need review) UNION ALL (open
revisions you are reviewing that need revision)

These two queries generate the "Action Required" and "Waiting on Others" views,
and are available in P247.

Now, we issue only one query:

  - SELECT (open revisions you authored or are reviewing)

Then we divide them into the two tables in PHP. That query is available in P246.

On the secure.phabricator.com data, this new approach seems to be much better
(like, 10x better). But the secure.phabricator.com data isn't very large. Can
someone run it against Facebook's data (using a few heavy-hitting PHIDs, like
ola or something) to make sure it won't cause a regression?

In particular:

  - Run the queries and make sure the new version doesn't take too long.
  - Run the queries with EXPLAIN and give me the output maybe?

Test Plan:
  - Looked at different filters.
  - Changed "View User" PHID.
  - Changed open/all.
  - Changed sort order.
  - Ran EXPLAIN / select against secure.phabricator.com corpus.

Reviewers: btrahan, nh, jungejason

Reviewed By: btrahan

CC: cpiro, aran, btrahan, epriestley, jungejason, nh

Maniphest Tasks: T586

Differential Revision: 1186
2011-12-16 13:21:54 -08:00
..
auth Provide a configuration flag to disable silliness in the UI 2011-11-04 15:24:54 -07:00
base Make detection/recovery for bad cookies more strict 2011-08-19 15:45:35 -07:00
calendar Build a basic calendar view 2011-08-08 10:34:06 -07:00
conduit Add author to differential.getrevisionfeedback 2011-12-13 16:35:57 -08:00
countdown Countdown - kill tabs 2011-12-15 14:31:25 -08:00
daemon Refactor repository reparse scripts to be more useful 2011-09-27 17:20:04 -07:00
differential Drive Differential landing page with DifferentialRevisionQuery, simplify UI 2011-12-16 13:21:54 -08:00
diffusion Clean up two more sha1 instances 2011-11-20 14:21:26 -08:00
directory Dedupe DIRECTORY w/ Directory tab in directory header 2011-11-28 13:03:46 -08:00
draft/storage Revision comment drafts. 2011-02-05 16:57:21 -08:00
feed Fix generateChronologicalKey() for 32-bit machines 2011-09-14 09:03:45 -07:00
files Files - kill tabs 2011-12-15 14:32:12 -08:00
help/controller Explicitly show that "escape" closes dialogs in Phabricator 2011-08-02 09:21:28 -07:00
herald Add Related Commits for Owners 2011-12-14 22:48:57 -08:00
maniphest Add diff view for Maniphest Task "description changed" transactions 2011-12-08 18:15:19 -08:00
markup Minor remarkup updates 2011-12-01 10:15:38 -08:00
metamta Prevent delivery of email to disabled objects 2011-11-16 11:07:50 -08:00
owners Add Related Commits for Owners 2011-12-14 22:48:57 -08:00
paste Paste - fix N query problem for file URIs 2011-12-14 12:30:10 -08:00
people phabricator_format_timestamp => phabricator_datetime 2011-12-04 08:51:34 -08:00
phid make arc diff link maniphest tasks with revisions 2011-12-03 11:34:55 -08:00
phriction Fix comment from D1221 to have updated variable 2011-12-15 14:37:44 -08:00
project phabricator_format_timestamp => phabricator_datetime 2011-12-04 08:51:34 -08:00
repository Add Related Commits for Owners 2011-12-14 22:48:57 -08:00
search Some documentation updates. 2011-09-14 08:02:31 -07:00
slowvote Fix link to Slowvote user guide 2011-10-20 14:33:34 -07:00
status/base Add /status/ 2011-04-08 11:13:51 -07:00
typeahead/controller Add a name token table so on-demand typeaheads can match last names 2011-10-23 14:25:26 -07:00
uiexample Examples using JX.View 2011-11-06 15:17:00 -08:00
xhpastview Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
xhprof Improve DarkConsole "Services" and "XHProf" plugins 2011-07-11 12:51:58 -07:00