About annotationChangeEvent args:action

WebViewer Version:
10.1.0
Do you have an issue with a specific file(s)?
No.
Can you reproduce using one of our samples or online demos?
No. (because annotation change event)
Are you using the WebViewer server?
No.
Does the issue only happen on certain browsers?
No.
Is your issue related to a front-end framework?
No.
Is your issue related to annotations?
No.

Please give a brief summary of your issue:
(Think of this as an email subject)

AnnotationChanged event args action is depends on how the comment is entered.

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

When commenting on a different user’s annotation for the first time.
case 1.
Enter a comment from the note on the right panel.
image

At this time, annotationChange event args action is “add”.
image

case 2.
Enter a comment from the right panel footer.
image

At this time, annotationChange event args action is “modify”.
image

I think “add” is correct in this case.

Please provide a link to a minimal sample where the issue is reproducible:

Best regards.

1 Like

Hello,

Thanks for reporting this issue!

It seems if you did not have contents/comments in the original annotation, instead of adding a reply, WebViewer will update the content in the original annotation instead. Thus, you get a modify event instead as the original annotation was updated, and no reply was added. Afterward, replies are added since there is content in the original annotation.

That behavior might be intended, but what is unintended is another user updating the content of another user. Since the original annotation owner is another user, a reply should have been used here.

We don’t currently have this on our roadmap but, we will add it to the backlog for our product team to review for feasibility and viability.

We don’t have a timeline for when it will be fixed but if it does get fixed we’ll let you know when it’s available in an experimental build to test out and the estimated official release date. If you have a desired timeline for having this issue fixed please let us know, and we’ll do our best to work with you on how this can fit into the release schedule.

Sorry for the inconvenience!

1 Like

Hello,

Thank you for reply.
What I think is strange is the comment input in the footer.
Also, FreeText action is “add”.

I would appreciate it if you could fix it as soon as possible.

Thanks!
Best Regards.

1 Like

I just wanted to give you a heads-up that the issue should be resolved now and should be clear. You will need to update to WebViewer 10.3.

Please give it a try and let us know if there are any issues with it!

2 Likes