Skip to content

Commit

Permalink
Merge pull request #323 from ConsumerDataStandardsAustralia/defect/309
Browse files Browse the repository at this point in the history
Property names wrapping to two lines
  • Loading branch information
JamesMBligh authored Oct 9, 2023
2 parents d2fa8ab + e70d497 commit 4fa91fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions slate/source/includes/_admin.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ This provides an overview of CDS Administration Endpoints. Please note this API
</table>

```diff
Changed to a non-breaking space between the indent chevron and property name in all schema Properties tables to prevent line wrapping

Resolved documentation rendering bug causing incorrect indent level to be displayed for some properties

Added statement to clarify that aggregate performance metrics exclude Secondary Data Holder performance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ This release addresses the following minor defects raised on [Standards Staging]
- [Staging Issue 306 - Body parameter for JWT POST + PUT not displayed](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/306)
- [Staging Issue 307 - Incorrect non-normative example](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/307)
- [Staging Issue 308 - Fix link to FAPI section reference](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/308)
- [Staging Issue 309 - Property names wrapping to two lines](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/309)

This release addresses the following change requests raised on [Standards Maintenance](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues):

Expand Down Expand Up @@ -59,6 +60,7 @@ This release addresses the following Decision Proposals published on [Standards]

|Change|Description|Link|
|------|-----------|----|
| Property names wrapping to two lines | **[Standards Staging #309](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/309):** Changed to a non-breaking space between the indent chevron and property name in all schema Properties tables to prevent line wrapping | All schema Properties tables |
| Incorrect levelling of largeSecondary object | **[Standards Staging #196](https://github.com/ConsumerDataStandardsAustralia/standards-staging/issues/196):** Resolved documentation rendering bug causing incorrect indent level to be displayed for some properties | Multiple sections, including [Get Metrics](../../#get-metrics) |
| Corrected typos | **[Standards Maintenance #599](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/599):** Corrected descriptions mentioning electricity in the EnergyInvoiceGasUsageCharges schema. Addresses [this issue comment](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/599#issuecomment-1678450294) | [Energy APIs](../../#energy-apis) |
| Corrected requirement | **[Standards Maintenance #599](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/599):** Corrected the requirement for the authorisations property of Get Metrics v4 and v5 to be mandatory. Addresses [this issue comment](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/599#issuecomment-1691010927) | [Admin APIs](../../#admin-apis) |
Expand Down
2 changes: 1 addition & 1 deletion swagger-gen/widdershins-cdr/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ function schemaToArray(schema,offset,options,data) {
}
if ((skipDepth >= 0) && (entry.depth >= skipDepth)) entry.name = ''; // reset
if (entry.depth < skipDepth) skipDepth = -1;
entry.displayName = (data.translations.indent.repeat(entry.depth)+' '+entry.name).trim();
entry.displayName = (data.translations.indent.repeat(entry.depth) + String.fromCharCode(160) + entry.name).trim();

if ((!state.top || entry.type !== 'object') && (entry.name)) {
block.rows.push(entry);
Expand Down

0 comments on commit 4fa91fa

Please sign in to comment.