-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fire events on protein expansion/collapsing #159
Comments
Yes that would be awesome |
there's a way of adding listeners for this now, example in the index.html file. think main problem here might be that we don't have the identifiers you'd like to use (as for #160) |
I've been using your latest changes on my local version and it's really awesome, its solves almost all of our problem (except the identifier one for now, since we didn't modify the web service yet if I'm not mistaken @noedelta is on it). We found a way to not need the isExpanded function based on the getExpandedParticipants and the listeners, so it's perfect like this. I guess it could still be of good use for all users, but it's not urgent or anything. At least from our point of view at IntAct. |
it might be handy, feel free to add it in yourself if you want. But if its not a priority I guess we won't do this now... |
Maybe when we'll have spare dev time (Not any time soon I'm afraid ...) Anyway, the problem itself is solved, so I'll mark this issue as solved 😄 |
It would be great if Complex Viewer could fire events providing information about the protein that is being collapsed or expanded, especially when it happens on user clicks.
This would allow synchronisation between the viewer and exterior elements such as the participant table in intact-portal.
Additionally, it would be great if the complexviewer.App could provide getters to know the status (expanded/collapsed) of all the proteins/participants, or one by one given a protein identifier, like
isExpanded(proteinIdentifier: string) -> boolean
and/orgetExpandedParticipants() -> List<string>
. This would help to resynchronise the table checkboxes when users switch back and forth bettween the different tabs.The text was updated successfully, but these errors were encountered: