-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NIFI-13207] page headers and refresh containers are consistently pos… #8804
Conversation
Reviewing... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
There was a problem hiding this 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! Left a few notes below.
...rc/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.html
Show resolved
Hide resolved
...nce/ui/provenance-event-listing/provenance-event-table/provenance-event-table.component.html
Show resolved
Hide resolved
...-frontend/src/main/nifi/src/app/pages/access-policies/feature/access-policies.component.html
Outdated
Show resolved
Hide resolved
d24c7f1
to
fbbdf83
Compare
@mcgilman a good way to quickly see these changes is to use the browser back/forward navigation between the pages. The changes at the top of the page are particularly noticeable in that they are more consistent with the spacing: A more tedious check would be to go through each page and verify all the padding/spacing and see that there is no longer overlapping elements nor any need for negative margins etc. Feel free to use both approaches. |
There was a problem hiding this 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! I've noted a few items below.
.../pages/access-policies/ui/component-access-policies/component-access-policies.component.html
Outdated
Show resolved
Hide resolved
...-web-frontend/src/main/nifi/src/app/ui/common/component-state/component-state.component.html
Outdated
Show resolved
Hide resolved
...b/nifi-web-frontend/src/main/nifi/src/app/ui/common/error-banner/error-banner.component.html
Outdated
Show resolved
Hide resolved
.../nifi/src/app/pages/cluster/ui/common/cluster-table-filter/cluster-table-filter.component.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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! Looks good... just noted a few minor things below.
.../pages/access-policies/ui/component-access-policies/component-access-policies.component.html
Outdated
Show resolved
Hide resolved
...app/pages/bulletins/ui/bulletin-board/bulletin-board-list/bulletin-board-list.component.html
Outdated
Show resolved
Hide resolved
...tory/ui/flow-configuration-history-listing/flow-configuration-history-listing.component.html
Outdated
Show resolved
Hide resolved
@@ -35,7 +35,7 @@ <h3 class="primary-color">NiFi Settings</h3> | |||
} | |||
</nav> | |||
</div> | |||
<div class="pt-4 flex-1"> | |||
<div class="pt-5 flex-1"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks ok for the General tab but appears to be too much padding for tabs that include tables.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually consistent for all pages with tabs. Each of them receive 1.25rem
of padding before the first form element is displayed. For cases like the General tab here or the Summary tables this padding seems comfortable:
But for the Management Controller Services, Reporting Tasks, Flow Analysis Rules, Registry Clients, and Parameter Providers tabs at appears there is more space:
but really this is an optical illusion. If we look more closely we can see that the "Create" mat-icon button on the top right of the tables in each of these views is directly beneath the padding of the tabs:
I am happy to discuss options here...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...ifi/src/app/pages/cluster/ui/common/cluster-table-filter/cluster-table-filter.component.html
Outdated
Show resolved
Hide resolved
60920e6
to
45e5963
Compare
…itioned between pages
…ing/spacing accordingly
There was a problem hiding this 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!
apache#8804) * [NIFI-13207] page headers and refresh containers are consistently positioned between pages * pad error banner * display hint below form fields to follow material spec, updating padding/spacing accordingly * revert access policies template * remove unused MatHint * access policy status as hint and center align hints * use margin bottom on error banner and more spacing improvements * update hint spacing in a few more use cases * remove extra padding from bottom of nifi cluster table filter component * collapse hint height when no text to display * update padding for input form field placeholder padding * use margins instead of padding * final touches This closes apache#8804
apache#8804) * [NIFI-13207] page headers and refresh containers are consistently positioned between pages * pad error banner * display hint below form fields to follow material spec, updating padding/spacing accordingly * revert access policies template * remove unused MatHint * access policy status as hint and center align hints * use margin bottom on error banner and more spacing improvements * update hint spacing in a few more use cases * remove extra padding from bottom of nifi cluster table filter component * collapse hint height when no text to display * update padding for input form field placeholder padding * use margins instead of padding * final touches This closes apache#8804
…itioned between pages