Customize UI to differentiate from Chromium's instance
- Rename "Monorail" in the home page's header to "avm99963 bugs".
- Remove <chops-announcement>.
- Remove Chromium logo from the home page background.
- Add markdown support for the vulnz and vulnz-old projects.
GitOrigin-RevId: 57bcf549c1eb7c383d25e6a4790c90337d396e91
diff --git a/static_src/elements/framework/mr-header/mr-header.js b/static_src/elements/framework/mr-header/mr-header.js
index 6603c85..be6afad 100644
--- a/static_src/elements/framework/mr-header/mr-header.js
+++ b/static_src/elements/framework/mr-header/mr-header.js
@@ -198,7 +198,7 @@
</a>
${this._headerTitle ?
html`<span class="home-link">${this._headerTitle}</span>` :
- html`<a href="/" class="home-link">Monorail</a>`}
+ html`<a href="/" class="home-link">avm99963 bugs</a>`}
<div class="right-section">
${this._renderAccount()}
diff --git a/static_src/elements/mr-app/mr-app.js b/static_src/elements/mr-app/mr-app.js
index a48d40f..c91511f 100644
--- a/static_src/elements/mr-app/mr-app.js
+++ b/static_src/elements/mr-app/mr-app.js
@@ -20,7 +20,6 @@
import * as sitewide from 'reducers/sitewide.js';
import {arrayToEnglish} from 'shared/helpers.js';
import {trackPageChange} from 'shared/ga-helpers.js';
-import 'elements/chops/chops-announcement/chops-announcement.js';
import 'elements/issue-list/mr-list-page/mr-list-page.js';
import 'elements/issue-entry/mr-issue-entry-page.js';
import 'elements/framework/mr-header/mr-header.js';
@@ -84,7 +83,6 @@
.loginUrl=${this.loginUrl}
.logoutUrl=${this.logoutUrl}
></mr-header>
- <chops-announcement service="monorail"></chops-announcement>
<mr-site-banner></mr-site-banner>
<mr-cue
cuePrefName=${cueNames.SWITCH_TO_PARENT_ACCOUNT}
diff --git a/static_src/elements/projects/mr-projects-page/mr-projects-page.js b/static_src/elements/projects/mr-projects-page/mr-projects-page.js
index 1124ef0..df0c823 100644
--- a/static_src/elements/projects/mr-projects-page/mr-projects-page.js
+++ b/static_src/elements/projects/mr-projects-page/mr-projects-page.js
@@ -36,20 +36,6 @@
max-width: 1280px;
width: 100%;
}
- :host::after {
- content: "";
- background-image: url('/static/images/chromium.svg');
- background-repeat: no-repeat;
- background-position: right -100px bottom -150px;
- background-size: 700px;
- opacity: 0.09;
- width: 100%;
- height: 100%;
- bottom: 0;
- right: 0;
- position: fixed;
- z-index: -1;
- }
h2 {
font-size: 20px;
letter-spacing: 0.1px;
diff --git a/static_src/shared/md-helper.js b/static_src/shared/md-helper.js
index da5ac3c..8f90676 100644
--- a/static_src/shared/md-helper.js
+++ b/static_src/shared/md-helper.js
@@ -2,7 +2,7 @@
import DOMPurify from 'dompurify';
/** @type {Set} Projects that default Markdown rendering to true. */
-export const DEFAULT_MD_PROJECTS = new Set(['monkeyrail', 'monorail', 'fuchsia']);
+export const DEFAULT_MD_PROJECTS = new Set(['vulnz', 'vulnz-old', 'monkeyrail', 'monorail']);
/** @type {Set} Projects that allow users to opt into Markdown rendering. */
export const AVAILABLE_MD_PROJECTS = new Set([...DEFAULT_MD_PROJECTS]);