Open amandavisconti opened 9 years ago
If annotations highlight clicking ever seems broken, verify that there are non-private annotations on that page.
[ ] Currently issue where highlight's annos are sorted to top, but other annos appear in sidebar after them (also ignoring the specification of only showing top two annos per highlight, or at least only showing the related annos).
Changed content=NID filter to "required" = initial view empty, highlight click only sends one annotation even when two tied to a highlight (i.e. whole point of highlighted annos—sending multiple anno NIDs to filter—is broken)
Going to try switching in old clone of annosidebar view. Didn't help, but might try much older version from repo.
Note that everything above may be invalidated by FF/Firebug not clearing cache bug (needed to restart, source code view concurrently broke).
[ ] Switching between forcing fields and just full content leaves fields we want out of full content, so let's try just fields instead so we can place hidden metadata in the collapse section via the tpl.php
This was fixed by removing "sort by post date (ascending)" from the view.
Note another Drupaler discussed the widescreen issue and his hack here: https://www.drupal.org/node/2194419
Probably need to include flag programmatically. Also community tagging field and its resulting tags?
Anno highlights/highlighted annos was broken before switched to fields (going back to full content doesn't fix it). Not a typo in the template (returning to non-collapsible template doesn't fix). Blanking out custom.css doesn't fix either. Possibly switching to fields resulted in different NID form labels on return (breaking highlighted annos hardcode)? Firebug+highlighted annos doesn't look like any IDs got changed by testing fields instead of full content. Going to try deleting view/reimporting (and then check that uses same form IDs). Had been cache flushing, but additionally flushed Views cache specifically. Nope. Firebug looks the same; both live and local are loading all the AnnoJS scripts.
Wow—so somehow the div Annotator is assigned to got messed up (it was on .node-book p), and setting it back to .node-type-book .col-md-12 p brought annotation back.