opencti icon indicating copy to clipboard operation
opencti copied to clipboard

Edit title within a dashboard is buggy

Open nino-filigran opened this issue 1 year ago • 3 comments

Description

When opening a dashboard an trying to edit its title, if you press enter while editing, then the edit won't happen

Environment

Demo

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Go in a dashboard
  2. Type on edit
  3. Edit the title
  4. press on ENTER
  5. click outside of the drawer

Expected Output

The title is updated

Actual Output

The title is not updated

Additional information

https://github.com/user-attachments/assets/e118caba-ae91-4f4d-a03a-85218433b2c8

Screenshots (optional)

nino-filigran avatar Oct 11 '24 15:10 nino-filigran

Removal of regression label as the "enter" as never work in those field (from my knowledge). We need to discuss avbout that

Kedae avatar Oct 14 '24 11:10 Kedae

Interesting fact: It's working well on Firefox but not on Chrome

SarahBocognano avatar Oct 16 '24 08:10 SarahBocognano

Fix needed for clarity: it needs to be applied to all fields (confidence level, description...) that you can input through your keyboard. Side note: this was not a by default behavior in the platform (at least on Chrome)

nino-filigran avatar Oct 16 '24 10:10 nino-filigran

@nino-filigran not sure to understand how is it a bug? From my knowledge it never has been implemented on any form. Update has always been made when leaving the input, not on pressing enter.

lndrtrbn avatar Dec 10 '24 09:12 lndrtrbn

I get it, but it's still annoying. Is it something difficult to do?

nino-filigran avatar Dec 11 '24 15:12 nino-filigran

Difficult I don't think so. Still a bit of work to make it consistent across all our forms in the platform

lndrtrbn avatar Jan 06 '25 08:01 lndrtrbn

Issue solved on master:

https://github.com/user-attachments/assets/52a83296-3ba1-403d-a2d1-73f19b6c1792

CelineSebe avatar Jul 10 '25 07:07 CelineSebe