Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jembi/openhim-console
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.18.2
Choose a base ref
...
head repository: jembi/openhim-console
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 5 commits
  • 3 files changed
  • 4 contributors

Commits on Sep 13, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    4d8b3f6 View commit details
  2. Update version

    arran-standish committed Sep 13, 2023
    Copy the full SHA
    ef1a347 View commit details

Commits on Sep 15, 2023

  1. Merge pull request #617 from jembi/TB-173-show-transaction-error-with…

    …-no-response
    
    TB-173 show transaction error with no response
    arran-standish authored Sep 15, 2023
    Copy the full SHA
    b403f98 View commit details

Commits on Apr 24, 2024

  1. Allow for beautification of custom json header

    Allow requests which contain custom application header for json to be parsed and displayed in a nice format
    This assist for cases for example, FHIR data "application/fhir+json".
    BMartinos committed Apr 24, 2024
    Copy the full SHA
    e7e76ad View commit details

Commits on Sep 20, 2024

  1. Merge pull request #627 from jembi/feat/format-custom-json-content

    Allow for beautification of custom json header
    drizzentic authored Sep 20, 2024
    Copy the full SHA
    75c1981 View commit details
Showing with 7 additions and 2 deletions.
  1. +5 −0 app/scripts/utils/utils.js
  2. +1 −1 app/views/transactionDetails.html
  3. +1 −1 package.json
5 changes: 5 additions & 0 deletions app/scripts/utils/utils.js
Original file line number Diff line number Diff line change
@@ -60,6 +60,11 @@ export function beautifyIndent (type, content) {
if (/.*application\/\w+\+xml.*/.test(type)) {
return { lang: 'xml', content: pd.xml(content, 2) }
}

// application/{word characters}+json.
if (/application\/\w+\+json/.test(type)) {
return { lang: 'json', content: pd.json(content, 2) }
}
} catch (err) {
console.log(err)
return { lang: '', content }
2 changes: 1 addition & 1 deletion app/views/transactionDetails.html
Original file line number Diff line number Diff line change
@@ -152,7 +152,7 @@ <h4>Request body</h4>
</div>

<!-- Response, right -->
<div class="col-md-6" ng-if="transactionDetails.response">
<div class="col-md-6" ng-if="transactionDetails.response || transactionDetails.error">
<div class="panel panel-default sml-margin transaction-req-res-height">
<div class="panel-heading">
<h3 class="panel-title">Response</h3>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "openhim-console",
"description": "This application provides a web application to configure and manage the OpenHIM-core component.",
"version": "1.18.2",
"version": "1.18.3",
"dependencies": {
"http-server": "^14.1.1",
"keycloak-js": "^20.0.3",