-
Notifications
You must be signed in to change notification settings - Fork 197
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
Direct links to Page Notes not working #129
Comments
robertknight
added a commit
that referenced
this issue
Sep 26, 2016
The FrameSync service introduced in 55093eb emitted an ANNOTATIONS_SYNCED event which unintentionally had a different type for the `tags` argument than the previous code (`string[]`, instead of `Array<{tag:string}>`) This commit updates the code in WidgetController to expect `tags` to be of type `string[]`. Fixes #129
The problem in master extends beyond this. Scroll to and focusing direct-linked annotations is also broken. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
http://localhost:5000/docs/help
http://localhost:5000/docs/help#annotations:<ID>
Expected behaviour
The client should select and display the Page Note
Actual behaviour
The client indicates that there is a selection but the button reads "Show all annotations" instead of "Show all notes" and does not display the page note
Notes
This broke after #116
Selecting the tab containing a direct-linked annotation currently happens when the annotation is anchored (in response to the ANNOTATIONS_SYNCED) event. Page Notes do not get anchored. We could actually select the appropriate tab at the point where the annotation is loaded into the app instead - although we may later need to change that selection if an annotation becomes an orphan.
The text was updated successfully, but these errors were encountered: