[ 
https://issues.apache.org/jira/browse/NIFI-13331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17851072#comment-17851072
 ] 

Matt Gilman edited comment on NIFI-13331 at 5/31/24 1:13 PM:
-------------------------------------------------------------

In the new UI we are using the Angular Material. Their APIs allow the density 
of the table to be configured. We are currently using the densest option.
{noformat}
@include mat.table-density(-4);{noformat}
Material design is definitely less compact than the old NiFi UI. We could 
consider not using their API and instead overriding some of their styles. 
However, that may introduce upgrade challenges down the road as their is no 
guarantee those styles or the generated mark up remains the same from release 
to release. Because we opted to use Material design we probably shouldn't try 
to introduce changes that diverge from it.

Another option we could consider is building a custom table component or 
bringing in a separate dependency for it but each of those options have own 
consequences.


was (Author: mcgilman):
In the new UI we are using the Angular Material. Their APIs allow the density 
of the table to be configured. We are currently using the densest option.
{noformat}
@include mat.table-density(-4);{noformat}
Material design is definitely less compact than the old NiFi UI. We could 
consider not using their API and instead overriding some of their styles. 
However, that may introduce upgrade challenges down the road as their is no 
guarantee those styles or the generated mark up remains the same from release 
to release. We could also consider building a custom table component or 
bringing in a separate dependency for it but that what would be a big effort.

> Make tables more compact
> ------------------------
>
>                 Key: NIFI-13331
>                 URL: https://issues.apache.org/jira/browse/NIFI-13331
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Core UI
>            Reporter: Matt Gilman
>            Priority: Major
>
> The rows in the tables in the old UI were more compact than the new UI. We 
> should consider options for making the tables in the new UI more dense.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to