Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/DALA-5170_data_unavailable_statu…
Browse files Browse the repository at this point in the history
…s_as_status_for_data_requests' into DALA-5170_data_unavailable_status_as_status_for_data_requests
  • Loading branch information
hessad committed Nov 28, 2024
2 parents b4bbdf2 + 305b4c1 commit 891b4c2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class TypedEmailContentTest {
assertThat(emailContent.textContent).contains(keyword)
}
assertFalse(htmlTagPattern.containsMatchIn(emailContent.textContent))
saveEmailContent(typedEmailContent::class.simpleName ?: UUID.randomUUID().toString(), emailContent, skip = false)
saveEmailContent(typedEmailContent::class.simpleName ?: UUID.randomUUID().toString(), emailContent, skip = true)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div v-show="isStatusHistoryVisible">
<div>
<DataTable :value="statusHistory" data-test="statusHistoryTable">
<Column field="creationTimeStamp" header="Creation Timestamp" style="width: 33%"
<Column field="creationTimeStamp" header="Creation Timestamp" style="width: 28%"
><template #body="slotProps">
<span data-test="creationTimestampEntry">
{{ convertUnixTimeInMsToDateString(slotProps.data.creationTimestamp) }}
Expand Down Expand Up @@ -50,7 +50,13 @@
<Column field="reasonNonSourceable" header="Comment" style="width: 45%"
><template #body="slotProps"
><div style="display: inline-flex" data-test="reasonNonSourceableEntry">
{{ slotProps.data.requestStatusChangeReason }}
{{
getRequestStatusChangeReason(
slotProps.data.companyId,
slotProps.data.reportingPeriod,
slotProps.data.dataType
)
}}
</div></template
>
</Column>
Expand Down Expand Up @@ -93,6 +99,17 @@ export default defineComponent({
toggleViewStatusHistory() {
this.isStatusHistoryVisible = !this.isStatusHistoryVisible;
},
/**
* get the requestStatusChangeReason form data table in Backend
* @param companyId companyId for search triple
* @param reportingPeriod for search triple
* @param dataType for search triple
*/
getRequestStatusChangeReason(companyId: String, reportingPeriod: String, dataType: String): String {
var requestStatusChangeReason = '';
// get Change reason from entry in backend table (which one?)
return requestStatusChangeReason;
},
},
});
</script>

0 comments on commit 891b4c2

Please sign in to comment.