From 532f55d132206dd64308da3fa4290cde8c25fac7 Mon Sep 17 00:00:00 2001 From: Andrew Kenneth MacLeay Date: Tue, 16 Jul 2024 13:48:00 -0400 Subject: [PATCH 1/3] feat: Activity links I found it quite a bit distracting that I could not open activity detail in a new window - especially as filters on the matrix page do not persist on navigation. This changes the detail navigation from an onclick to a regular ol' HTML link, allowing "open in new window" etc. --- package-lock.json | 1 + package.json | 1 + src/app/component/matrix/matrix.component.css | 7 ----- .../component/matrix/matrix.component.html | 30 ++++++++++--------- src/app/component/matrix/matrix.component.ts | 3 +- 5 files changed, 20 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index cdf3497f..c993f86c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,6 +61,7 @@ "karma-jasmine-html-reporter": "~1.7.0", "prettier": "^2.7.1", "prettier-eslint": "^15.0.1", + "qs": "^6.11.0", "typescript": "^4.6.4" } }, diff --git a/package.json b/package.json index a845f892..233c8b4b 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,7 @@ "karma-jasmine-html-reporter": "~1.7.0", "prettier": "^2.7.1", "prettier-eslint": "^15.0.1", + "qs": "^6.11.0", "typescript": "^4.6.4" }, "browser": { diff --git a/src/app/component/matrix/matrix.component.css b/src/app/component/matrix/matrix.component.css index fec9027e..6a9cb676 100644 --- a/src/app/component/matrix/matrix.component.css +++ b/src/app/component/matrix/matrix.component.css @@ -34,13 +34,6 @@ max-width: 9%; } -button { - background-color: white; - border: none; - text-align: left; - cursor: pointer; -} - .tags-activity { font-weight: 800; font-style: italic; diff --git a/src/app/component/matrix/matrix.component.html b/src/app/component/matrix/matrix.component.html index 6d0cb47e..12d3ed30 100644 --- a/src/app/component/matrix/matrix.component.html +++ b/src/app/component/matrix/matrix.component.html @@ -63,21 +63,23 @@