From 5cb40d1ba70a9eb220c99938d950c6b5ee761502 Mon Sep 17 00:00:00 2001 From: Wyatt Allen Date: Mon, 18 Sep 2017 15:47:22 -0700 Subject: [PATCH] Include settings checkbox to drive legacycid_in_change_table preference The legacycid_in_change_table preference predates the change_table column preference and is thus persisted in separate field. With this change, a checkbox to drive this preference is added to the change table editor component as though it were a change_table preference. Feature: Issue 5333 Change-Id: Ia055ef23d7eec341455680b67bb6f3b0bdcbf531 --- .../gr-change-table-editor.html | 11 +++++++ .../gr-change-table-editor.js | 10 ++++++ .../gr-change-table-editor_test.html | 31 ++++++++++++++----- .../gr-settings-view/gr-settings-view.html | 1 + .../gr-settings-view/gr-settings-view.js | 6 +++- .../gr-settings-view_test.html | 19 ++++++++++++ 6 files changed, 69 insertions(+), 9 deletions(-) diff --git a/polygerrit-ui/app/elements/settings/gr-change-table-editor/gr-change-table-editor.html b/polygerrit-ui/app/elements/settings/gr-change-table-editor/gr-change-table-editor.html index c93ed0cc68..43343de0aa 100644 --- a/polygerrit-ui/app/elements/settings/gr-change-table-editor/gr-change-table-editor.html +++ b/polygerrit-ui/app/elements/settings/gr-change-table-editor/gr-change-table-editor.html @@ -49,6 +49,17 @@ limitations under the License. + + Number + + + +