Conversation
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
natalialuzuriaga
left a comment
There was a problem hiding this comment.
Just a question double checking a variable but otherwise LGTM!
app/site/_data/site.js
Outdated
| const baseurl = isProduction ? "/metrics" : "" | ||
|
|
||
| // For modification between public and private repos | ||
| const githubBaseUrl = isProduction ? "https://github.cms.gov" : "https://github.com" |
There was a problem hiding this comment.
Just wanted to check, is the isProduction variable the right flag to determine the githubBaseUrl?
There was a problem hiding this comment.
Ooh, this is a really good catch. This solves for production, but not for development. I think the cleanest solution is adding an environmental variable and doing the same in the private metrics repo. I'll add here and then to metrics_internal.
decause-gov
left a comment
There was a problem hiding this comment.
Once Nat's question is addressed, LGTM +1 🚢
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
Signed-off-by: Dinne Kopelevich <dinne.kopelevich@gsa.gov>
| executablePath: "/usr/bin/google-chrome" | ||
| } |
There was a problem hiding this comment.
[prettier] reported by reviewdog 🐶
| executablePath: "/usr/bin/google-chrome" | |
| } | |
| executablePath: "/usr/bin/google-chrome", | |
| }, |
| urls: [ | ||
| "http://localhost:8080" | ||
| ] | ||
| } No newline at end of file |
There was a problem hiding this comment.
[prettier] reported by reviewdog 🐶
| urls: [ | |
| "http://localhost:8080" | |
| ] | |
| } | |
| urls: ["http://localhost:8080"], | |
| } | |
Problem
A path issue existed in the issues/new urls and extra "/" was being created.
Solution
href="https://{{ site.baseurl }}/{{ org }}/metrics/issues/new"inbanner.liquidtohref="{{ site.githubBaseUrl}}/{{ org }}/metrics/issues/new"this ensure the url behaves the same in both private and public CMS repos.githubBaseUrlto site.jsResult
Path issue fixed.
Next steps