Commit Graph

70 Commits

Author SHA1 Message Date
Scott Aslan 969b332fb0
[NIFI-13245] address component name overflow in provenance details di… (#8845)
* [NIFI-13245] address component name overflow in provenance details dialog

* address content tab column spacing

* use padding appropriately to ensure no overflow text

* restore vertical spacing

This closes #8845
2024-05-23 13:34:30 -04:00
Scott Aslan 62d5502bba
[NIFI-13207] page headers and refresh containers are consistently pos… (#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 #8804
2024-05-23 13:19:03 -04:00
Rob Fellows 7951b4be80
[NIFI-13247] - Property Verification (#8857)
* [NIFI-13247] - Property Verification
* Added map-table providing a property-table-like component for simple key/value pairs.

* add missing license headers

* address review feedback

* update to leverage themed code-mirror styles

This closes #8857
2024-05-22 14:49:28 -04:00
Matt Gilman a971f94015
NIFI-13278: (#8862)
- Ensure 3rdpartylicenses.txt is included in resulting build artifact.
2024-05-22 12:28:14 -04:00
Scott Aslan a963c2ce45
[NIFI-13276] improve property editor to handle large amounts of text (#8866)
This closes #8866
2024-05-22 11:08:48 -04:00
Scott Aslan ac023db555
[NIFI-13280] hide flash of textarea when opening nf-editor (#8865)
This closes #8865
2024-05-22 11:07:40 -04:00
Scott Aslan 3467f6d1d5
[NIFI-13257] codemirror light and dark mode theme (#8855)
* [NIFI-13257] codemirror light and dark mode theme

* update non matching parameter or EL function a red color to signify it is not matching

This closes #8855
2024-05-22 07:45:10 -04:00
Rob Fellows f625d4c6c1
[NIFI-13277] - Make the main menu more compact in terms of spacing. (#8861)
This closes #8861
2024-05-21 15:15:28 -04:00
David Handermann 2a4d1de6c1
NIFI-13275 Removed web.xml from nifi-web-frontend (#8858)
This closes #8858
2024-05-21 13:42:21 -04:00
Matt Gilman 3a78575b9a
NIFI-12968: Simplify login sequence (#8843)
* NIFI-12968:
- Remove usage of Access-Token-Expiration
- No longer attempt SPNEGO auth
- Leverage authentication configuration to drive log in/out URIs
- Remove Login/Logout servlet filters
- Remove usage of access configuration and access status
- Fixing broken unit tests

* NIFI-12968:
- Only rendering the user identity when the user is not anonymous.
- Fixing an issue where the fallback route would render when redirecting the user to an external SSO log in.
- Using the login supported flag to render the log in link.

* NIFI-12968:
- Addressing review feedback.

This closes #8843
2024-05-21 08:42:19 -04:00
Scott Aslan 093393a4ab
[NIFI-13260] enforce selected border even when component has color applied (#8846)
This closes #8846
2024-05-18 09:01:25 -04:00
Rob Fellows 60112f242c
[NIFI-13226] - Support changing color of processors and labels (#8836)
* [NIFI-13226] - Support changing color of processors and labels

* style the processor icon for better support cross-themes

This closes #8836
2024-05-16 17:38:15 -04:00
Rob Fellows 439851fa6e
[NIFI-13233] - Fix for overflow issues on change version dialog (#8837)
* [NIFI-13233] - Fix for overflow issues on change version dialog

* adjust sizing/spacing between columns per feedback

* remove unnecessary overflow-hidden classes

This closes #8837
2024-05-16 13:43:54 -04:00
Rob Fellows 0ef121493a
[NIFI-13241] - extend CloseOnEscpaeDialog in dialogs previously missing it (#8833)
* [NIFI-13241] - extend CloseOnEscpaeDialog in dialogs previously missing it

* extend CloseOnEscapeDialog in a few more instances

This closes #8833
2024-05-15 14:38:33 -04:00
Rob Fellows c794943c5b
[NIFI-13243] - support cancel response in CloseOnEscapeDialog (#8838)
This closes #8838
2024-05-15 14:37:41 -04:00
Rob Fellows 63a12b06b5
[NIFI-13197] - Clicking outside of a dialog no longer closes the dialog (#8811)
* [NIFI-13197] - Clicking outside of a dialog no longer closes the dialog. Also, escape will only close the dialog if the underlying form is not dirty.

* add license header

* allow ESC to close even if the for is dirty

This closes #8811
2024-05-14 18:24:33 -04:00
Rob Fellows d20fa9417d
[NIFI-13229] - Include branch when submitting to save version control endpoint. (#8830) 2024-05-14 13:11:21 -04:00
Rob Fellows 7aaa5b4224
[NIFI-13221] - display supported shortcut/hotkey combos in context menu (#8821)
This closes #8821
2024-05-14 09:59:14 -04:00
Rob Fellows 13e281d8d7
NIFI-13220 Only allow buckets with write access dropdown when starting version control
This closes #8820

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-13 10:54:59 -05:00
Rob Fellows 0c9ef91507
NIFI-13127 Add branching support to Registry dialogs
This closes #8817

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-13 08:48:40 -05:00
Scott Aslan 74731b5a59
[NIFI-13212] handle canvas overflow on shorter screens (#8810)
* [NIFI-13212] handle canvas overflow on shorter screens

* add z-index to drag/drop new canvas items

This closes #8810
2024-05-10 17:49:46 -04:00
Scott Aslan 94a968766f
[NIFI-13153] use ellipsis for long component names in dialogs (#8802)
* [NIFI-13153] use ellipsis for long component names in dialogs

* use basis-1/2

* overflow-hidden

* remove basis-1/2 and use w-1/2 with padding

This closes #8802
2024-05-10 13:40:43 -04:00
Scott Aslan 6b48e61295
[NIFI-13177] ensure consistent typography rendering (#8786)
* [NIFI-13177] ensure consistent rendering of component type, name, and icon

* ensure font-size consistency with .refresh-container and .mat-mdc-paginator

* attempt at unifying how component context is displayed (#6)

* use drop icon by default

* final touches

---------

Co-authored-by: Rob Fellows <rob.fellows@gmail.com>

This closes #8786
2024-05-10 11:58:52 -04:00
Matt Gilman dcf66fd105
NIFI-13204: (#8798)
- Adding the Enable/Disable All Controller Service context menu items.

This closes #8798
2024-05-10 09:55:39 -04:00
Joseph Witt d1a9043167
NIFI-13193 Set Minimum Maven Version to 3.9.6
- Upgraded Maven plugins
- Upgraded SpotBugs from 4.7.3.5 to 4.8.5.0
- Upgraded asciidoctor-maven-plugin from 2.2.4 to 3.0.0
- Upgraded license-maven-plugin from 2.2.0 to 2.4.0
- Upgraded download-maven-plugin from 1.7.1 to 1.9.0
- Upgraded maven-clean-plugin from 3.3.1 to 3.3.2
- Upgraded frontend-maven-plugin from 1.14.2 to 1.15.0
- Upgraded hisrc-higherjaxb40-maven-plugin from 2.1.1 to 2.2.0
- Upgraded jacoco-maven-plugin from 0.8.11 to 0.8.12
- Upgraded swagger-maven-plugin-jakarta from 2.2.20 to 2.2.21
- Upgraded swagger-codegen-maven-plugin from 3.0.52 to 3.0.55

This closes #8797

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-10 08:05:14 -05:00
Matt Gilman 8b2e770ebd
NIFI-13060: Using ellipsis and normal line height in the property table (#8792)
* NIFI-13060:
- Using ellipsis and normal line height in the property table.

* NIFI-13060:
- Setting title attribute.

This closes #8792
2024-05-09 18:20:48 -04:00
Matt Gilman 326df914bc
NIFI-13175: Updating dialog layout and sizes to prevent a double scroll bar on smaller screen sizes (#8779)
* NIFI-13175:
- Updating dialog layout and sizes to prevent a double scroll bar on smaller screen sizes. Now the dialog content is set to 50vh and content scrolls as needed.

* NIFI-13175:
- Removing some unneeded padding.

* NIFI-13175:
- Fixing double scroll bar issues in non tabbed dialogs.

* NIFI-13175:
- Fixing double scroll bar issues in more non tabbed dialogs.

* NIFI-13175:
- Renaming dialog content style in status history to avoid conflicting with new general style.

This closes #8779
2024-05-09 14:41:06 -04:00
Scott Aslan 4c68691faf
[NIFI-13061] replace actions with menu (#8766)
* [NIFI-13061] replace actions with menu

* Manage Access Policies for all menus

* short Go To menu option text

* align text formatting for menus

* View Clustered Details

* View User Policies menu now uses Manage Access Policies

* hide menu when action clicked

* Manage User Policies

This closes #8766
2024-05-09 08:20:25 -04:00
Scott Aslan a61bf2afc2
[NIFI-13183] add drop shadow to connections to increase visibility on… (#8778)
* [NIFI-13183] add drop shadow to connections to increase visibility on top of colored labels in both light and dark mode

* review feedback

This closes #8778
2024-05-09 08:19:16 -04:00
Rob Fellows a840c14c84
[NIFI-13158] - Fix: need to prevent/diable keyboard hotkeys when a dialog is open or when typeing in the search bar. (#8781)
This closes #8781
2024-05-08 18:45:23 -04:00
Matt Gilman 63cc1c3af6
NIFI-13176: (#8780)
- Relaxing the scale that triggers when details for components on the canvas are not rendered.

This closes #8780
2024-05-08 18:27:02 -04:00
Scott Aslan 6950290c24
[NIFI-13162] horizontal and vertical canvas component alignment (#8762)
* [NIFI-13162] horizontal and vertical canvas component alignment

* review feedback

* rename to updatePositionRequestId

* use enum

* use the appropriate generic type and separate components and connections updates

* use enum

This closes #8762
2024-05-08 15:07:42 -04:00
Scott Aslan fc8f072e0a
[NIFI-13165] hide resize handle is status history when insufficient h… (#8768)
* [NIFI-13165] hide resize handle is status history when insufficient history

* hide last updated/refresh button when insufficient history

* Update nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/status-history/status-history.component.html

Co-authored-by: Rob Fellows <rob.fellows@gmail.com>

---------

Co-authored-by: Rob Fellows <rob.fellows@gmail.com>

This closes #8768
2024-05-08 14:08:22 -04:00
Scott Aslan 43aca6597e
[NIFI-13117] update label resize handle to match other resize handles and replace comments indicator with icon (#8774)
This closes #8774
2024-05-08 11:51:41 -04:00
Rob Fellows 0f39428209
[NIFI-13158] support for keyboard shortcuts (#8770)
* removed aliasing of 'this' from canvas.component.ts
* removed aliasing of 'this' from canvas-utils.ts
* reuse common actions between operation and context menu

This closes #8770
2024-05-08 11:33:53 -04:00
Scott Aslan 45098ed859
[NIFI-13174] increase drag/drop preview hieght to not display scroll bar (#8769)
This closes #8769
2024-05-08 10:46:10 -04:00
Matt Gilman eda98121ce
NIFI-13155: (#8771)
- Handling newer revisions in flow reducer to ensure that the appropriate version of the component is saved in case responses are received out of order.

This closes #8771
2024-05-08 09:57:58 -04:00
Matt Gilman 4bbe08fb55
NIFI-13164: (#8760)
- Moving from jsdom to happy dom for test environment execution.
- Removing test for the Documentation component that was failing because it was attempting to load an iframe with the nifi documentation that wasn't available.

This closes #8760
2024-05-07 11:33:58 -04:00
exceptionfactory 6b8c19c761
NIFI-13160 Support Skipping Frontend Unit Tests
This closes #8757

- Added frontend.skipTests property to nifi-web-frontend Maven configuration with default value of false
- Configured lint and unit-test execution goals to depend on frontend.skipTests
- Added paths-filter GitHub Actions step for conditional enabling of frontend tests

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-06 16:26:55 -07:00
Scott Aslan b87e9c8d9d
[NIFI-13142] configure typography (#8745)
* [NIFI-13142] configure typography

* remove Roboto Slab

* adjust letter spacing

* one font

* material theme

* update purple theme font to Comic Sans

* material theme

* align primary node indicator

This closes #8745
2024-05-06 16:47:32 -04:00
Matt Gilman e7facda912
NIFI-13141: (#8752) - Adding a dragging flag to not reset positioning for labels and connection bends if the user is currently performing an action.
This closes #8752
2024-05-06 16:15:15 -04:00
Matt Gilman b0ace45b55
NIFI-13147
Remove include-new-ui profile and include it by default always.
This closes #8749.

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-06 09:53:52 -07:00
Rob Fellows d5bfec7d7f
[NIFI-12802] - Update to use node 22 (#8744)
This closes #8744
2024-05-04 11:15:10 -04:00
Matt Gilman ab5025c652
NIFI-13140: (#8743)
- Cleaning up error handling in guards.

This closes #8743
2024-05-03 18:09:55 -04:00
Scott Aslan 3192bc85ef
[NIFI-13132] show banner error in import flow dialog when registry is… (#8737)
* [NIFI-13132] show banner error in import flow dialog when registry is configured but unreachable

* address review comments

This closes #8737
2024-05-03 16:31:43 -04:00
Scott Aslan 9ddf8ffdd0
[NIFI-13130] disabled autofocus for dialog with no form fields to prevent dialog from being focused on page refresh (#8742)
This closes #8742
2024-05-03 16:27:30 -04:00
Scott Aslan 0672bf3954
[NIFI-13091] only show selected relationships in read only connection details dialog (#8741)
This closes #8741
2024-05-03 15:56:19 -04:00
Scott Aslan b946465709
[NIFI-12903] style updates for drag/drop UX (#8729)
* [NIFI-12903] style updates for drag/drop UX

* restore nf-editor styles

* remove padding from new canvas items

* remove unused disabled

* no value set UX

* restore initial disabled state

This closes #8729
2024-05-03 15:50:36 -04:00
Matt Gilman 914e2b1057
NIFI-13136: Allowing users to unset optional property values (#8734)
* NIFI-13136:
- Allowing users to unset optional property values.
- Only selecting value and applying focus if it is not read only.

* NIFI-13136:
- Addressing review feedback.
- Adding styles to disabled editor input.
- Fixing show hint/autocomplete in production build.

This closes #8734
2024-05-03 15:18:27 -04:00
Rob Fellows 37937ffa15
[NIFI-13129] - Fix: selected prioritizer order is not honored when displayed in the UI (#8736)
This closes #8736
2024-05-03 14:09:20 -04:00