Skip to content

Commit

Permalink
Merge pull request tech-by-design#1006 from megin1989/main
Browse files Browse the repository at this point in the history
fix: hide widgets in home page tech-by-design#244
  • Loading branch information
ratheesh-kr authored Jan 7, 2025
2 parents 2630a63 + a2b72af commit f279396
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 27 deletions.
2 changes: 1 addition & 1 deletion hub-prime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</parent>
<groupId>org.techbd</groupId>
<artifactId>hub-prime</artifactId>
<version>0.421.0</version>
<version>0.422.0</version>
<packaging>war</packaging>
<name>Tech by Design Hub (Prime)</name>
<description>Tech by Design Hub (Primary)</description>
Expand Down
32 changes: 6 additions & 26 deletions hub-prime/src/main/resources/templates/page/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
document.addEventListener('DOMContentLoaded', async function () {
const helpers = new Helpers();
// Inject the date range into the HTML
helpers.injectDateRangeText('dashboard-date-range', 'Synthetic Testing from {startDate} to {endDate} (FHIR)');
helpers.injectDateRangeText('dashboard-date-range', 'Submissions from {startDate} to {endDate}');
});
</script>
</head>
Expand Down Expand Up @@ -82,27 +82,7 @@ <h1 class="text-3xl font-bold mb-4 text-center">Welcome to Tech by Design Collab
</dl>
</div>

<div class="mt-8 flex flex-col items-center justify-center pb-4 w-full max-w-9xl">
<div class="text-center">Most Recent Flat Files SFTP <code>egress</code> Interactions (hover to see details)
</div>
<dl class="w-[100%] flex justify-between mt-5 grid gap-5 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5">
<div
th:replace="~{fragments/dashboard :: serverTextStat('HEALTHeLINK', @{/dashboard/stat/sftp/most-recent-egress/healthelink.html})}">
</div>
<div
th:replace="~{fragments/dashboard :: serverTextStat('healtheconnections', @{/dashboard/stat/sftp/most-recent-egress/healtheconn.html})}">
</div>
<div
th:replace="~{fragments/dashboard :: serverTextStat('Healthix', @{/dashboard/stat/sftp/most-recent-egress/healthix.html})}">
</div>
<div
th:replace="~{fragments/dashboard :: serverTextStat('Rochester', @{/dashboard/stat/sftp/most-recent-egress/grrhio.html})}">
</div>
<div
th:replace="~{fragments/dashboard :: serverTextStat('HixNY', @{/dashboard/stat/sftp/most-recent-egress/hixny.html})}">
</div>
</dl>
</div>


<!-- <div class="mt-12 w-full grid grid-cols-4 gap-8" id="dashboard-container">
<div th:replace="fragments/interactions :: serverTextStat"></div>
Expand All @@ -125,7 +105,7 @@ <h3 class="text-xl font-bold mb-4" id="dashboard-date-range"></h3>
<div id="loader" style="display: none;" class="mx-auto w-fit">Loading...</div>
<div id="mermaid-diagram"></div>
</div>
<div>
<!-- <div>
<h3 class="text-xl font-bold mb-4">Synthetic Testing with forced error August 6, 2024 (FHIR)</h3>
<pre class="mermaid bg-white p-4 rounded-lg shadow-md">
sequenceDiagram
Expand All @@ -143,7 +123,7 @@ <h3 class="text-xl font-bold mb-4">Synthetic Testing with forced error August 6,
ScoringEngine ->> SHINNY: Submit only 50% to Data lake
SHINNY ->> MDW: Submit to MDW
</pre>
</div>
</div> -->
<div>
<h3 class="text-xl font-bold mb-4">Production (FHIR)</h3>
<pre class="mermaid bg-white p-4 rounded-lg shadow-md">
Expand Down Expand Up @@ -185,7 +165,7 @@ <h3 class="text-xl font-bold mb-4">Production (FHIR)</h3>
</div>
</div>

<div class="mt-12 w-full grid grid-cols-2 gap-8">
<!-- <div class="mt-12 w-full grid grid-cols-2 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">Synthetic Testing (flat files)</h3>
<pre class="mermaid bg-white p-4 rounded-lg shadow-md">
Expand All @@ -200,7 +180,7 @@ <h3 class="text-xl font-bold mb-4">Production (flat files)</h3>
participant TODO as TODO
</pre>
</div>
</div>
</div> -->


<script th:inline="javascript">
Expand Down

0 comments on commit f279396

Please sign in to comment.