You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/04 13:53:00 UTC

[jira] [Commented] (NIFI-6126) Change nf-canvas to respond to keyup events rather than keydown

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

ASF subversion and git services commented on NIFI-6126:
-------------------------------------------------------

Commit cb4fdc2ae1823e44579917997973b65ffd8af0d6 in nifi's branch refs/heads/master from Rob Fellows
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=cb4fdc2 ]

NIFI-6126 - throttle requests to refresh the canvas to prevent too many server requests when holding down CTRL-R

* Added lodash utility library to leverage its throttle capability (and many other useful functions in the future).
* Made lodash available in all JSP's so it could be imported into nf-common (or any component for that matter).
* Added a throttle function to nf-common that just wraps _.throttle

This closes #3393


> Change nf-canvas to respond to keyup events rather than keydown
> ---------------------------------------------------------------
>
>                 Key: NIFI-6126
>                 URL: https://issues.apache.org/jira/browse/NIFI-6126
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 1.9.0
>            Reporter: Robert Fellows
>            Assignee: Robert Fellows
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> nf-canvas responds to keydown events currently. This allows for a scenario where the user can hold down CTRL + R and continuously refresh the canvas, sending many requests to the server and potentially cause a Denial of Service.
> It really should be listening for keyup instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)