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

Limit with omitted #79

Merged
merged 2 commits into from
Jul 11, 2018
Merged

Limit with omitted #79

merged 2 commits into from
Jul 11, 2018

Conversation

dany-fu
Copy link
Contributor

@dany-fu dany-fu commented Jul 10, 2018

Issue #53 and #73
Renders 30 glyphs max, the 31st glyph is the omitted glyph

screen shot 2018-07-10 at 18 29 45

@dany-fu dany-fu requested review from jamesamcl and cjmyers July 10, 2018 22:31
@dany-fu dany-fu force-pushed the limit-with-omitted branch from d483b60 to e8c41cb Compare July 10, 2018 22:46
@dany-fu dany-fu closed this Jul 10, 2018
@cjmyers cjmyers reopened this Jul 11, 2018
@cjmyers cjmyers merged commit 1c36e0d into master Jul 11, 2018
@cjmyers
Copy link
Collaborator

cjmyers commented Jul 11, 2018

So, this actually will not work with SynBioHub. SBH does not use browser.js, but goes directly to getDisplayList. The addition of the omitted detail and the pruning of the extra segments should be done in getDisplayList.

@cjmyers
Copy link
Collaborator

cjmyers commented Jul 11, 2018

This does not break anything, so it is fine to be merged, but I will leave this branch open, and a new pull request on this branch can be submitted later, which moves this functionality into getDisplayList.

@dany-fu
Copy link
Contributor Author

dany-fu commented Jul 11, 2018

Here, we are using the code that Zach had committed a while back for limiting, which is to slice the displayList. I closed the pull request after Arezoo raised the issue of how that could impact the interactions that she's currently working on, and it's also not an ideal long term solution if in the future we want to consider something like an expansion or some other way of rendering the rest of the glyphs. I think we should not limit the displayList but make the cut off during the rendering instead

@cjmyers
Copy link
Collaborator

cjmyers commented Jul 11, 2018 via email

This was referenced Jul 11, 2018
@cjmyers cjmyers deleted the limit-with-omitted branch June 13, 2019 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants