ijokarumawak commented on issue #3351: NIFI-2933 Remote input/output ports at 
any PG
URL: https://github.com/apache/nifi/pull/3351#issuecomment-477964478
 
 
   Thanks @moranr and @andrewmlim for the UX related feedback. I've started 
incorporating them. Will let you guys know when I finished updating all.
   
   One thing, port name/id duplication have been implemented as 409 (conflict) 
error at the server side, while empty port name error returned with 400 (bad 
request) status code.
   Generally, NiFi UI dialogs close if it receives error other than 400.
   
   There are few options, which one do you think the best??
   1. Change server's return code from 409 to 400 for port duplication. I can 
do this, but not confident enough, because 409 also does make sense in case if 
another port has been added by a different user..
   2. Keeps the port new/config dialog open with empty port name, but close it 
with duplicate error or any other errors than 400. This is the common behavior 
for UI.
   3. Keeps the port new/config dialog open regardless of the status code. This 
can be a weird UX sometimes. For example, when admin revokes the user's 
privilege before user completed the dialog, but the dialog should be closed 
because retrying won't success..

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to