Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[editor] Update the AnnotationStorage.hash-getter to support editing #14993

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

While calling JSON.stringify(...) on a class-instance obviously "works" (as in it doesn't throw), since it's really just an Object, it doesn't really make much sense in the context of the AnnotationStorage.hash-getter.

Also, access the inverse Viewport-transform correctly in FreeTextEditor.serialize to prevent errors being thrown when that method is invoked.

Finally, slightly updates the AnnotationStorage.serializable-getter to improve consistency within the class.

While calling `JSON.stringify(...)` on a class-instance obviously "works" (as in it doesn't throw), since it's really just an Object, it doesn't really make much sense in the context of the `AnnotationStorage.hash`-getter.

Also, access the *inverse* Viewport-transform correctly in `FreeTextEditor.serialize` to prevent errors being thrown when that method is invoked.

Finally, slightly updates the `AnnotationStorage.serializable`-getter to improve consistency within the class.
@Snuffleupagus
Copy link
Collaborator Author

/botio integrationtest

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/6422d6d71795dd9/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/9e1abcc1a53a6a5/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/6422d6d71795dd9/output.txt

Total script time: 4.54 mins

  • Integration Tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/9e1abcc1a53a6a5/output.txt

Total script time: 7.26 mins

  • Integration Tests: Passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants