Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3DB9F200D20 for ; Tue, 17 Oct 2017 23:03:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3C6831609EB; Tue, 17 Oct 2017 21:03:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 820C01609D9 for ; Tue, 17 Oct 2017 23:03:43 +0200 (CEST) Received: (qmail 68055 invoked by uid 500); 17 Oct 2017 21:03:42 -0000 Mailing-List: contact reviews-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.apache.org Delivered-To: mailing list reviews@aurora.apache.org Received: (qmail 68044 invoked by uid 99); 17 Oct 2017 21:03:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2017 21:03:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AA3B7180733; Tue, 17 Oct 2017 21:03:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.249 X-Spam-Level: *** X-Spam-Status: No, score=3.249 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, KAM_LOTSOFHASH=0.25, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id sq7NsJe1VIaC; Tue, 17 Oct 2017 21:03:40 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 60F2F5FC6A; Tue, 17 Oct 2017 21:03:39 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B20E1E069F; Tue, 17 Oct 2017 21:03:38 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id E0CA8C41106; Tue, 17 Oct 2017 21:03:36 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4407519141488145094==" MIME-Version: 1.0 Subject: Re: Review Request 63083: Add diff viewer to Update Page From: Stephan Erb To: Santhosh Kumar Shanmugham , Reza Motamedi , Kai Huang Cc: David McLaughlin , Aurora Date: Tue, 17 Oct 2017 21:03:36 -0000 Message-ID: <20171017210336.5693.44846@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Stephan Erb X-ReviewGroup: Aurora X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/63083/ X-Sender: Stephan Erb References: <20171017201119.5693.47562@reviews-vm2.apache.org> In-Reply-To: <20171017201119.5693.47562@reviews-vm2.apache.org> X-ReviewBoard-Diff-For: ui/src/main/js/components/UpdateDiff.js X-ReviewBoard-Diff-For: ui/src/main/js/components/Diff.js X-ReviewBoard-Diff-For: ui/src/main/js/components/__tests__/UpdateDiff-test.js X-ReviewBoard-Diff-For: ui/src/main/sass/components/_diff.scss X-ReviewBoard-Diff-For: ui/src/main/js/components/__tests__/Diff-test.js Reply-To: Stephan Erb X-ReviewRequest-Repository: aurora archived-at: Tue, 17 Oct 2017 21:03:44 -0000 --===============4407519141488145094== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63083/#review188390 ----------------------------------------------------------- Should we consider pretty printing the executor configuration (when assembling the thrift struct in the client)? Hopefully this would yield diffs that are a bit easier to read. - Stephan Erb On Oct. 17, 2017, 10:11 p.m., David McLaughlin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63083/ > ----------------------------------------------------------- > > (Updated Oct. 17, 2017, 10:11 p.m.) > > > Review request for Aurora, Kai Huang, Reza Motamedi, and Santhosh Kumar Shanmugham. > > > Repository: aurora > > > Description > ------- > > Add diff viewer from Job Page to Update Page. Key difference on update page is that the "after" diff is fixed - it's always the desiredState. But I've extracted the Diff rendering into a shared component between ConfigDiff and UpdateDiff, as well as the CSS. > > > Diffs > ----- > > ui/src/main/js/components/ConfigDiff.js 9627751293ff01c9a3b728e2c352894f1a1e22f3 > ui/src/main/js/components/Diff.js PRE-CREATION > ui/src/main/js/components/InstanceViz.js 99efec4c15fcc677820b3145f506997ef8a37207 > ui/src/main/js/components/UpdateConfig.js fac3c8856f3fdcb918fe82ac7d61cf0e53b23756 > ui/src/main/js/components/UpdateDiff.js PRE-CREATION > ui/src/main/js/components/__tests__/ConfigDiff-test.js 3eaa78a9660e1e4bac284d545f5fae05c24e93f7 > ui/src/main/js/components/__tests__/Diff-test.js PRE-CREATION > ui/src/main/js/components/__tests__/UpdateDiff-test.js PRE-CREATION > ui/src/main/js/test-utils/UpdateBuilders.js 2764f0e1d6446e5b3aa99d1dc1a952a20efa4798 > ui/src/main/sass/app.scss 3a799b658ad6c94144cda7beec38c4b72ec393d8 > ui/src/main/sass/components/_diff.scss PRE-CREATION > ui/src/main/sass/components/_job-page.scss 8523fcf4c917b46c9d514325f073bd5788798156 > ui/src/main/sass/components/_update-page.scss a0db0b43b61e8ef10c29195945e7543a982aeab1 > > > Diff: https://reviews.apache.org/r/63083/diff/1/ > > > Testing > ------- > > ./gradlew ui:lint > ./gradlew ui:test > > See screenshots. > > > File Attachments > ---------------- > > Selecting from multiple initial configs > https://reviews.apache.org/media/uploaded/files/2017/10/17/df437cfa-a97c-4aa1-9a95-2e4291020b9b__Screen_Shot_2017-10-17_at_11.22.18_AM.png > Showing diff by default > https://reviews.apache.org/media/uploaded/files/2017/10/17/740cc0a0-9ac7-413a-8a33-fe452f998400__Screen_Shot_2017-10-17_at_1.09.32_PM.png > > > Thanks, > > David McLaughlin > > --===============4407519141488145094==--