Skip to content

NIFI-15927 improvements to connector property group card#11237

Open
scottyaslan wants to merge 4 commits into
apache:mainfrom
scottyaslan:NIFI-15927
Open

NIFI-15927 improvements to connector property group card#11237
scottyaslan wants to merge 4 commits into
apache:mainfrom
scottyaslan:NIFI-15927

Conversation

@scottyaslan
Copy link
Copy Markdown
Contributor

Summary

Screenshot 2026-05-11 at 5 43 28 PM Screenshot 2026-05-11 at 5 43 51 PM

NIFI-15927

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000
  • Pull request contains commits signed with a registered key indicating Verified status

Pull Request Formatting

  • Pull Request based on current revision of the main branch
  • Pull Request refers to a feature branch with one commit containing changes

Verification

Please indicate the verification steps performed prior to pull request creation.

Build

  • Build completed using ./mvnw clean install -P contrib-check
    • JDK 21
    • JDK 25

Licensing

  • New dependencies are compatible with the Apache License 2.0 according to the License Policy
  • New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

  • Documentation formatting appears as expected in rendered files

@scottyaslan scottyaslan added the ui Pull requests for work relating to the user interface label May 12, 2026
@mcgilman
Copy link
Copy Markdown
Contributor

Reviewing...

Copy link
Copy Markdown
Contributor

@mcgilman mcgilman left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @scottyaslan! Noted a few things below.

Copy link
Copy Markdown
Contributor

@mcgilman mcgilman left a comment

Choose a reason for hiding this comment

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

Thanks for the updates @scottyaslan! Just noted one thing below.

Copy link
Copy Markdown
Contributor

@mcgilman mcgilman left a comment

Choose a reason for hiding this comment

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

Thanks for the updates @scottyaslan! Left a few more comments.

font-weight: 700;
}

.mat-mdc-card-subtitle {
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.

We're removing global styles here. Jolt UI uses <mat-card-subtitle>. Have we verified these changes everywhere?

Copy link
Copy Markdown
Contributor Author

@scottyaslan scottyaslan May 14, 2026

Choose a reason for hiding this comment

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

oops forget those. I have restored the subtitle overrides. We didn't remove global styles we just moved them and updated the way we override them.

Comment on lines +61 to +62
const queryAll = (qa: string) => fixture.debugElement.queryAll(By.css(`[data-qa="${qa}"]`));
const query = (qa: string) => fixture.debugElement.query(By.css(qa));
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.

Make both helpers handle the same kind of argument (e.g., both take a data-qa value, or both take a raw selector). Or maybe rename qa to selector in the query case.

it('should show required asterisk for required properties', async () => {
const { query } = await setup();
const content = query('mat-card-content');
const asterisks = content.queryAll(By.css('.error-color'));
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.

This will overmatch. There are multiple elements with this classname.

Comment on lines +792 to +794
title-text-size: 16px,
title-text-line-height: 20px,
title-text-weight: 600,
Copy link
Copy Markdown
Contributor

@mcgilman mcgilman May 13, 2026

Choose a reason for hiding this comment

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

My comment previously was that in that instance the card title was too big. The change would affect all card titles throughout all applications. Is this appropriate?

Copy link
Copy Markdown
Contributor Author

@scottyaslan scottyaslan May 14, 2026

Choose a reason for hiding this comment

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

I think this is ok. We mainly just reduced the title by 2px and adjusted its line height to 20px. The change I made here is to correctly leverage the angular material mixins to do so. Here is the jolt UI wilth these changes:

Screenshot 2026-05-14 at 12 15 44 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui Pull requests for work relating to the user interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants