epam / ai-dial-chat

A default UI for AI DIAL
https://chat.lab.epam.com
Apache License 2.0
44 stars 16 forks source link

[Publication]: Error notifications adjustment #1481

Open YauheniyaH opened 1 month ago

YauheniyaH commented 1 month ago

EPAM AI DIAL chat version

0.12.0

How to reproduce

Case1: Precondition: user has chat01 user create 2 or more publication requests for chat01 ( the same requests, to the same path)

Steps:

  1. admin approve one of the publication requests for chat01
  2. admin click Approve button for another publication request for chat01 ->error message "Publication approving failed." -> bug

Case2: Precondition: user has folder01 with chat01, chat02, chat03 in it user created publish request for the folder admin approve publish request

Steps:

  1. user create another publish request for the folder01 - > error message "Publication failed. Please try again later" -> bug

Case 3 Stesp:

  1. user created chat01
  2. user created publish request for chat into new folder01 inside Organization ( Publish to Organization/folder01/chat01)
  3. user set filter for folder01, which is nit available for himself ( e.g. user is developer, but filter is only for BA)
  4. admin approves the publish request
  5. user create another publish request for any chat to the same folder01 -> error message "Rules uploading failed"
image

Actual result

Error messages do not give explanation why publish requests can not be made

Expected result

Error message should contain meaningful description of the case happen and how it can be avoided of fixed ( if applicable)

Confidential information

YauheniyaH commented 3 weeks ago

Case 4

Steps:

  1. crate folder01 with chat01
  2. create publish request for folder01 with some rules
  3. admin approve publication request
  4. user create unpublish request for folder01
  5. admin approve unpublish request
  6. user create new folder01 with chat01

Actual result: error message appears "Rules uploading failed". It happens because when unpublish folder, then rules applied to this folder are not removed. Also submit request fail with error

Expected result: TBD need to create error message which will be informative for user but not expose folder name or other info about inner storage structure