blob: 90ffadb1b150665727b9025e948870e197ac5dc4 [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// This file bundles together all web components elements used on the
6// legacy EZT pages. This is to avoid having issues with registering
7// duplicate versions of dependencies.
8
9import page from 'page';
10
11import 'elements/framework/mr-dropdown/mr-account-dropdown.js';
12import 'elements/ezt/mr-bulk-approval-update/mr-bulk-approval-update.js';
13import 'elements/framework/links/mr-user-link/mr-user-link.js';
14import 'elements/chops/chops-timestamp/chops-timestamp.js';
15
16import 'elements/framework/mr-header/mr-header.js';
17import 'elements/issue-list/mr-chart/mr-chart.js';
18import 'elements/issue-detail/mr-flipper/mr-flipper.js';
19import 'elements/framework/mr-pref-toggle/mr-pref-toggle.js';
20import 'elements/ezt/ezt-show-columns-connector.js';
21import 'elements/ezt/ezt-app-base.js';
22
23// Register an empty set of page.js routes to allow the page() navigation
24// function to work.
25// Note: The EZT pages should NOT register the routes used by the SPA pages
26// without significant refactoring because doing so will lead to unexpected
27// routing behavior where the SPA is loaded on top of a server-rendered page
28// rather than instead of.
29page();