Display Inline Editor Errors#6916
Conversation
|
@larz0 Can you do UX review? Let me know if you review the strings or if someone else should do that. |
|
@redmunds reviewing now. |
|
We need to use the same initial transition as the quick views, the end transition is great. Could we try 2secs instead of 3? Let's make strings shorter as well; could we try: "Oops, the value is invalid." Maybe @njx has better idea for the strings. |
I started with a 3s duration for displaying message, but someone requested 6s so I bumped it up to the current value of 5s. Should I go back to 3s to see how that feels? |
|
Okay cool let's try that. |
|
@larz0 I implemented the transition on open. But, I did not change the duration message is shown (it's still 5 seconds) because the first time someone sees it they may need more than 3 seconds (that we discussed) between the time it catches their attention and they read it. Instead I implemented the following ways to dismiss message box immediately so people who have seen don't have to wait for it:
Let me know what you think. |
|
@redmunds that's awesome. I found an edge case where if you cmd+e on the same spot again you won't be able to dismiss it via clicking if you've done that the first time. |
|
@larz0 that edge case should be fixed. |
|
It's still the same here after I pulled that in. When I click on the tooltip to dismiss it on the same spot for the second time it won't go away. Not sure if it's just me. |
|
It doesn't actually listen for "click in page" it listens for "selection change" -- I updated description above. So it doesn't dismiss if you click in same exact position -- is that OK? |
|
Yeah I think that's fine. |
|
@larz0 Are you done with the UX review? If not, let me know what issues remain. |
|
@njx Can you do the string review? |
|
Yep I'm done with the UX review. 👍 |
|
@JeffryBooher I merged in the latest master. If you think there's enough work here, then go ahead and create a Kanban card for this. |
|
Ran unit tests and a few scenarios. code looks good. Merging |
Display Inline Editor Errors
This has been implemented using proposal outlined here.
The Quick Docs Feature uses the same mechanism, so it is also supported.
Code handles errors for the CSS, JS, and InlineTimingFunction Inline Editors. Are there any cases that could be handled for the InlineColorEditor? Any other Inline Editors?
TODO: