From 5e47d98387b5a08b78faeb5c1eb95480366a89aa Mon Sep 17 00:00:00 2001 From: Daniel LaLiberte Date: Thu, 30 May 2024 18:48:46 -0400 Subject: [PATCH] Move "Report an Issue" item to sidebar-menu. (#327) * Move the Report an Issue to sidebar menu. * Use sl-divider again, and fix styling. * Comment out stats part of test * lint --- .../sidebar-firefox-linux.png | Bin 8444 -> 8263 bytes .../test/webstatus-sidebar-menu.test.ts | 4 +-- .../js/components/webstatus-sidebar-menu.ts | 25 +++++++++++++++++- .../static/js/components/webstatus-sidebar.ts | 25 ------------------ 4 files changed, 26 insertions(+), 28 deletions(-) diff --git a/e2e/tests/sidebar.spec.ts-snapshots/sidebar-firefox-linux.png b/e2e/tests/sidebar.spec.ts-snapshots/sidebar-firefox-linux.png index ae82c8ce2454ebf05a684362dc242eb457adb98b..f63df777d81b2449c2675b0fbf82770e90563357 100644 GIT binary patch literal 8263 zcmd6tS5#A7wC|G;q)QY06ok;EgGv#Q5~0@8a#X(GJ}NEM_AQUwGADME;J zVnK?b1&~hY?JUlDIb)o0#<)-S-j|G(z4l&vuDREm^FM!k$LQ&((NJEegg_uP>JO9+ zAP^`5w5!Q4f!`0wb$$>C0-~;b-^kx)?M*`xVYG;fxFx{ znU0D{9JN$uSH}k}YwvQqoQB1|-29Ml?Pt6%xW&(19H^gK5ti-O_ zJINE+ZC-l~wGl$rLx#L^y;A0gNG3%nlnw$Fr1J(BUWDx)ebij)Kb2?wHX6K_Z7VFja0oQszWybLqp zg+R?i$UUHlKTTk?-Wx$gR``1z2(0#q?hg#v;Yoo+#^2jpk|sBM0}R>a=paR-=NQmv zR=?E|FS=?OD0$zC5}FDE?d5?$rPqHJ5fFAhV0c^<=SaIqj6w(6Ly#tgj`DG87qC_&d;?-g$KS3GuiQ)jB;d9I)5Qpm~FGu z*$hcInk`mZ;5mf+Bmp?W68gV50!)WSPKO$XfI#tV5GY;sbzmWC$@5>}-4@2-aMD;8 zd?$Ai*YD3EmfL$zoa@;HF1#F%o}wsK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ZU5gs)*tYxBoW8X;eim%>-+>jF$LPdV!J^QCge zYH|n>0Rb~F5xt`>bB2L(CKtC51`*YLaTFjF%qR5mgmcpXhCBZLrgk!^f`L+lPa&9l zJv}e^yqw?O-W-cJK$xL&W_!zkyte%_mxgKN1%vwNXZVFS`xhmtzQB87++^l)(4l&% zVO!$_u}1ZBhmXqDH;;Xh2#WVJ6|eY3#xyI9sjPh`GA%n?Z7YPz`|{QXUwM8V9Cju8 z`#`2Z7Lr!BGrSw}4n1{LQ5UuNBJ%w`UR=r$ecOPICyveaS@fJ6Ry{UYOGXSAlqpK( z*a0?MZHLS^J0Z-w625l@eqYWCZC6zu!+|6vo;dx>p#Cr3bzB6GFgEK|VS{XQLt4)y zfZpub<%WTC2q{wvs7Wk9lRg=mQCN@ { const tree = el.shadowRoot?.querySelector('sl-tree'); const featuresItem = tree?.querySelector('#features-item'); - const statsItem = tree?.querySelector('#statistics-item'); + // const statsItem = tree?.querySelector('#statistics-item'); const bookmarkItems = featuresItem?.querySelectorAll('sl-tree-item'); expect(tree).to.exist; expect(featuresItem).to.exist; - expect(statsItem).to.exist; + // expect(statsItem).to.exist; expect(bookmarkItems).to.have.lengthOf(2); // Number of test bookmarks // By default no bookmarks should be highlighted diff --git a/frontend/src/static/js/components/webstatus-sidebar-menu.ts b/frontend/src/static/js/components/webstatus-sidebar-menu.ts index b6bc4ab5..f5cdd71b 100644 --- a/frontend/src/static/js/components/webstatus-sidebar-menu.ts +++ b/frontend/src/static/js/components/webstatus-sidebar-menu.ts @@ -30,6 +30,8 @@ import { navigateToUrl, } from '../utils/app-router.js'; +import {GITHUB_REPO_ISSUE_LINK} from '../utils/constants.js'; + // Map from sl-tree-item ids to paths. enum NavigationItemKey { FEATURES = 'features-item', @@ -93,6 +95,15 @@ export class WebstatusSidebarMenu extends LitElement { color: inherit; text-decoration: none; } + + .report-issue-item { + margin-top: auto; + } + + .report-issue-link { + color: inherit; + text-decoration: none; + } `, ]; } @@ -262,8 +273,20 @@ export class WebstatusSidebarMenu extends LitElement { this.renderBookmark(bookmark, index) )} -