| // Copyright 2020 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| import {LitElement, html, css} from 'lit-element'; |
| * `<mr-issue-entry-page>` |
| * This is the main details section for a given issue. |
| export class MrIssueEntryPage extends LitElement { |
| static get properties() { |
| userDisplayName: {type: String}, |
| loginUrl: {type: String}, |
| /* dependency injection for testing purpose */ |
| super.connectedCallback(); |
| if (!this.userDisplayName) { |
| this._page(this.loginUrl); |
| <div>SPA issue entry page place holder</div> |
| customElements.define('mr-issue-entry-page', MrIssueEntryPage); |