Skip to content

Feature/misc fixes#959

Merged
edwardcrichton merged 7 commits into
developfrom
feature/misc-fixes
Nov 12, 2025
Merged

Feature/misc fixes#959
edwardcrichton merged 7 commits into
developfrom
feature/misc-fixes

Conversation

@jamesrwelch

Copy link
Copy Markdown
Contributor
  • Allow profiles to support nested sections
  • Update the styling of profile sections
  • Don't display dates in profiles when they're not set
  • Allow linking to folders
  • Insert html links where the cursor is, rather than at the end of the current HTML node

</mdm-alert>
<table
*ngIf="this.profileData"
*ngIf="this.profileData.sections.length > 0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be

this.profileData && this.profileData.sections.length > 0

?
( I see this.profileData?.sections elsewhere that suggests this.profileData could be undefined or null )


private loadDefaultCustomProfile(properties: ApiProperty[]) {
console.log(properties);
console.log(this.showCanEditPropertyAlertKey);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some debug?

<input
type="checkbox"
style="
width: 20px;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could add to component scss?

type="checkbox"
*ngIf="formOptionsMap[field.dataType] === 'checkbox'"
style="
width: 20px;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. Perhaps it is a more general style?

</div>
<!--Not supported for now-->
<!--<div *ngIf="formData.selectedType == 'Folder'">
<div *ngIf="formData.selectedType == 'Folder'">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pedantic: == versus ===

formData.selectedType === 'Folder'

@edwardcrichton

Copy link
Copy Markdown
Contributor

@jamesrwelch What's the status of this one?

@jamesrwelch

Copy link
Copy Markdown
Contributor Author

I've left the style sheeting issues because a more general tidy-up is required. I've fixed the other issues though, and re-based on Likin's PR which I've already accepted. Ready for re-review

@edwardcrichton edwardcrichton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; let's get that in

@edwardcrichton edwardcrichton merged commit 95a08f1 into develop Nov 12, 2025
9 checks passed
@jamesrwelch jamesrwelch deleted the feature/misc-fixes branch November 12, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants