Skip to content

Commit

Permalink
Add main menu link for annual roadmap. (#4332)
Browse files Browse the repository at this point in the history
* Add main menu link for annual roadmap.

* Link to the new URL for the feature list page.
  • Loading branch information
jrobbins authored Sep 27, 2024
1 parent 9f17cc8 commit fc41ec5
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion client-src/elements/chromedash-drawer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,12 @@ export class ChromedashDrawer extends LitElement {
const myFeaturesMenu = this.renderMyFeaturesMenu();
const adminMenu = this.renderAdminMenu();

const year = new Date().getFullYear();
const shippingThisYear = this.renderNavItem(
'/features?q=shipping_year=' + year,
'Shipping ' + year
);

return html`
<sl-drawer
label="Menu"
Expand All @@ -272,7 +278,8 @@ export class ChromedashDrawer extends LitElement {
?open=${!IS_MOBILE && this.defaultOpen}
>
${accountMenu} ${this.renderNavItem('/roadmap', 'Roadmap')}
${this.renderNavItem('/features', 'All features')} ${myFeaturesMenu}
${this.renderNavItem('/features', 'All features')} ${shippingThisYear}
${myFeaturesMenu}
<hr />
<div class="section-header">Stats</div>
${this.renderNavItem('/metrics/css/popularity', 'CSS')}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fc41ec5

Please sign in to comment.